summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-06-25 20:25:56 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-06-25 20:25:56 +0000
commit37ffca3daf30ca86f733efff78ab8a92175bb774 (patch)
treeab115835788b428b115fdb54c99edad1250d362f /sys/dev
parenta7a6103ab9bb4b69da543361bb4767658660feb8 (diff)
pci_mapreg_map requires another argument
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/cz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/cz.c b/sys/dev/pci/cz.c
index d3978231f12..4037ba6d249 100644
--- a/sys/dev/pci/cz.c
+++ b/sys/dev/pci/cz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cz.c,v 1.1 2001/06/21 13:21:50 nate Exp $ */
+/* $OpenBSD: cz.c,v 1.2 2001/06/25 20:25:55 nate Exp $ */
/* $NetBSD: cz.c,v 1.15 2001/01/20 19:10:36 thorpej Exp $ */
/*-
@@ -316,14 +316,14 @@ cz_attach(parent, self, aux)
if (pci_mapreg_map(pa, PLX_PCI_RUNTIME_MEMADDR,
PCI_MAPREG_TYPE_MEM|PCI_MAPREG_MEM_TYPE_32BIT, 0,
- &cz->cz_plx.plx_st, &cz->cz_plx.plx_sh, NULL, NULL) != 0) {
+ &cz->cz_plx.plx_st, &cz->cz_plx.plx_sh, NULL, NULL, 0) != 0) {
printf("%s: unable to map PLX registers\n",
cz->cz_dev.dv_xname);
return;
}
if (pci_mapreg_map(pa, PLX_PCI_LOCAL_ADDR0,
PCI_MAPREG_TYPE_MEM|PCI_MAPREG_MEM_TYPE_32BIT, 0,
- &cz->cz_win_st, &cz->cz_win_sh, NULL, NULL) != 0) {
+ &cz->cz_win_st, &cz->cz_win_sh, NULL, NULL, 0) != 0) {
printf("%s: unable to map device window\n",
cz->cz_dev.dv_xname);
return;