Subject: port-macppc/17475: gem/brgphy media detection not working on macppc?
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/03/2002 20:40:55
>Number:         17475
>Category:       port-macppc
>Synopsis:       gem/brgphy media detection not working on macppc?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 03 18:41:00 PDT 2002
>Originator:     Dave Huang
>Release:        NetBSD 1.6_BETA3 as of June 28, 2002
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 26 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
System: NetBSD 1.6_BETA3 NetBSD 1.6_BETA3 (GREYFOX) #33: Fri Jun 28 20:13:31 CDT 2002 macppc
Architecture: powerpc
Machine: macppc

gem0 at pci3 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x01)
gem0: interrupting at irq 41
gem0: Ethernet address 00:30:65:c6:c8:6c, 10KB RX fifo, 4KB TX fifo
brgphy0 at gem0 phy 0: BCM5400 1000BASE-T media interface, rev. 7
brgphy0: 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
	I'm using the gem driver on my PowerMac G4 Dual Processor 
500MHz, and the Ethernet media detection doesn't seem to work anymore. 
If I leave the media type at the default of "autoselect", ifconfig gem0 
says "media: Ethernet autoselect (none)" and the network doesn't work. 
If I manually set the media type with "ifconfig gem0 media 100basetx 
mediaopt full-duplex", it starts to work. It does keep working if I 
then set it back to "media autoselect".
	It's plugged in to a 10/100 switch, btw.

	The previous kernel I was using, 1.5ZC from May 11, works