freebsd-nq/sys/pci
Bill Paul e6e13c3cb6 Properly detect the RTL8168(B?) again. RealTek sent me a bunch of sample
cards: the chips are all marked "RTL8111B", but they put stickers on the
back that say "RTL8168B/8111B". The manual says there's only one HWREV code
for both the 8111B and 8168B devices, which is 0x30000000, but the cards
they sent me actually report HWREV of 0x38000000. Deciding to trust the
hardware in front of me rather than a possibly incorrect manual (it wouldn't
be the first time the HWREVs were incorrectly documented), I changed the
8168 revision code. It turns out this was a mistake though: 0x30000000
really is a valid for the 8168.

There are two possible reasons for there to be two different HWREVs:

1) 0x30000000 is used only for the 8168B and 0x38000000 is only for
   the 8111B.
2) There were 8111/8168 rev A devices which both used code 0x30000000,
   and the 8111B/8168B both use 0x38000000.

The product list on the RealTek website doesn't mention the existence of
any 8168/8111 rev A chips being in production though, and I've never seen
one, so until I get clarification from RealTek, I'm going to assume that
0x30000000 is just for the 8168B and 0x38000000 is for the 8111B only.

So, the HWREV code for the 8168 has been put back to 0x30000000,
a new 8111 HWREV code has been added, and there are now separate
entries for recognizing both devices in the device list. This will
allow all devices to work, though if it turns out I'm wrong I may
need to change the ID strings
2006-06-28 16:04:54 +00:00
..
agp_ali.c
agp_amd64.c
agp_amd.c
agp_ati.c
agp_i810.c Fix breakage of CHIP_I855 in the last revision. 2006-06-27 14:05:11 +00:00
agp_if.m
agp_intel.c
agp_nvidia.c
agp_sis.c
agp_via.c
agp.c
agppriv.h
agpreg.h
agpvar.h
alpm.c
amdpm.c
amdsmb.c
if_mn.c
if_pcn.c
if_pcnreg.h
if_rl.c
if_rlreg.h Properly detect the RTL8168(B?) again. RealTek sent me a bunch of sample 2006-06-28 16:04:54 +00:00
if_sf.c
if_sfreg.h
if_sis.c
if_sisreg.h
if_ste.c
if_stereg.h
if_tl.c
if_tlreg.h
if_vr.c
if_vrreg.h
if_wb.c
if_wbreg.h
if_xl.c
if_xlreg.h
intpm.c
intpmreg.h
locate.pl
ncr.c
ncrreg.h
nfsmb.c
viapm.c
xrpu.c