Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 1998 12:02:07 +0200
From:      Eivind Eklund <eivind@yes.no>
To:        Chuck Robey <chuckr@glue.umd.edu>, hackers@FreeBSD.ORG
Subject:   Re: devices
Message-ID:  <19980525120207.14874@follo.net>
In-Reply-To: <Pine.BSF.3.96.980524231249.20133Y-100000@localhost>; from Chuck Robey on Sun, May 24, 1998 at 11:14:21PM -0400
References:  <Pine.BSF.3.96.980524231249.20133Y-100000@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 24, 1998 at 11:14:21PM -0400, Chuck Robey wrote:
> Does anyone know how a device gets itself in the list to be probed?

Depends on the type of device.  For an auto-probing device, it uses linker
sets (see <sys/kernel.h>) to get into a list that is created at link time.
For an ISA device, it has to be added to the config file, which writes out a
list of probes.

The actual calls to probe the various buses are in
src/sys/i386/i386/autoconf.c - they are the calls to isa_configure(),
pci_configure() etc.

Eivind.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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