Date: Fri, 3 Sep 93 01:25:44 +1000

From: bde@kralizec.zeta.org.au (Bruce Evans)

This fixes several problems.

It has almost everything that is in the FreeBSD version of Aug 22.
It is missing the bug for 2 drives and still prints <> around the
drive type.  It handles BADEND144 less verbosely.  It does wdgetctlr()
somewhat differently from NetBSD/FreeBSD.

Date: Sun Sep  5 06:45:12 PDT 1993
From: rgrimes@cdrom.com

Fixed printf's to be correct, since Bruce used the old ones.  This driver
still prints phantom wd1's on some Maxtor and other IDE drives, I have
a patch I am sending to Bruce for checking.
This commit is contained in:
Rodney W. Grimes 1993-09-05 13:46:17 +00:00
parent e0ab6cb9c7
commit cfd895c81e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=384
2 changed files with 469 additions and 363 deletions

File diff suppressed because it is too large Load Diff

View File

@ -129,15 +129,15 @@ struct wdparams {
/*
* wd driver entry points
*/
int wdprobe(struct isa_device *);
int wdattach(struct isa_device *);
int 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