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.
This commit is contained in:
Nate Williams 1994-01-04 20:05:26 +00:00
parent ae73cec93c
commit 4aba964ef1
2 changed files with 706 additions and 588 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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