Subject: Gigabit Ethernet support on gmac?
To: None <port-macppc@netbsd.org>
From: Monroe Williams <monroe@criticalpath.com>
List: port-macppc
Date: 10/15/2001 15:19:03
I'm setting up a PowerMac G4/466 as a server, and it would be nice to make
use of the built-in Gigabit Ethernet. It appears that it's not supported
under NetBSD-1.5.2:
gm0 at pci2 dev 15 function 0: Ethernet address 00:30:65:d6:f3:de
gm0: interrupting at irq 41
ukphy0 at gm0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000818, model 0x0005, rev. 3
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
If I plug it into a Gigabit switch, I get a 1G link light, but I can't send
or receive packets. ifconfig shows:
gm0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:30:65:d6:f3:de
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 207.149.221.101 netmask 0xffffff00 broadcast 207.149.221.255
inet6 fe80::230:65ff:fed6:f3de%gm0 prefixlen 64 scopeid 0x1
Manually setting the media type to 100baseTX changes the link light on the
switch to 100Mb, and allows packets to pass.
I don't know anything about writing Ethernet drivers. How difficult would
it be to add support for Gigabit? Would it need to go in the gmac driver or
in ukphy?
Thanks,
-- monroe
------------------------------------------------------------------------
Monroe Williams monroe@criticalpath.com