diff options
-rw-r--r-- | sys/dev/vx/if_vx_pci.c | 2 | ||||
-rw-r--r-- | sys/pci/if_vx_pci.c | 2 | ||||
-rw-r--r-- | sys/pci/pci_compat.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c index d230d93..b667b89 100644 --- a/sys/dev/vx/if_vx_pci.c +++ b/sys/dev/vx/if_vx_pci.c @@ -126,7 +126,7 @@ vx_pci_attach( */ at_shutdown(vx_pci_shutdown, sc, SHUTDOWN_POST_SYNC); - pci_map_int(config_id, (pci_inthand_t*)vxintr, (void *) sc, &net_imask); + pci_map_int(config_id, vxintr, (void *) sc, &net_imask); } static struct pci_device vxdevice = { diff --git a/sys/pci/if_vx_pci.c b/sys/pci/if_vx_pci.c index d230d93..b667b89 100644 --- a/sys/pci/if_vx_pci.c +++ b/sys/pci/if_vx_pci.c @@ -126,7 +126,7 @@ vx_pci_attach( */ at_shutdown(vx_pci_shutdown, sc, SHUTDOWN_POST_SYNC); - pci_map_int(config_id, (pci_inthand_t*)vxintr, (void *) sc, &net_imask); + pci_map_int(config_id, vxintr, (void *) sc, &net_imask); } static struct pci_device vxdevice = { diff --git a/sys/pci/pci_compat.c b/sys/pci/pci_compat.c index d72c7fa..9041156 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.2 1997/08/21 07:00:12 smp Exp smp $ + * $Id: pci_compat.c,v 1.5 1997/08/21 07:05:48 fsmp Exp $ * */ @@ -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, (inthand2_t*)func, arg, maskptr, 0); + idesc = intr_create(dev_instance, irq, func, arg, maskptr, 0); return (intr_connect(idesc) == 0); } return (1); |