Commit Graph

22 Commits

Author SHA1 Message Date
thorpej 20783f6b85 Bring in several changes from the ccd:
* Be a bit better with prototypes
	* Use struct dkdevice in vnd_softc.
	* Prevent the unit from being unconfigured while open.
	* Implement a simple locking mechanism and use it for sanity's
	  sake.
Still needs more work; needs to support disklabels and the like.
1995-11-06 20:28:09 +00:00
mycroft d40c1f54bd Lock the underlying vnode around VOP_BMAP() and VOP_READ(). From John Kohl. 1995-10-05 06:20:57 +00:00
mycroft 7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
cgd bc9de32349 make dump stubs consistent 1995-06-26 05:34:44 +00:00
cgd 8f6f7fb7c9 use a buf-within-struct to avoid overloading b_pfcent. 1995-02-27 19:31:00 +00:00
cgd d9f7c9f9be vn -> vnd renaming, for consistency 1995-01-25 04:45:38 +00:00
cgd a596d50f29 various cleanups for -Wall, suggested by James Jegers. 1994-12-24 14:05:51 +00:00
mycroft a395d884d5 Remove extra arg to d_open and vn_open(). 1994-12-14 19:09:13 +00:00
christos c2c3dce760 added extra argument to vn_open 1994-11-14 06:00:10 +00:00
cgd 6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
cgd f32f66a23b fix (bogus) default ioctl return. 1994-08-24 16:49:16 +00:00
cgd cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
cgd 89e331dcad new standard, minimally intrusive ID format 1994-06-27 19:40:57 +00:00
cgd 72cf8eaa9d kill some pre-lite code that was #ifdef'd appropriately 1994-06-14 00:25:43 +00:00
cgd cf1b01e3cc provide upgrade notice 1994-05-24 01:05:33 +00:00
mycroft 19017044cf Get rid of the private vnread() and vnwrite(); they are the same as rawread()
and rawwrite().
1994-05-11 10:03:59 +00:00
mycroft ef8ba60d24 Device strategy functions return void again. 1994-05-11 04:26:17 +00:00
cgd 28aa66d455 update from hibler 1994-04-20 05:01:22 +00:00
deraadt 8f09bb0623 add vnclose function 1994-02-27 08:41:11 +00:00
cgd e9a8e9c41d fix that last 1993-12-21 06:01:32 +00:00
brezak fc69cb8898 Tweak for BSD44/NetBSD environ. 1993-12-21 05:24:31 +00:00
brezak e678ab8242 vnode driver (from Mike Hibler make@cs.utah.edu) 1993-12-21 04:17:02 +00:00