From owner-freebsd-hackers Fri Apr 23 16:51:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (castles539.castles.com [208.214.165.103]) by hub.freebsd.org (Postfix) with ESMTP id 807A614CF5 for ; Fri, 23 Apr 1999 16:51:47 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id QAA01772; Fri, 23 Apr 1999 16:48:15 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199904232348.QAA01772@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Joachim Isaksson" Cc: "Warner Losh" , hackers@FreeBSD.ORG Subject: Re: Generic PnP? (Was: Re: IrDA? PnP?) In-reply-to: Your message of "Thu, 22 Apr 1999 19:02:19 +0200." <00ae01be8ce1$e2f686d0$8cbc2dc1@ibfs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 23 Apr 1999 16:48:15 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > : 4) As I (so far) understand it, the PnP functionality is a special "hack" > > : for the ISA bus right now and could not easily be extended to integrate PnP > > : devices on the IrDA bus? Is this assumption correct? If so, is anyone > > > > Yes. PnP is too generic a term to have generic code. PCI pnp and > > parallel port PnP are both radically different than isa pnp or serial > > port pnp. > > Well, in the kernel I agree that it would be hard to use generic code, but does > it have to be as tough as it is now for userland to do something intelligent, > really? > > For example, if the PCI, ISA, USB and sio drivers know how to plug and play > devices connected to "their bus" and export collected info through a common > device (for example /dev/pnp0), a userland process would easily load and unload > kernel modules as needed without knowing the bus PnP specifics. This model would > rather easily integrate IrDA PnP too. > > I can't see that this would be very hard to implement, but then I'm not a kernel > guru (yet :-) It's not a question of "hard" so much as "useful". -- \\ 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