mirror of https://gitee.com/openkylin/linux.git
e19d8ba145
The comment at the top of the function states 'we need to initialize all the macstat registers to zero', but not all macstat registers are zeroed. Zero the missing registers. Tested on an ET-131x device. Signed-off-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
README | ||
et131x.h | ||
et131x_adapter.h | ||
et131x_defs.h | ||
et131x_initpci.c | ||
et131x_isr.c | ||
et131x_netdev.c | ||
et131x_version.h | ||
et1310_address_map.h | ||
et1310_eeprom.c | ||
et1310_mac.c | ||
et1310_phy.c | ||
et1310_phy.h | ||
et1310_pm.c | ||
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.