6.0-RELEASE /dev/pci still has config for uninstalled LAN card

Mark Kirkwood markir at paradise.net.nz
Sat Mar 11 01:42:44 UTC 2006


I recently did a motherboard swap (removed VIA Apollo 133A board and 
added VIA Apollo 266 based one). The new board has its own LAN (Intel 
82559), so I removed the PCI LAN card (VIA Rhine III based card).

I noticed this in the boot up:

vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xc400-0xc4ff mem 
0xf7101000-0xf71010ff irq 11 at device 18.0 on pci0
vr0: MII without any phy!
device_attach: vr0 attach returned 6

And pciconf shows:

# pciconf -lv
....
vr0 at pci0:18:0:  class=0x020000 card=0x01021106 chip=0x30651106 rev=0x62 
hdr=0x00
     vendor   = 'VIA Technologies Inc'
     device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
     class    = network
     subclass = ethernet

However it really is not there:

# ifconfig vr0
ifconfig: interface vr0 does not exist

After swapping the boards, I checked 'reset config data' in the BIOS and 
everything else has worked great.

Is there any way to tell (devfs I guess) to forget this device?

Cheers

Mark


More information about the freebsd-hardware mailing list