diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2001-06-25 20:25:56 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2001-06-25 20:25:56 +0000 |
commit | 37ffca3daf30ca86f733efff78ab8a92175bb774 (patch) | |
tree | ab115835788b428b115fdb54c99edad1250d362f /sys/dev/pci/cz.c | |
parent | a7a6103ab9bb4b69da543361bb4767658660feb8 (diff) |
pci_mapreg_map requires another argument
Diffstat (limited to 'sys/dev/pci/cz.c')
-rw-r--r-- | sys/dev/pci/cz.c | 6 |
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; |