summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/wd.c
diff options
context:
space:
mode:
authorH. Peter Anvin2008-06-30 21:09:21 +0200
committerH. Peter Anvin2008-06-30 21:26:12 +0200
commit1152b78ec12f1ca3e56f09a1457c7fe9a6304db7 (patch)
tree6a0a6ecdc8b02711a76fc9cc54a9ee3c738fcd59 /src/drivers/net/wd.c
parent[lkrnprefix] Make gPXE .lkrn images conform to the zImage 2.07 format (diff)
downloadipxe-1152b78ec12f1ca3e56f09a1457c7fe9a6304db7.tar.gz
ipxe-1152b78ec12f1ca3e56f09a1457c7fe9a6304db7.tar.xz
ipxe-1152b78ec12f1ca3e56f09a1457c7fe9a6304db7.zip
[ns8390] Use stub files instead of src/Config
ns8390.c can produce four different drivers (one PCI, three ISA.) The ISA driver requires setting a few macros; do that by setting defines in stub files instead of using src/Config. Currently, all the ISA drivers are broken (they were not enabled by default), so #if 0 them out. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'src/drivers/net/wd.c')
-rw-r--r--src/drivers/net/wd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/net/wd.c b/src/drivers/net/wd.c
new file mode 100644
index 00000000..9939aa08
--- /dev/null
+++ b/src/drivers/net/wd.c
@@ -0,0 +1,6 @@
+/* ISA memory-mapped NS8390-based cards, including WD80x3 */
+#if 0 /* Currently broken! */
+#define INCLUDE_WD
+#define WD_DEFAULT_MEM 0xCC000
+#include "ns8390.c"
+#endif