diff options
author | Pantelis Koukousoulas | 2008-11-08 08:11:47 +0100 |
---|---|---|
committer | Michael Brown | 2008-11-08 14:01:20 +0100 |
commit | dd34500188d942b10bacbc512cb581f51e371089 (patch) | |
tree | 0bdf6b4ad9c3095536b899c536439b208a614636 /src/include/gpxe/errfile.h | |
parent | [isa] Fix a small typo in isa.c. (diff) | |
download | ipxe-dd34500188d942b10bacbc512cb581f51e371089.tar.gz ipxe-dd34500188d942b10bacbc512cb581f51e371089.tar.xz ipxe-dd34500188d942b10bacbc512cb581f51e371089.zip |
[ne2k_isa] Restore support for ne2k isa cards
Add the simplified ne2k_isa driver. It is just a selective copy+paste
of the relevant parts from ns8390.c plus a little trivial hacking to
make it actually work.
It is true that the code is pretty ugly, but:
a) ns8390.c is worse
b) It is only 372 lines and no #ifdefs
c) It works both in qemu/bochs and in real hardware
and we all know it is easier to cleanup working code
Hope someone will find the time to rewrite this driver properly,
but until then at least for me this is an ok solution.
Signed-off-by: Pantelis Koukousoulas <pktoss@gmail.com>
Diffstat (limited to 'src/include/gpxe/errfile.h')
-rw-r--r-- | src/include/gpxe/errfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/gpxe/errfile.h b/src/include/gpxe/errfile.h index 057abb1d..31826a86 100644 --- a/src/include/gpxe/errfile.h +++ b/src/include/gpxe/errfile.h @@ -106,6 +106,7 @@ #define ERRFILE_e1000_hw ( ERRFILE_DRIVER | 0x00490000 ) #define ERRFILE_mtnic ( ERRFILE_DRIVER | 0x004a0000 ) #define ERRFILE_phantom ( ERRFILE_DRIVER | 0x004b0000 ) +#define ERRFILE_ne2k_isa ( ERRFILE_DRIVER | 0x004c0000 ) #define ERRFILE_scsi ( ERRFILE_DRIVER | 0x00700000 ) #define ERRFILE_arbel ( ERRFILE_DRIVER | 0x00710000 ) |