summaryrefslogtreecommitdiff
path: root/realtek.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-13realtek: update devices to 3.11new-rtl-chipsPeter Wu1-44/+177
RTL8168_8111Bb/RTL8168_8111Bef is like RTL8111B/RTL8168B, RTL8100E and RTL8101E (datasheet revision 1.0 from 26 January 2006). Assume that RTL8101e is also similar (I may be very wrong at that though...). Note that the scanning heuristics is the same as the r8169 module: newer devices with stronger masks come before the others. Perhaps the older 8139 cards should be appended to the list, after all r8169 chips. Signed-off-by: Peter Wu <lekensteyn@gmail.com>
2013-08-13realtek: convert to per-chip maskPeter Wu1-45/+63
The previous HW_REVID macro did not make identifiers more readable (compared to hex values like 0x12345678) and only allowed for one static mask. To make it easier to update the chips list, let's use similar structures as r8169 and remove HW_REVID. Names are removed and separated from the table and separated because the mac_version does not have to be unique. While at it, change "RTL-xxxx" to "RTLxxxx" to match the names of Realtek and r8169 driver. Besides that, the only output change is when a chip is not recognized in which case "TxConfig" is now mentioned instead of "mask". Since the mask can be anything, the displayed word is not masked either. Signed-off-by: Peter Wu <lekensteyn@gmail.com>
2011-11-01Combine ethtool-{bitops,util}.h into internal.hBen Hutchings1-1/+1
ethtool-util.h contains all kinds of declarations, not just utility functions or macros. ethtool-bitops.h contains just a few extra definitions, and its only user also includes ethtool-util.h. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2008-09-13ethtool: Add register dump support for all r8169 driver cardsAndrew Paprocki1-46/+64
This adds all MAC versions currently found in the r8169 to the RealTek table and modifies the dump logic to handle card versions >= RTL8169 instead of specifically looking at the few previously supported cards. Signed-off-by: Andrew Paprocki <andrew@ishiboo.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2007-07-10ethtool: new ID to decode the registers of the 8101E (realtek)Francois Romieu1-0/+1
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-05-24ethtool: new ID to decode the registers of the 8168 (realtek)Francois Romieu1-0/+1
Tested with an Asrock 945G-DVI (LOM). Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
2005-10-25Initial import of ethtool version 3 + a few patches.Jeff Garzik1-0/+517