Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 May 2007 08:49:40 -0400
From:      Michael Proto <mike@jellydonut.org>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Limiting the number of probed interfaces?
Message-ID:  <4639DA64.9090608@jellydonut.org>
In-Reply-To: <20070503082309.GG8556@hugo10.ka.punkt.de>
References:  <20070503082309.GG8556@hugo10.ka.punkt.de>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4639DA64.9090608>