mirror of
https://github.com/ipxe/ipxe
synced 2025-12-12 23:15:10 +03:00
[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>
This commit is contained in:
committed by
Michael Brown
parent
180d99fc22
commit
dd34500188
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user