diff options
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/eisa/eisaconf.c | 5 | ||||
| -rw-r--r-- | sys/dev/vx/if_vx_eisa.c | 4 | ||||
| -rw-r--r-- | sys/i386/eisa/eisaconf.c | 5 | ||||
| -rw-r--r-- | sys/i386/eisa/if_vx_eisa.c | 4 |
4 files changed, 12 insertions, 6 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c index 18f4681dbfe5d..7153df6ff03f2 100644 --- a/sys/dev/eisa/eisaconf.c +++ b/sys/dev/eisa/eisaconf.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: eisaconf.c,v 1.27 1997/03/13 18:04:02 joerg Exp $ + * $Id: eisaconf.c,v 1.28 1997/07/20 06:31:09 bde Exp $ */ #include "opt_eisa.h" @@ -42,6 +42,9 @@ #include <i386/isa/icu.h> /* Hmmm. Interrupt stuff? */ +#include <i386/isa/intr_machdep.h> +#include <sys/interrupt.h> + struct eisa_device_node{ struct eisa_device dev; struct eisa_device_node *next; diff --git a/sys/dev/vx/if_vx_eisa.c b/sys/dev/vx/if_vx_eisa.c index f185164674bb1..73735f5ce5a9d 100644 --- a/sys/dev/vx/if_vx_eisa.c +++ b/sys/dev/vx/if_vx_eisa.c @@ -163,7 +163,7 @@ vx_eisa_attach(e_dev) level_intr = FALSE; - if (eisa_reg_intr(e_dev, irq, vxintr, (void *) sc, &net_imask, + if (eisa_reg_intr(e_dev, irq, (void (*)(void *)) vxintr, (void *) sc, &net_imask, /* shared == */ level_intr)) { vxfree(sc); return -1; @@ -176,7 +176,7 @@ vx_eisa_attach(e_dev) if (eisa_enable_intr(e_dev, irq)) { vxfree(sc); - eisa_release_intr(e_dev, irq, vxintr); + eisa_release_intr(e_dev, irq, (void (*)(void *)) vxintr); return -1; } return 0; diff --git a/sys/i386/eisa/eisaconf.c b/sys/i386/eisa/eisaconf.c index 18f4681dbfe5d..7153df6ff03f2 100644 --- a/sys/i386/eisa/eisaconf.c +++ b/sys/i386/eisa/eisaconf.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: eisaconf.c,v 1.27 1997/03/13 18:04:02 joerg Exp $ + * $Id: eisaconf.c,v 1.28 1997/07/20 06:31:09 bde Exp $ */ #include "opt_eisa.h" @@ -42,6 +42,9 @@ #include <i386/isa/icu.h> /* Hmmm. Interrupt stuff? */ +#include <i386/isa/intr_machdep.h> +#include <sys/interrupt.h> + struct eisa_device_node{ struct eisa_device dev; struct eisa_device_node *next; diff --git a/sys/i386/eisa/if_vx_eisa.c b/sys/i386/eisa/if_vx_eisa.c index f185164674bb1..73735f5ce5a9d 100644 --- a/sys/i386/eisa/if_vx_eisa.c +++ b/sys/i386/eisa/if_vx_eisa.c @@ -163,7 +163,7 @@ vx_eisa_attach(e_dev) level_intr = FALSE; - if (eisa_reg_intr(e_dev, irq, vxintr, (void *) sc, &net_imask, + if (eisa_reg_intr(e_dev, irq, (void (*)(void *)) vxintr, (void *) sc, &net_imask, /* shared == */ level_intr)) { vxfree(sc); return -1; @@ -176,7 +176,7 @@ vx_eisa_attach(e_dev) if (eisa_enable_intr(e_dev, irq)) { vxfree(sc); - eisa_release_intr(e_dev, irq, vxintr); + eisa_release_intr(e_dev, irq, (void (*)(void *)) vxintr); return -1; } return 0; |
