diff options
| author | cgd <cgd@NetBSD.org> | 1993-04-09 16:25:07 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1993-04-09 16:25:07 +0000 |
| commit | c2176edbac89d585d32405347da54d93e047d56c (patch) | |
| tree | a623c40946d8524adef482368cd0a030456ae053 /sys/dev | |
| parent | 2bbe287e49b0778c9878c780df771a56153e8425 (diff) | |
have probe return size of io space on successful return, rather
than simply 1.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ata/wd.c | 2 | ||||
| -rw-r--r-- | sys/dev/eisa/aha1742.c | 2 | ||||
| -rw-r--r-- | sys/dev/isa/wd.c | 2 |
3 files changed, 3 insertions, 3 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); diff --git a/sys/dev/eisa/aha1742.c b/sys/dev/eisa/aha1742.c index 6ecbf7a2e52..8c28f85b404 100644 --- a/sys/dev/eisa/aha1742.c +++ b/sys/dev/eisa/aha1742.c @@ -454,7 +454,7 @@ struct isa_dev *dev; && ((byte3 == 0 ) || (byte3 == 1))) { dev->dev_addr = port; - return(ahbprobe1(dev)); + return(ahbprobe1(dev) ? 0x1000 : 0); } ahb_slot++; } diff --git a/sys/dev/isa/wd.c b/sys/dev/isa/wd.c index 335c1ec30ae..b7dd7b09b9b 100644 --- a/sys/dev/isa/wd.c +++ b/sys/dev/isa/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); |
