OSDN Git Service

r8169: remove TBI 1000BaseX support
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 29 Jun 2018 06:07:04 +0000 (08:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 11:53:33 +0000 (20:53 +0900)
commite397286b8e89bf38f4f56c0dcf6626e79dc2a323
treeec848944dcbacdbf2505c0f7580db95c80c1b15b
parent759f29b62fb9af5274e7f761f9f4cdfa7bb5a1f2
r8169: remove TBI 1000BaseX support

The very first version of RTL8169 from 2002 (and only this one) has
support for a TBI 1000BaseX fiber interface. The TBI support in the
driver makes switching to phylib tricky, so best would be to get
rid of it. I found no report from anybody using a device with RTL8169
and fiber interface, also the vendor driver doesn't support this mode
(any longer).
So remove TBI support and bail out with a message if a card with
activated TBI is detected. If there really should be any user of it
out there, we could add a stripped-down version of the driver
supporting chip version 01 and TBI only (and maybe move it to
staging).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c