From 441189c6f879801837594d0afae78664131e3f9b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 16 May 2006 14:42:15 +0000 Subject: [PATCH] Kill off the "all devices are boot devices" idea --- src/include/dev.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/dev.h b/src/include/dev.h index 535181aa..6edfc63f 100644 --- a/src/include/dev.h +++ b/src/include/dev.h @@ -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