diff options
author | Marvin Borner | 2021-07-05 16:48:07 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-05 16:51:23 +0200 |
commit | 46ce42e9b13ce209c8c971084cfc849a83848270 (patch) | |
tree | a85283f85c970bb26df6690a4ba08b017f1d4e25 /src/loader/ide.c | |
parent | 981342ef807ebcefba8eeba74511cdcedf9c36bd (diff) |
Added PCI, MBR, bugs and fixes
Diffstat (limited to 'src/loader/ide.c')
-rw-r--r-- | src/loader/ide.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/loader/ide.c b/src/loader/ide.c index 5cd67c7..c5461d0 100644 --- a/src/loader/ide.c +++ b/src/loader/ide.c @@ -111,6 +111,8 @@ static void ata_probe(void) char name[4] = { 0 }; strlcpy(name, "hd", sizeof(name)); name[2] = 'a' + i; + + // Register without write support dev_register(DEV_DISK, name, data, ata_read, NULL); } } |