diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-09-05 13:46:17 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-09-05 13:46:17 +0000 |
commit | 89a7e9d6d944a1bb3c3588f6bed7ddbe8953beab (patch) | |
tree | 2630eca457ad24aa0a3ec736a271e960bb21dd45 /sys/i386/isa/wdreg.h | |
parent | e9a6985275ef309d1f9f603df83efd30018f94f8 (diff) | |
download | FreeBSD-src-89a7e9d6d944a1bb3c3588f6bed7ddbe8953beab.zip FreeBSD-src-89a7e9d6d944a1bb3c3588f6bed7ddbe8953beab.tar.gz |
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.
Diffstat (limited to 'sys/i386/isa/wdreg.h')
-rw-r--r-- | sys/i386/isa/wdreg.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/i386/isa/wdreg.h b/sys/i386/isa/wdreg.h index d938915..24d1897 100644 --- a/sys/i386/isa/wdreg.h +++ b/sys/i386/isa/wdreg.h @@ -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 |