Browse Source

Kill off the "all devices are boot devices" idea

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
441189c6f8
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/include/dev.h

+ 4
- 0
src/include/dev.h View File

@@ -200,6 +200,7 @@ struct device_driver {
200 200
 
201 201
 #define __device_driver __table ( device_driver, 01 )
202 202
 
203
+#if 0
203 204
 #define DRIVER(_name,_type_driver,_bus_driver,_bus_info,	 	      \
204 205
 	       _probe,_disable) 		 			      \
205 206
 	struct device_driver device_ ## _bus_info __device_driver = {  \
@@ -210,6 +211,9 @@ struct device_driver {
210 211
 		.probe = ( int (*) () ) _probe,				      \
211 212
 		.disable = ( void (*) () ) _disable,			      \
212 213
 	};
214
+#endif
215
+
216
+#define DRIVER(a,b,c,d,e,f)
213 217
 
214 218
 /*
215 219
  * A bootable device, comprising a physical device on a bus, a driver

Loading…
Cancel
Save