cvs commit: src/share/man/man4 re.4 src/sys/dev/re if_re.c
src/sys/dev/mii rgephy.c src/sys/pci if_rlreg.h
Bill Paul
wpaul at FreeBSD.ORG
Wed Jun 28 02:02:29 UTC 2006
> On 2006-06-26 20:31, Bill Paul <wpaul at freebsd.org> wrote:
> > wpaul 2006-06-26 20:31:32 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > share/man/man4 re.4
> > sys/dev/re if_re.c
> > sys/dev/mii rgephy.c
> > sys/pci if_rlreg.h
> > Log:
> > Add support for the RealTek 8169SC/8110SC and RTL8101E devices. The
> > latter is a PCIe 10/100 chip.
> >
> > Finally fix the EEPROM reading code so that we can access the EEPROMs on all
> > devices. In order to access the EEPROM, we must select 'EEPROM programming'
> > mode, and then set the EEPROM chip select bit. Previously, we were setting
> > both bits simultaneously, which doesn't work: they must be set in the
> > right sequence.
> > [...]
>
> Something in this commit breaks re(4) interface here.
>
> With a kernel after this change, no re(4) interfaces appear to attach:
[...]
Somewhere in the above space, there should have been a COMPLETE dmesg
output from your system, but apparently the e-mail gremlins ate it.
Given that I actually tested an RTL8111B/RTL8168B sample card and it
worked fine with this code, RIGHT BEFORE I CHECKED IT IN, I'm forced
to conclude that this problem is one of your own devising. I'm sure
there's a big fat clue to the problem in the dmesg output that you
didn't send.
> # pficonf -lv
> [...]
> none2 at pci2:0:0: class=0x020000 card=0x81aa1043 chip=0x816810ec rev=0x01 hdr=0x00
> vendor = 'Realtek Semiconductor'
> class = network
> subclass = ethernet
>
> Reverting this change fixes my re0 interface, but I am not sure I can
> track down why it broke. Any ideas about where to look for the reason
> my re(4) NIC fails to attach after this change?
You didn't give me enough information to answer this question. Since
you declined to state EXACTLY what you did, I can't tell you where
you went wrong.
-Bill
--
=============================================================================
-Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu
wpaul at windriver.com | Wind River Systems
=============================================================================
<adamw> you're just BEGGING to face the moose
=============================================================================
More information about the cvs-src
mailing list