Date: Tue, 22 Jan 2008 12:40:45 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: Kevin Day <toasty@dragondata.com> Cc: freebsd-ppc@freebsd.org Subject: Re: Success on G4 XServe Message-ID: <20080122034045.GA10560@cdnetworks.co.kr> In-Reply-To: <B32D3983-273D-478A-930D-AD4A47151E23@dragondata.com> References: <B32D3983-273D-478A-930D-AD4A47151E23@dragondata.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jan 20, 2008 at 10:22:41AM -0600, Kevin Day wrote: [...] > 3) The onboard "gem" ethernet interface doesn't seem to work right. I > can dhcp an address, but connecting to anything doesn't seem to work. > I haven't been able to troubleshoot any further. A bge interface on a > PCI card works fine. > > gem0: <Apple UniNorth2 GMAC Ethernet> mem 0xf5200000-0xf53fffff irq 41 > at device 15.0 on pci4 > miibus1: <MII bus> on gem0 > brgphy1: <BCM5754 10/100/1000baseTX PHY> PHY 0 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > gem0: 10kB RX FIFO, 4kB TX FIFO > gem0: Ethernet address: 00:0a:95:75:6e:d0 > gem0: [ITHREAD] > Would you show me the output of 'ifconfig gem0'? Also how about trying attached patch? -- Regards, Pyun YongHyeon --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="brgphy.diff" --- sys/dev/mii/brgphy.c.orig 2008-01-22 10:23:10.000000000 +0900 +++ sys/dev/mii/brgphy.c 2008-01-22 12:32:41.000000000 +0900 @@ -364,16 +364,13 @@ break; } -#if 0 - /* Todo: Is this correct? */ /* Announce link loss right after it happens. */ if (sc->mii_ticks++ == 0) break; -#endif /* Only retry autonegotiation every mii_anegticks seconds. */ if (sc->mii_ticks <= sc->mii_anegticks) - goto brgphy_service_exit; + break; /* Retry autonegotiation */ --HlL+5n6rz5pIUxbD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080122034045.GA10560>