Subject: 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/22/2003 12:40:03
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)