summaryrefslogtreecommitdiff
path: root/sys/dev/ata
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1993-04-09 16:25:07 +0000
committercgd <cgd@NetBSD.org>1993-04-09 16:25:07 +0000
commitc2176edbac89d585d32405347da54d93e047d56c (patch)
treea623c40946d8524adef482368cd0a030456ae053 /sys/dev/ata
parent2bbe287e49b0778c9878c780df771a56153e8425 (diff)
have probe return size of io space on successful return, rather
than simply 1.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/wd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 335c1ec30ae..b7dd7b09b9b 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -209,7 +209,7 @@ wdprobe(struct isa_device *dvp)
bzero(&wdtab[du->dk_ctrlr], sizeof(struct buf));
free(du, M_TEMP);
- return (1);
+ return (8);
nodevice:
free(du, M_TEMP);