summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-01-17 12:24:48 +0000
committerkato <kato@FreeBSD.org>1999-01-17 12:24:48 +0000
commitc09aa82d6b5ecfdf5ca0e112fb280fede3ae2885 (patch)
tree108f07518e4433034d8d32b98c34b67eb8b7d8aa
parent8c857c9d16c7b67995d2b354e42ade8dbb78168f (diff)
downloadFreeBSD-src-c09aa82d6b5ecfdf5ca0e112fb280fede3ae2885.zip
FreeBSD-src-c09aa82d6b5ecfdf5ca0e112fb280fede3ae2885.tar.gz
Sync with sys/i386/isa/wd.c revision 1.186.
-rw-r--r--sys/pc98/pc98/wd.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c
index 63038f4..eb6522b 100644
--- a/sys/pc98/pc98/wd.c
+++ b/sys/pc98/pc98/wd.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.69 1999/01/03 17:26:04 kato Exp $
+ * $Id: wd.c,v 1.70 1999/01/16 11:43:12 kato Exp $
*/
/* TODO:
@@ -340,7 +340,8 @@ wdprobe(struct isa_device *dvp)
du->dk_port = dvp->id_iobase;
if (wddma[interface].wdd_candma != NULL) {
du->dk_dmacookie =
- wddma[interface].wdd_candma(dvp->id_iobase, du->dk_ctrlr);
+ wddma[interface].wdd_candma(dvp->id_iobase, du->dk_ctrlr,
+ du->dk_unit);
du->dk_altport =
wddma[interface].wdd_altiobase(du->dk_dmacookie);
}
@@ -2096,7 +2097,8 @@ failed:
* check drive's DMA capability
*/
if (wddma[du->dk_interface].wdd_candma) {
- du->dk_dmacookie = wddma[du->dk_interface].wdd_candma(du->dk_port, du->dk_ctrlr);
+ du->dk_dmacookie = wddma[du->dk_interface].wdd_candma(
+ du->dk_port, du->dk_ctrlr, du->dk_unit);
/* does user want this? */
if ((du->cfg_flags & WDOPT_DMA) &&
/* have we got a DMA controller? */
OpenPOWER on IntegriCloud