mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 17:45:11 +07:00
c3f45d322c
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>
55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
#
|
|
# D-Link device configuration
|
|
#
|
|
|
|
config NET_VENDOR_DLINK
|
|
bool "D-Link devices"
|
|
default y
|
|
depends on PCI
|
|
---help---
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about D-Link devices. If you say Y, you will be asked for
|
|
your specific card in the following questions.
|
|
|
|
if NET_VENDOR_DLINK
|
|
|
|
config DL2K
|
|
tristate "DL2000/TC902x/IP1000A-based Gigabit Ethernet support"
|
|
depends on PCI
|
|
select CRC32
|
|
---help---
|
|
This driver supports DL2000/TC902x/IP1000A-based Gigabit ethernet cards,
|
|
which includes
|
|
D-Link DGE-550T Gigabit Ethernet Adapter.
|
|
D-Link DL2000-based Gigabit Ethernet Adapter.
|
|
Sundance/Tamarack TC902x Gigabit Ethernet Adapter.
|
|
ICPlus IP1000A-based cards
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called dl2k.
|
|
|
|
config SUNDANCE
|
|
tristate "Sundance Alta support"
|
|
depends on PCI
|
|
select CRC32
|
|
select MII
|
|
---help---
|
|
This driver is for the Sundance "Alta" chip.
|
|
More specific information and updates are available from
|
|
<http://www.scyld.com/network/sundance.html>.
|
|
|
|
config SUNDANCE_MMIO
|
|
bool "Use MMIO instead of PIO"
|
|
depends on SUNDANCE
|
|
---help---
|
|
Enable memory-mapped I/O for interaction with Sundance NIC registers.
|
|
Do NOT enable this by default, PIO (enabled when MMIO is disabled)
|
|
is known to solve bugs on certain chips.
|
|
|
|
If unsure, say N.
|
|
|
|
endif # NET_VENDOR_DLINK
|