Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 1998 09:05:58 +0000
From:      Mike Smith <mike@smith.net.au>
To:        Nick Hibma <nick.hibma@jrc.it>
Cc:        FreeBSD hackers mailing list <hackers@FreeBSD.ORG>
Subject:   Re: subr_autoconf.c 
Message-ID:  <199808280906.JAA05334@word.smith.net.au>
In-Reply-To: Your message of "Fri, 28 Aug 1998 16:32:13 %2B0200." <Pine.GSO.3.95q.980828160040.394p-100000@elect8> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> What is the reason that subr_autoconf.c is UNUSED? NetBSD uses these
> config_found functions to determine the devices that can be found after
> a certain element has been attached to like, a pcibus implies the
> probing pci devices that are compiled in.

NetBSD uses the "new config" infrastructure to explicitly detail the 
relationship between devices and busses at compile time.  This 
mechanism has a number of benefits, but also some shortcomings.

> Is there in FreeBSD a general mechanism to attach devices? Do the
> ISA, EISA and PCI bus code all implement their own way of handling
> things?

We are beginning a transition process away from each bus having its own 
discovery code, towards an implicit technique developed by Doug Rabson. 
This new architecture should be used for all new busses (including USB).

See www.freebsd.org/~dfr/man9.diff for a set of manpages describing the 
new interface, and talk to Doug (dfr@freebsd.org) and Nicholas Souchu 
(nsouch@freebsd.org) about the implementation.  I wouldn't mind keeping 
up with your progress either...
-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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?199808280906.JAA05334>