Date: Sun, 13 Aug 2000 17:09:04 -0700 From: Devin Butterfield <dbutter@wireless.net> To: Warner Losh <imp@village.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: "Unknown" driver gobbles resources?? Message-ID: <399738A0.EFDCA5FA@wireless.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?399738A0.EFDCA5FA>