summaryrefslogtreecommitdiffstats
path: root/sys/pci/aic7870.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-04 14:43:30 +0000
committerbde <bde@FreeBSD.org>1995-11-04 14:43:30 +0000
commit7c623a0f2b9ac109c5787e4ccbd9c44e73cf38d4 (patch)
tree9e196b2a73845bd22645305f0f4b170ece1b3afa /sys/pci/aic7870.c
parent6e2f3d416d4ce07e6bb490e08ca92e39a8e25cec (diff)
downloadFreeBSD-src-7c623a0f2b9ac109c5787e4ccbd9c44e73cf38d4.zip
FreeBSD-src-7c623a0f2b9ac109c5787e4ccbd9c44e73cf38d4.tar.gz
Fixed the type of ahcintr(). The type of an ISA interrupt handler is
incompatible with the type of a PCI interrupt handler. A new entry point `ahc_pci_intr()' is used for PCI. ISA and PCI interrupts are penalized equally (:-) by calling a common handler `ahc_intr()'. This should be reorganized. Some strings now name the wrong function...
Diffstat (limited to 'sys/pci/aic7870.c')
-rw-r--r--sys/pci/aic7870.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/aic7870.c b/sys/pci/aic7870.c
index 4ad2d2e..cf5602c 100644
--- a/sys/pci/aic7870.c
+++ b/sys/pci/aic7870.c
@@ -19,7 +19,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: aic7870.c,v 1.15 1995/10/08 17:46:11 gibbs Exp $
+ * $Id: aic7870.c,v 1.16 1995/10/26 23:58:59 gibbs Exp $
*/
#include <pci.h>
@@ -176,7 +176,7 @@ aic7870_attach(config_id, unit)
* interrupt handler, we pass the unit number
* not a pointer to our per device structure.
*/
- if(!(pci_map_int(config_id, ahcintr, (void *)unit,
+ if(!(pci_map_int(config_id, ahc_pci_intr, (void *)unit,
&bio_imask))) {
free(ahcdata[unit], M_TEMP);
ahcdata[unit] = NULL;
OpenPOWER on IntegriCloud