Kill off the "all devices are boot devices" idea
authorMichael Brown <mcb30@etherboot.org>
Tue, 16 May 2006 14:42:15 +0000 (14:42 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 16 May 2006 14:42:15 +0000 (14:42 +0000)
src/include/dev.h

index 535181a..6edfc63 100644 (file)
@@ -200,6 +200,7 @@ struct device_driver {
 
 #define __device_driver __table ( device_driver, 01 )
 
+#if 0
 #define DRIVER(_name,_type_driver,_bus_driver,_bus_info,                     \
               _probe,_disable)                                               \
        struct device_driver device_ ## _bus_info __device_driver = {  \
@@ -210,6 +211,9 @@ struct device_driver {
                .probe = ( int (*) () ) _probe,                               \
                .disable = ( void (*) () ) _disable,                          \
        };
+#endif
+
+#define DRIVER(a,b,c,d,e,f)
 
 /*
  * A bootable device, comprising a physical device on a bus, a driver