Date: Sat, 4 Jul 1998 15:30:27 -0700 (PDT) From: Julian Elischer <julian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/dev/ccd ccd.c src/sys/dev/slice slice_device.c src/sys/dev/vn vn.c src/sys/i386/i386 autoconf.c src/sys/i386/isa fd.c labpc.c mcd.c scd.c wcd.c wd.c wfd.c wst.c wt.c src/sys/i386/isa/matcd matcd.c src/sys/isofs/cd9660 ... Message-ID: <199807042230.PAA18022@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
julian 1998/07/04 15:30:27 PDT Modified files: sys/dev/ccd ccd.c sys/dev/slice slice_device.c sys/dev/vn vn.c sys/i386/i386 autoconf.c sys/i386/isa fd.c labpc.c mcd.c scd.c wcd.c wd.c wfd.c wst.c wt.c sys/i386/isa/matcd matcd.c sys/isofs/cd9660 cd9660_vfsops.c sys/kern kern_conf.c kern_physio.c subr_diskslice.c vfs_aio.c sys/miscfs/devfs devfs_tree.c devfsdefs.h sys/miscfs/specfs spec_vnops.c sys/scsi cd.c od.c pt.c sctarg.c sd.c st.c su.c worm.c sys/sys conf.h diskslice.h lkm.h sys/vm vm_swap.c Log: There is no such thing any more as "struct bdevsw". There is only cdevsw (which should be renamed in a later edit to deventry or something). cdevsw contains the union of what were in both bdevsw an cdevsw entries. The bdevsw[] table stiff exists and is a second pointer to the cdevsw entry of the device. it's major is in d_bmaj rather than d_maj. some cleanup still to happen (e.g. dsopen now gets two pointers to the same cdevsw struct instead of one to a bdevsw and one to a cdevsw). rawread()/rawwrite() went away as part of this though it's not strictly the same patch, just that it involves all the same lines in the drivers. cdroms no longer have write() entries (they did have rawwrite (?)). tapes no longer have support for bdev operations. Reviewed by: Eivind Eklund and Mike Smith Changes suggested by eivind. Revision Changes Path 1.35 +22 -8 src/sys/dev/ccd/ccd.c 1.7 +23 -17 src/sys/dev/slice/slice_device.c 1.64 +25 -7 src/sys/dev/vn/vn.c 1.100 +2 -2 src/sys/i386/i386/autoconf.c 1.115 +27 -8 src/sys/i386/isa/fd.c 1.26 +18 -3 src/sys/i386/isa/labpc.c 1.99 +20 -8 src/sys/i386/isa/mcd.c 1.39 +18 -8 src/sys/i386/isa/scd.c 1.57 +18 -9 src/sys/i386/isa/wcd.c 1.170 +30 -10 src/sys/i386/isa/wd.c 1.12 +30 -13 src/sys/i386/isa/wfd.c 1.8 +27 -10 src/sys/i386/isa/wst.c 1.45 +25 -10 src/sys/i386/isa/wt.c 1.35 +19 -11 src/sys/i386/isa/matcd/matcd.c 1.41 +2 -2 src/sys/isofs/cd9660/cd9660_vfsops.c 1.27 +91 -84 src/sys/kern/kern_conf.c 1.27 +6 -26 src/sys/kern/kern_physio.c 1.47 +2 -2 src/sys/kern/subr_diskslice.c 1.30 +5 -4 src/sys/kern/vfs_aio.c 1.55 +3 -3 src/sys/miscfs/devfs/devfs_tree.c 1.15 +2 -2 src/sys/miscfs/devfs/devfsdefs.h 1.65 +3 -4 src/sys/miscfs/specfs/spec_vnops.c 1.95 +17 -9 src/sys/scsi/cd.c 1.41 +24 -9 src/sys/scsi/od.c 1.29 +16 -2 src/sys/scsi/pt.c 1.27 +16 -2 src/sys/scsi/sctarg.c 1.132 +26 -8 src/sys/scsi/sd.c 1.90 +24 -6 src/sys/scsi/st.c 1.20 +36 -62 src/sys/scsi/su.c 1.58 +23 -7 src/sys/scsi/worm.c 1.43 +5 -27 src/sys/sys/conf.h 1.23 +3 -3 src/sys/sys/diskslice.h 1.18 +3 -3 src/sys/sys/lkm.h 1.56 +23 -7 src/sys/vm/vm_swap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807042230.PAA18022>