Yank the casts.
This commit is contained in:
parent
95c812f7d4
commit
31a7d47527
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user