From: tholo Date: Fri, 22 Mar 1996 18:27:25 +0000 (+0000) Subject: Fix previous changes; we actually take a device name too so as to avoid X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=39c81a1982cedaa8134296f9a7dd1837a7ca765a;p=openbsd Fix previous changes; we actually take a device name too so as to avoid having just non-descript "pci" devices show up in interrupt stats --- diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h index bcaa1e5ae42..d56141cc02b 100644 --- a/sys/dev/pci/pcivar.h +++ b/sys/dev/pci/pcivar.h @@ -60,7 +60,7 @@ pcireg_t pci_conf_read __P((pcitag_t, int)); void pci_conf_write __P((pcitag_t, int, pcireg_t)); void pci_devinfo __P((pcireg_t, pcireg_t, char *, int *)); pcitag_t pci_make_tag __P((int, int, int)); -void *pci_map_int __P((pcitag_t, int, int (*)(void *), void *)); +void *pci_map_int __P((pcitag_t, int, int (*)(void *), void *, char *)); int pci_map_mem __P((pcitag_t, int, vm_offset_t *, vm_offset_t *)); int pci_attach_subdev __P((struct device *, int, int));