[ne2k_isa] Restore support for ne2k isa cards
commitdd34500188d942b10bacbc512cb581f51e371089
authorPantelis Koukousoulas <pktoss@gmail.com>
Sat, 8 Nov 2008 07:11:47 +0000 (8 09:11 +0200)
committerMichael Brown <mcb30@etherboot.org>
Sat, 8 Nov 2008 13:01:20 +0000 (8 13:01 +0000)
tree0bdf6b4ad9c3095536b899c536439b208a614636
parent180d99fc227f224c19e08f93d9f97b83b01cc329
[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>
src/drivers/net/ne2k_isa.c [new file with mode: 0644]
src/include/gpxe/errfile.h