]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[rhine] Rewrite VIA Rhine driver
authorAdrian Jamróz <adrian.jamroz@gmail.com>
Sat, 13 Jul 2013 14:11:50 +0000 (16:11 +0200)
committerMichael Brown <mcb30@ipxe.org>
Sun, 14 Jul 2013 16:09:01 +0000 (18:09 +0200)
commitad4f58d410de36b2c2ceb560167b16f53a3de5d6
tree5a30cb1c68fb48aab891a6a1a9c3b289ed99c716
parentc0d2aebdcfcd34192c9ecfdb1933be6a590b147d
[rhine] Rewrite VIA Rhine driver

Replace the old via-rhine driver with a new version using the iPXE
API.

Includes fixes by Thomas Miletich for:

  - MMIO access
  - Link detection
  - RX completion in RX overflow case
  - Reset and EEPROM reloading
  - CRC stripping
  - Missing cpu_to_le32() calls
  - Missing memory barriers

Signed-off-by: Adrian Jamróz <adrian.jamroz@gmail.com>
Modified-by: Thomas Miletich <thomas.miletich@gmail.com>
Tested-by: Thomas Miletich <thomas.miletich@gmail.com>
Tested-by: Robin Smidsrød <robin@smidsrod.no>
Modified-by: Michael Brown <mcb30@ipxe.org>
Tested-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/rhine.c [new file with mode: 0644]
src/drivers/net/rhine.h [new file with mode: 0644]
src/drivers/net/via-rhine.c [deleted file]
src/include/ipxe/errfile.h