mirror of https://gitee.com/openkylin/linux.git
5b54814022
Convert magic values 1 and -1 to NETDEV_TX_BUSY and NETDEV_TX_LOCKED respectively. 0 (NETDEV_TX_OK) is not changed to keep the noise down, except in very few cases where its in direct proximity to one of the other values. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
README | ||
et131x_adapter.h | ||
et131x_config.c | ||
et131x_config.h | ||
et131x_debug.c | ||
et131x_debug.h | ||
et131x_defs.h | ||
et131x_initpci.c | ||
et131x_initpci.h | ||
et131x_isr.c | ||
et131x_isr.h | ||
et131x_netdev.c | ||
et131x_netdev.h | ||
et131x_version.h | ||
et1310_address_map.h | ||
et1310_eeprom.c | ||
et1310_eeprom.h | ||
et1310_jagcore.c | ||
et1310_jagcore.h | ||
et1310_mac.c | ||
et1310_mac.h | ||
et1310_phy.c | ||
et1310_phy.h | ||
et1310_pm.c | ||
et1310_pm.h | ||
et1310_rx.c | ||
et1310_rx.h | ||
et1310_tx.c | ||
et1310_tx.h |
README
This is a driver for the ET1310 network device. Based on the driver found at https://sourceforge.net/projects/et131x/ Cleaned up immensely by Olaf Hartman <o.hartmann@telovital.com> and Christoph Hellwig <hch@infradead.org> Note, the powermanagement options were removed from the vendor provided driver as they did not build properly at the time. TODO: - kernel coding style cleanups - forward port for latest network driver changes - kill useless typecasts (e.g. in et1310_phy.c) - alloc_etherdev is initializing memory with zero?!? - add_timer call in et131x_netdev.c is correct? - Add power saving functionality (suspend, sleep, resume) - Implement a few more kernel Parameter (set mac ) Please send patches to: Greg Kroah-Hartman <gregkh@suse.de> And Cc: Olaf Hartmann <o.hartmann@telovital.com> as he has this device and can test any changes.