kernel-ark/drivers/staging/et131x
Mark Einon 412f8e0c52 staging: et131x: Remove private adapter->linkspeed and use phydev->speed instead
The phy device keeps a note of the link speed, so use that value instead of the driver private one.

Also use the phydev defines for link speeds, and remove the driver private ones.

adapter->hw_errs was never used, even in the vendor driver, so remove that too.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-06 16:54:53 -07:00
..
et131x_adapter.h staging: et131x: Remove private adapter->linkspeed and use phydev->speed instead 2011-09-06 16:54:53 -07:00
et131x_defs.h staging: et131x: Fix stats->rx_packets accounting 2011-07-05 19:54:58 -07:00
et131x_ethtool.c staging: et131x: Fix checkpatch whitespace warnings 2011-09-06 16:53:38 -07:00
et131x_initpci.c staging: et131x: Remove private adapter->linkspeed and use phydev->speed instead 2011-09-06 16:54:53 -07:00
et131x_isr.c staging: et131x: Fix checkpatch whitespace warnings 2011-09-06 16:53:38 -07:00
et131x_netdev.c staging: et131x: Fix checkpatch whitespace warnings 2011-09-06 16:53:38 -07:00
et131x_version.h
et131x.h staging: et131x: Remove redundant phy code 2011-09-06 16:49:28 -07:00
et1310_address_map.h staging: et131x: Remove redundant replica loopback code 2011-08-29 11:20:10 -07:00
et1310_eeprom.c staging: et131x: Rename var name 'etdev' to 'adapter' throughout module 2011-08-23 16:25:28 -07:00
et1310_mac.c staging: et131x: Remove private adapter->linkspeed and use phydev->speed instead 2011-09-06 16:54:53 -07:00
et1310_phy.c staging: et131x: Remove private adapter->linkspeed and use phydev->speed instead 2011-09-06 16:54:53 -07:00
et1310_phy.h staging: et131x: Remove private adapter->linkspeed and use phydev->speed instead 2011-09-06 16:54:53 -07:00
et1310_pm.c staging: et131x: Remove redundant phy code 2011-09-06 16:49:28 -07:00
et1310_rx.c staging: et131x: Remove private adapter->linkspeed and use phydev->speed instead 2011-09-06 16:54:53 -07:00
et1310_rx.h staging: et131x: Converting et1310_rx.h variable names from CamelCase 2011-08-23 11:44:54 -07:00
et1310_tx.c staging: et131x: Remove private adapter->linkspeed and use phydev->speed instead 2011-09-06 16:54:53 -07:00
et1310_tx.h
Kconfig
Makefile staging: et131x: Use phy-device, mii_bus and ethtool_ops 2011-08-29 11:20:11 -07:00
README staging: et131x: Amend README file 2011-09-06 16:53:39 -07:00

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:
	- 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>
	Mark Einon <mark.einon@gmail.com>

And Cc: Olaf Hartmann <o.hartmann@telovital.com> as he has this device and can
test any changes.