From owner-freebsd-hackers Sun Aug 13 17: 9:12 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from wireless.net (wireless.net [207.137.156.159]) by hub.freebsd.org (Postfix) with ESMTP id 76E2237B806 for ; Sun, 13 Aug 2000 17:09:08 -0700 (PDT) (envelope-from dbutter@wireless.net) Received: from db.wireless.net (db.wireless.net [209.75.70.101]) by wireless.net (8.9.3/8.9.3) with ESMTP id RAA06227; Sun, 13 Aug 2000 17:09:14 -0700 (PDT) Received: from wireless.net (dbm.wireless.net [192.168.0.2]) by db.wireless.net (8.9.3/8.9.3) with ESMTP id RAA47096; Sun, 13 Aug 2000 17:01:50 -0700 (PDT) (envelope-from dbutter@wireless.net) Message-ID: <399738A0.EFDCA5FA@wireless.net> Date: Sun, 13 Aug 2000 17:09:04 -0700 From: Devin Butterfield X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: "Unknown" driver gobbles resources?? References: <39969072.EED2B8F6@wireless.net> <200008112235.PAA00839@mass.osd.bsdi.com> <39953196.1103F555@wireless.net> <200008121302.JAA00442@jupiter.delta.ny.us> <200008132257.QAA10640@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > In message <39969072.EED2B8F6@wireless.net> Devin Butterfield writes: > : So my question is this: Do I need to do anything special to recover the > : resources from the unknown driver so that during loading *my* module can > : get the resources it needs?? Do I need to add something to my identify, > : probe, or attach routines to make this work right? > > With modern enough versions of -current, you shouldn't have to do > anything at all to make this work. It should just happen. And you'll > likely not need an identify routine. The Unknown device just sucks up > the plug and play resources. Therefore, there's already a device node > in the tree addociated with that plug and play hardware, so your probe > routine will just be called. > > However, this is fairly recent (like on the order of the first part of > July, 2000). Before that you did ineed have to jump though many many > hoops to make this work. Hmmmm....are there any plans to "back-port" this to -STABLE? Or do we have to wait for 5.0? -- Regards, Devin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message