Limiting the number of probed interfaces?

Michael Proto mike at jellydonut.org
Thu May 3 12:49:42 UTC 2007


Patrick M. Hausen wrote:
> Hello, all!
> 
> In former times configuring a kernel was a bit more cumbersome,
> yet more straightforward than is today:
> 
> device		isa
> device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
> device		sio1	at isa? port IO_COM2 flags 0x0 irq 3
> 
> to keep the kernel from messing with the second device
> completely, you simply removed the second line.
> 
> 
> Today I have:
> 
> device		pci
> device		miibus
> device		bge
> 
> I have a particular system that uses what FreeBSD 6.2 detected
> as bge1 for remote console access over IP. As soon as the
> interface is probed and activated by the kernel, the connection
> to the remote management controller breaks.
> 
> Is there a way to limit the number of probed entities for
> a certain pci device class to, say, 1 in my case?
> I'd like to use bge0 for FreeBSD but the kernel should leave
> everything else that might be a bge interface alone.
> 
> Thanks,
> Patrick
> 

Would the following in /boot/device.hints achieve what you are after?

hint.bge.1.disabled="1"
hint.bge.2.disabled="1"
...


-Proto


More information about the freebsd-stable mailing list