Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2006 14:42:31 +1300
From:      Mark Kirkwood <markir@paradise.net.nz>
To:        hardware@freebsd.org
Subject:   6.0-RELEASE /dev/pci still has config for uninstalled LAN card
Message-ID:  <44122B07.5070104@paradise.net.nz>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44122B07.5070104>