From owner-freebsd-stable@FreeBSD.ORG Thu May 3 12:49:41 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F045716A401 for ; Thu, 3 May 2007 12:49:41 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail2.secureworks.net (mail2.secureworks.net [65.114.32.154]) by mx1.freebsd.org (Postfix) with ESMTP id CBEC713C45B for ; Thu, 3 May 2007 12:49:41 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from localhost (localhost [127.0.0.1]) by mail2.secureworks.net (Postfix) with ESMTP id A240017410; Thu, 3 May 2007 08:49:40 -0400 (EDT) X-Virus-Scanned: amavisd-new at secureworks.net Received: from mail2.secureworks.net ([127.0.0.1]) by localhost (mail2.secureworks.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zng+KoTVoA+s; Thu, 3 May 2007 08:49:40 -0400 (EDT) Received: from [192.168.23.35] (mole1.secureworks.net [63.239.86.3]) by mail2.secureworks.net (Postfix) with ESMTP id 6879017404; Thu, 3 May 2007 08:49:40 -0400 (EDT) Message-ID: <4639DA64.9090608@jellydonut.org> Date: Thu, 03 May 2007 08:49:40 -0400 From: Michael Proto User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.10) Gecko/20070306 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: "Patrick M. Hausen" References: <20070503082309.GG8556@hugo10.ka.punkt.de> In-Reply-To: <20070503082309.GG8556@hugo10.ka.punkt.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Limiting the number of probed interfaces? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 12:49:42 -0000 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