summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/pci_compat.c4
-rw-r--r--sys/pci/pcivar.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/pci/pci_compat.c b/sys/pci/pci_compat.c
index dc726f5..d72c7fa 100644
--- a/sys/pci/pci_compat.c
+++ b/sys/pci/pci_compat.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pci_compat.c,v 1.3 1997/05/30 20:58:04 se Exp $
+ * $Id: pci_compat.c,v 1.2 1997/08/21 07:00:12 smp Exp smp $
*
*/
@@ -169,7 +169,7 @@ pci_map_int(pcici_t cfg, pci_inthand_t *func, void *arg, unsigned *maskptr)
void *dev_instance = (void *)-1; /* XXX use cfg->devdata */
void *idesc;
- idesc = intr_create(dev_instance, irq, func, arg, maskptr, 0);
+ idesc = intr_create(dev_instance, irq, (inthand2_t*)func, arg, maskptr, 0);
return (intr_connect(idesc) == 0);
}
return (1);
diff --git a/sys/pci/pcivar.h b/sys/pci/pcivar.h
index 4bb8496..9b1db34 100644
--- a/sys/pci/pcivar.h
+++ b/sys/pci/pcivar.h
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: pcivar.h,v 1.2 1997/08/21 06:54:09 smp Exp smp $
*
*/
@@ -199,5 +199,6 @@ int pci_map_mem (pcici_t tag, u_long reg, vm_offset_t* va, vm_offset_t* pa);
int pci_map_int (pcici_t tag, pci_inthand_t *func, void *arg, unsigned *maskptr);
int pci_unmap_int (pcici_t tag);
int pci_register_lkm (struct pci_device *dvp, int if_revision);
+void pci_configure (void);
#endif /* PCI_COMPAT */
OpenPOWER on IntegriCloud