From owner-freebsd-arch Tue Jun 13 10: 9:55 2000 Delivered-To: freebsd-arch@freebsd.org Received: from mass.cdrom.com (adsl-63-206-88-224.dsl.snfc21.pacbell.net [63.206.88.224]) by hub.freebsd.org (Postfix) with ESMTP id 0668637BC56 for ; Tue, 13 Jun 2000 10:09:51 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id KAA22419; Tue, 13 Jun 2000 10:13:49 -0700 (PDT) (envelope-from msmith@mass.cdrom.com) Message-Id: <200006131713.KAA22419@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: mjacob@feral.com Cc: arch@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci pci.c pcisupport.c pcivar.h In-reply-to: Your message of "Tue, 13 Jun 2000 09:25:40 PDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Jun 2000 10:13:49 -0700 From: Mike Smith Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > : "Found Configure \"blaha\" driver in your kernel" > > : > > : I can see all the bloat arguments, but I have to say that the idea > > : has some merit... > > > > How could the kernel know all possible device drivers, even third > > party ones? > > That's the point about how Solaris does this (or did- originally). > > I have a card identifying itself as "Fred". At boot (or boot/reconfigure) > time, you tentatively load all drivers and enter their identify entry point > with a dev_info_t asking, "do you drive this device?". Simple enough. The hard > part is to try (if you think it's important) to arbitrate between several > different drivers who want to drive that device. Our plans already cover this (more or less) - we put metadata in the driver object so you don't actually have to load it to decide whether it's a contender, and we have an arbitration scheme in place already. The issue is - why print a message when you can just load the damn driver already? -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message