summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-07-05 03:11:51 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-07-05 03:11:51 +0000
commit7bb441f44b70163a478bd1f2d66155487a04c2e7 (patch)
treea8f95f7f82635ec6314512692d918a371cff97e7 /sys
parentaa739295eb3dd47fb1c503183ec2b99acf0dca6c (diff)
I doubt this fixes this driver, but what *was* there was *obviously* wrong;
at least if *this* is wrong, it matches the wrongness of the surrounding block of code.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_fxp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_fxp.c b/sys/dev/pci/if_fxp.c
index 76d24aa5e85..4bcc5df7ab5 100644
--- a/sys/dev/pci/if_fxp.c
+++ b/sys/dev/pci/if_fxp.c
@@ -332,8 +332,7 @@ fxp_attach(parent, self, aux)
return;
}
#else
- if (pci_io_find(pc, pa->pa_tag, PCI_MAPREG_TYPE_MEM,
- &iobase, &iosize)) {
+ if (pci_io_find(pc, pa->pa_tag, FXP_PCI_IOBA, &iobase, &iosize)) {
printf(": can't find i/o space\n");
return;
}