From owner-freebsd-hackers Fri Aug 28 09:08:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08098 for freebsd-hackers-outgoing; Fri, 28 Aug 1998 09:08:51 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from word.smith.net.au (castles225.castles.com [208.214.165.225]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA08086 for ; Fri, 28 Aug 1998 09:08:46 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (LOCALHOST [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id JAA05334; Fri, 28 Aug 1998 09:06:00 GMT (envelope-from mike@word.smith.net.au) Message-Id: <199808280906.JAA05334@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Nick Hibma cc: FreeBSD hackers mailing list Subject: Re: subr_autoconf.c In-reply-to: Your message of "Fri, 28 Aug 1998 16:32:13 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 28 Aug 1998 09:05:58 +0000 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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