diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-12 15:40:34 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-12 15:40:34 +0000 |
commit | 863b60f4757a6099cb3d4cd2929f329b25d32e68 (patch) | |
tree | 2a7712531ca485cdb471f9dbf7b496e0c7bc40ea /sys/dev/pci/pcivar.h | |
parent | d468f5520cb27434701c19a9a1c745b39679516b (diff) |
Make pci_mapreg_map take an extra argument where we can
put a size limitation of the PCI region to map. That makes the PERC 3/Di
raid controller usable, as it publishes too much PCI memory for us to map
in the kernel virtual memory. As we only access the first 256 byte it is
of no use to map 128MB of kvm.
Diffstat (limited to 'sys/dev/pci/pcivar.h')
-rw-r--r-- | sys/dev/pci/pcivar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index 9ea59b9cbfd..bc11ab3917b 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcivar.h,v 1.18 2000/06/09 16:09:09 chris Exp $ */ +/* $OpenBSD: pcivar.h,v 1.19 2001/06/12 15:40:33 niklas Exp $ */ /* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */ /* @@ -167,7 +167,7 @@ int pci_mapreg_info __P((pci_chipset_tag_t, pcitag_t, int, pcireg_t, bus_addr_t *, bus_size_t *, int *)); int pci_mapreg_map __P((struct pci_attach_args *, int, pcireg_t, int, bus_space_tag_t *, bus_space_handle_t *, bus_addr_t *, - bus_size_t *)); + bus_size_t *, bus_size_t)); int pci_io_find __P((pci_chipset_tag_t, pcitag_t, int, bus_addr_t *, |