From owner-freebsd-stable Thu Jun 4 01:08:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23905 for freebsd-stable-outgoing; Thu, 4 Jun 1998 01:08:13 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA23697 for ; Thu, 4 Jun 1998 01:07:49 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA08888; Thu, 4 Jun 1998 08:28:27 +0200 From: Luigi Rizzo Message-Id: <199806040628.IAA08888@labinfo.iet.unipi.it> Subject: Re: PnP support for if_ed, and more... To: mike@smith.net.au (Mike Smith) Date: Thu, 4 Jun 1998 08:28:26 +0200 (MET DST) Cc: eivind@yes.no, mike@smith.net.au, paterno@dsi.UNIFI.IT, freebsd-stable@FreeBSD.ORG In-Reply-To: <199806040542.WAA00634@antipodes.cdrom.com> from "Mike Smith" at Jun 3, 98 10:42:19 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > But i don't think it is worth the effort to implement a full scan of > > the PnP info. What I think we would really need is a simple > > mechanism (perhaps in userconfig) to list vendor_id's known to the > > kernel, and map new id's to know ids. ... > > Wouldn't be too hard to add (just set up a list of id's, to fill up with > > DATA_SET in the kenrel, and modify userconfig to add the above > > commands), and it is sufficiently flexible to add new 'compatible' > > devices. > > Linking this into the kernel would be bad; it ought to be read from a > file. I think I am close to having BIOS disk access working at least uh ? we have been using "dset" for a long time to store this kind of information into the kernel. Just allocate a mapping table in the kernel (a map entry is 8 bytes after all, so we don't even have to worry about kernel bloat). cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message