From owner-freebsd-stable Thu Jun 4 11:03:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA25567 for freebsd-stable-outgoing; Thu, 4 Jun 1998 11:03:45 -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 LAA25523 for ; Thu, 4 Jun 1998 11:03:27 -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 SAA09644; Thu, 4 Jun 1998 18:24:37 +0200 From: Luigi Rizzo Message-Id: <199806041624.SAA09644@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 18:24:36 +0200 (MET DST) Cc: mike@smith.net.au, eivind@yes.no, paterno@dsi.UNIFI.IT, freebsd-stable@FreeBSD.ORG In-Reply-To: <199806041650.JAA00468@dingo.cdrom.com> from "Mike Smith" at Jun 4, 98 09:49:56 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > We use dset for saving fixed-size data back into preallocated > structures. The ugliness involved in having this data associated with > one and only one kernel should be obvious; the mappings are independant > of kernel configuration and/or driver configuration. > I should be able to edit (eg.) /boot/devicemap and add a new PnP device > without having to update my kernel source and/or stuff the new data > into an installed kernel with dset. it's a hack -- no doubt about it. But being a manual mechanism is simpler to program and more flexible than something that fetches the compatibility IDs from a PnP descriptor. Perhaps we can add an option to dset to move this info between installed kernels and regular files, so as to make them more persistent. 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