don't create unnecessary dependency on disk boot stuff
authorespenlaub <espenlaub>
Fri, 29 Sep 2006 13:14:01 +0000 (13:14 +0000)
committerespenlaub <espenlaub>
Fri, 29 Sep 2006 13:14:01 +0000 (13:14 +0000)
src/core/main.c

index e8597c7..3dcf028 100644 (file)
@@ -189,8 +189,10 @@ static struct class_operations {
 }
 operations[] = {
        { &nic.dev,  eth_probe,  eth_load_configuration,  eth_load  },
+#if ((BOOT_FIRST == BOOT_DISK) || (BOOT_FIRST == BOOT_FLOPPY) || (BOOT_SECOND == BOOT_DISK) || (BOOT_SECOND == BOOT_FLOPPY) || (BOOT_THIRD == BOOT_DISK) || (BOOT_THIRD == BOOT_FLOPPY))
        { &disk.dev, disk_probe, disk_load_configuration, disk_load },
        { &disk.dev, disk_probe, disk_load_configuration, disk_load },
+#endif
 };