OpenCloudOS-Kernel/drivers/staging/et131x
Patrick McHardy 5b54814022 net: use symbolic values for ndo_start_xmit() return codes
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>
2009-06-13 01:18:50 -07:00
..
Kconfig
Makefile
README
et131x_adapter.h
et131x_config.c
et131x_config.h
et131x_debug.c
et131x_debug.h Staging: et131x: fix build failure 2009-01-06 13:52:07 -08:00
et131x_defs.h
et131x_initpci.c
et131x_initpci.h
et131x_isr.c
et131x_isr.h
et131x_netdev.c net: use symbolic values for ndo_start_xmit() return codes 2009-06-13 01:18:50 -07:00
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 Staging: et131x: list usage cleanup 2009-04-03 14:53:28 -07:00
et1310_rx.h
et1310_tx.c Staging: et131x: remove unused variable in et1310_tx.c 2009-01-06 13:52:08 -08:00
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.