Subject: Re: Gigabit support in gem drivers
To: Matt Thomas <matt@3am-software.com>
From: None <spamcop@smurfturf.net>
List: port-macppc
Date: 12/13/2005 23:02:16
Interesting... maybe we could compare dmesg's...
Here's what I could find:

(grep gem)
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x01)
gem0: interrupting at irq 41
gem0: Ethernet address 00:FF:00:FF:00:FF, 10KB RX fifo, 4KB TX fifo  
(MAC WAS CENSORED)

(grep 1000)
brgphy0 at gem0 phy 0: BCM5401 1000BASE-T media interface, rev. 3
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,  
1000baseT-FDX, auto

Funny thing is the workstation (on which I'm writing this) is a  
quicksilver.
I just can't reboot and I have no idea where mac osx stores the dmesg.

Matthieu Lalonde

On 2005-Dec-13, at 10:29 PM, Matt Thomas wrote:

> spamcop@smurfturf.net wrote:
>> (Sorry if this get double posted. I believe I have sent it with the
>> wrong address the first time, waited a couple of hours and still   
>> hasn't
>> showed up, but it just does that some times. So I'm reposting   
>> with the
>> proper address)
>>
>> Hi to all the NetBSD mac heads :)
>>
>>     I figured since we're discussing networking it would be a good  
>> time
>> to come forward with this...
>> I'm using NetBSD (currently version 2.1) on a Digital Audio  
>> PowerMac  G4
>> (the PM). The PM runs as a server and has two nics, the onboard   
>> gigabit
>> and an extra 10/100 nic. The later is used to connect to the  lan and
>> the former is on a direct link with the workstation (which  also  
>> has an
>> extra nic for lan). Both machines have gigabit, this is  great  
>> because I
>> transfer a lot of files between them. Sadly, NetBSD's  gem driver  
>> (used
>> by most onboard PM cards) does not support Gigabit.  I've looked  
>> at the
>> change list of v2.0 -> v3.0 and see that it has  not been  
>> addressed yet.
>> Neither is it in the v3.0->v4.0 list. I know  for a fact that OpenBSD
>> supports this feature (although I have not  tested it) =>
>> http://www.openbsd.org/cgi-bin/man.cgi?query=gem&format=ascii
>>
>> Is there any plans to update the driver?
>> This is a widely used nic on the PowerMacs, I think it would be very
>> beneficial for the macppc port to have better gem support.
>
> My QuickSilver G4 supports gigabit with the gem driver.  I know  
> because
> that's where I verified the support works.  Some of the older G4s with
> multiple phys might not work correctly.
> -- 
> Matt Thomas                     email: matt@3am-software.com
> 3am Software Foundry              www: http://3am-software.com/bio/ 
> matt/
> Cupertino, CA              disclaimer: I avow all knowledge of this  
> message.