diff options
author | nate <nate@FreeBSD.org> | 1994-01-04 20:05:26 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1994-01-04 20:05:26 +0000 |
commit | 69c2227b715d6879789bd1e1c45fdc203102c18d (patch) | |
tree | 9203d6616b9cf4c107d3c1a6ce2f8d3dbd2ded3b /sys/i386/isa/wdreg.h | |
parent | 740983324745f576142f603d8032372fed94ff82 (diff) | |
download | FreeBSD-src-69c2227b715d6879789bd1e1c45fdc203102c18d.zip FreeBSD-src-69c2227b715d6879789bd1e1c45fdc203102c18d.tar.gz |
New wd driver, based on Bruce Evans 'wx/altwd' driver which has passed
enough tests to be considered more stable than current driver.
Lots of work by Bruce, David G., and Guido have gone into this version, and
more is to come in the future.
Support for multiple controllers is in, but doesn't work correctly with
different controllers (IDE AND MFM), but multiple alike controllers appears
to work.
Most of the stray interrupts problems should be fixed, although you will
get a couple 'extra interrupts' when disklabeling and on startup.
Diffstat (limited to 'sys/i386/isa/wdreg.h')
-rw-r--r-- | sys/i386/isa/wdreg.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/i386/isa/wdreg.h b/sys/i386/isa/wdreg.h index f49416c..2694bed 100644 --- a/sys/i386/isa/wdreg.h +++ b/sys/i386/isa/wdreg.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)wdreg.h 7.1 (Berkeley) 5/9/91 - * $Id: wdreg.h,v 1.4 1993/10/16 13:46:33 rgrimes Exp $ + * $Id: wxreg.h,v 1.1 1993/10/26 22:26:39 nate Exp $ */ /* @@ -130,15 +130,15 @@ struct wdparams { /* * wd driver entry points */ -int wdprobe(struct isa_device *); -int wdattach(struct isa_device *); -void wdstrategy(struct buf *); -void wdintr(struct intrframe); -int wdopen(dev_t, int, int, struct proc *); +void wdstrategy(struct buf *bp); +void wdintr(int unit); +int wdopen(dev_t dev, int flags, int fmt, struct proc *p); int wdclose(dev_t dev, int flags, int fmt); -int wdioctl(dev_t, int, caddr_t, int); -/* int wdformat(struct buf *bp); */ -int wdsize(dev_t); -int wddump(dev_t); +int wdioctl(dev_t dev, int cmd, caddr_t addr, int flag); +#ifdef B_FORMAT +int wdformat(struct buf *bp); +#endif +int wdsize(dev_t dev); +int wddump(dev_t dev); -#endif /* KERNEL */ +#endif KERNEL |