diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-08-23 20:59:21 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-08-23 20:59:21 +0000 |
commit | 9dcbe2404a244059708f3bbc8cbfa0a14887c4ea (patch) | |
tree | 627cf9c78fb38268a3abc09deb78d86c316d87e6 /sys/i386/isa/atapi-cd.h | |
parent | d9183205179005f7582d41a23d4588b0b1140298 (diff) | |
download | src-9dcbe2404a244059708f3bbc8cbfa0a14887c4ea.tar.gz src-9dcbe2404a244059708f3bbc8cbfa0a14887c4ea.zip |
Convert DEVFS hooks in (most) drivers to make_dev().
Diskslice/label code not yet handled.
Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)
Add the correct hook for devfs to kern_conf.c
The net result of this excercise is that a lot less files depends on DEVFS,
and devtoname() gets more sensible output in many cases.
A few drivers had minor additional cleanups performed relating to cdevsw
registration.
A few drivers don't register a cdevsw{} anymore, but only use make_dev().
Notes
Notes:
svn path=/head/; revision=50254
Diffstat (limited to 'sys/i386/isa/atapi-cd.h')
-rw-r--r-- | sys/i386/isa/atapi-cd.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/i386/isa/atapi-cd.h b/sys/i386/isa/atapi-cd.h index 86ab3456b2aa..5bde4b72d157 100644 --- a/sys/i386/isa/atapi-cd.h +++ b/sys/i386/isa/atapi-cd.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: atapi-cd.h,v 1.2 1998/10/15 08:11:55 sos Exp $ + * $Id: atapi-cd.h,v 1.3 1999/01/31 21:51:03 sos Exp $ */ /* @@ -346,12 +346,6 @@ struct acd { u_char speed; /* Select drive speed */ u_int next_writeable_lba; /* Next writable position */ struct wormio_prepare_track preptrack; /* Scratch region */ -#ifdef DEVFS - void *ra_devfs_token; - void *rc_devfs_token; - void *a_devfs_token; - void *c_devfs_token; -#endif }; #define CDRIOCBLANK _IO('c',100) /* Blank a CDRW disc */ |