Subject: Re: Proposed change to a whole load of drivers...
To: None <explorer@flame.org>
From: Mike Long <mike.long@analog.com>
List: tech-kern
Date: 09/10/1996 15:28:25
>From: Michael Graff <explorer@flame.org>
>Date: 10 Sep 1996 15:00:46 -0400

>One thing I would like to see on each and every device driver is a
>common IOCTL which will return what _type_ of device it is, a device
>specific name, unit number, etc.  This could also be extended into
>a way of retreiving all known devices, since it could extract the
>data is knows about from the internal softc and put it into a
>"well known" form or something...

Such a method assumes that all devices have a character interface
(/dev/*), and would miss (at least) all network devices.  There are
better ways than IOCTL to access this data.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil