From 46ce42e9b13ce209c8c971084cfc849a83848270 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 5 Jul 2021 16:48:07 +0200 Subject: Added PCI, MBR, bugs and fixes --- src/loader/ide.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/loader/ide.c') 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); } } -- cgit v1.2.3