summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2006-05-16 16:42:15 +0200
committerMichael Brown2006-05-16 16:42:15 +0200
commit441189c6f879801837594d0afae78664131e3f9b (patch)
treee5b85a691a425c343078653730b5ddb55eed0b7c /src
parentAdd list_for_each_entry_safe. (diff)
downloadipxe-441189c6f879801837594d0afae78664131e3f9b.tar.gz
ipxe-441189c6f879801837594d0afae78664131e3f9b.tar.xz
ipxe-441189c6f879801837594d0afae78664131e3f9b.zip
Kill off the "all devices are boot devices" idea
Diffstat (limited to 'src')
-rw-r--r--src/include/dev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/dev.h b/src/include/dev.h
index 535181aa0..6edfc63ff 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