From owner-cvs-src@FreeBSD.ORG Wed Jun 28 02:02:28 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id EFC6716A403; Wed, 28 Jun 2006 02:02:28 +0000 (UTC) In-Reply-To: <20060627172841.GA1310@gothmog.pc> from Giorgos Keramidas at "Jun 27, 2006 08:28:41 pm" To: keramida@freebsd.org (Giorgos Keramidas) Date: Wed, 28 Jun 2006 02:02:28 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20060628020228.EFC6716A403@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 02:02:29 -0000 > On 2006-06-26 20:31, Bill Paul 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@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@windriver.com | Wind River Systems ============================================================================= you're just BEGGING to face the moose =============================================================================