Subject: Re: Nvidia product 6c (the intel 82550 nic) pullback to 1.6.1
To: None <netbsd-users@netbsd.org>
From: Jorgen Lundman <lundman@lundman.net>
List: netbsd-users
Date: 10/23/2003 10:43:25
Never managed to get that particular nic backported, but there is also a 3Com
nic on there, which only needed changes in pcidevs and if_ex_pci.c
ppb1 at pci0 dev 12 function 0: Nvidia Corporation product 0x006d (rev. 0xa3)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
ex1 at pci2 dev 1 function 0: 3Com 3c905CX-TX 10/100 Ethernet with mngmt (rev. 0
x40)
ex1: interrupting at irq 12
ex1: MAC address 00:26:54:08:ca:f8
ukphy0 at ex1 phy 2: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0010a9, model 0x0012, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
So I am happy for now :)
Lund
Jorgen Lundman wrote:
>
> i386
>
> Since I had such success when I needed the NVidia IDE controller to work
> in 1.6.1 I thought I would try to do the same for the nic so I can use
> it as well.
>
> I found a dmesg from someone with it working that looks like:
>
> ppb0 at pci0 dev 8 function 0: Nvidia Corporation product 0x006c (rev.
> 0xa3)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> fxp0 at pci1 dev 10 function 0: i82550 Ethernet, rev 12
> fxp0: interrupting at irq 11
> fxp0: Ethernet address 00:02:b3:d0:db:3f
> inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
> inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>
>
> My own dmesg looks like:
>
> ppb0 at pci0 dev 8 function 0: Nvidia Corporation product 0x006c (rev.
> 0xa3)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
>
>
> So I took dev/pci/if_fxp_pci.c and merged in the differences, likewise
> dev/ic/{i82577.c,i82557var.h,i82557reg.h}. To compile I needed to add
> in the new devices from "pcidevs" and rebuild it. kernel compiled and
> booted.
>
> But unfortunately dmesg looks just the same. I must be missing a way to
> tie product 006c to fxp. Although I noticed the working dmesg still
> prints it like an unknown product id, so the fxp layer perhaps knows
> what to look for?
>
> Any hints?
>
> Lund
>
>
--
Jorgen Lundman | <lundman@lundman.net>
Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell)
Japan | +81 (0)3 -3375-1767 (home)