summaryrefslogtreecommitdiff
path: root/realtek.c
AgeCommit message (Collapse)AuthorFilesLines
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