summaryrefslogtreecommitdiffstats
path: root/src/include/nic.h
diff options
context:
space:
mode:
authorMichael Brown2005-04-12 20:15:12 +0200
committerMichael Brown2005-04-12 20:15:12 +0200
commit122b025293751b241cbde728e41729a0d2616682 (patch)
treeef59db090428c661dcc03de5447ee2303a20dca2 /src/include/nic.h
parentFixed up PCI-scanning code to use new PCI interface. (diff)
downloadipxe-122b025293751b241cbde728e41729a0d2616682.tar.gz
ipxe-122b025293751b241cbde728e41729a0d2616682.tar.xz
ipxe-122b025293751b241cbde728e41729a0d2616682.zip
Include dev.h, since several drivers just include nic.h
Diffstat (limited to 'src/include/nic.h')
-rw-r--r--src/include/nic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/nic.h b/src/include/nic.h
index 7e74aef9..b3f26734 100644
--- a/src/include/nic.h
+++ b/src/include/nic.h
@@ -79,4 +79,7 @@ static inline void eth_disable ( void ) {
nic->nic_op->disable ( nic );
}
+/* dev.h needs declarations from nic.h */
+#include "dev.h"
+
#endif /* NIC_H */