Ondrej Zary c3f45d322c dl2k: Add support for IP1000A-based cards
Add support for IP1000A chips to dl2k driver.
IP1000A chip looks like a TC9020 with integrated PHY.

This allows IP1000A chips to work reliably because the ipg driver is
buggy - it loses packets under load and then completely stops
transmitting data.

Tested with Asus NX1101 v2.0 at 10, 100 and 1000Mbps:
vendor=0x13f0 device=0x1023 (rev 0x41)
subsystem vendor=0x1043 device=0x8180

MAC address registers access needed to be changed from 8-bit to 16-bit
because 8-bit does not work on IP1000A. 8-bit access is not even
allowed in the TC9020 datasheet (although it worked). 16-bit access
works on both.

Tested that it does not break D-Link DGE-550T (DL-2000 chip, probably
a rebranded TC9020):
vendor=0x1186 device=0x4000 (rev 0x0c)
subsystem vendor=0x1186 device=0x4000

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-16 17:11:31 -05:00
..
2015-11-10 12:07:22 -08:00
2015-11-10 15:00:03 -08:00
2015-11-10 15:00:03 -08:00
2015-11-05 23:38:43 -08:00
2015-11-10 15:06:26 -08:00
2015-11-10 15:00:03 -08:00
2015-11-06 14:22:15 -08:00
2015-11-10 10:05:17 -08:00
2015-11-06 14:22:15 -08:00
2015-11-10 15:00:03 -08:00
2015-11-06 14:22:15 -08:00
2015-11-10 15:00:03 -08:00
2015-11-05 13:15:12 -08:00
2015-11-09 15:11:24 -08:00
2015-11-05 13:15:12 -08:00
2015-10-29 09:02:16 +09:00
2015-11-10 15:00:03 -08:00
2015-11-06 14:22:15 -08:00
2015-11-10 15:00:03 -08:00
2015-11-05 13:15:12 -08:00
2015-11-08 16:24:43 -05:00
2015-11-06 12:17:09 -08:00
2015-11-10 16:32:11 -08:00
2015-11-04 14:47:13 -08:00
2015-11-04 21:26:27 -08:00
2015-11-06 10:23:50 -08:00
2015-11-05 13:15:12 -08:00
2015-11-10 10:01:21 -08:00
2015-11-10 15:00:03 -08:00
2015-11-04 22:15:15 -08:00
2015-11-09 15:11:24 -08:00
2015-11-06 14:22:15 -08:00
2015-11-04 21:50:37 -08:00
2015-10-27 20:17:03 -07:00
2015-11-10 10:00:09 -08:00
2015-11-04 22:15:15 -08:00
2015-11-04 22:15:15 -08:00
2015-11-04 22:15:15 -08:00