FreeBSD/sys/dev/vxge/vxge.c
/*
 * vxge_isr_filter
 * ISR filter function - filter interrupts from other shared devices
 */
vxge_isr_filter
ISR filter function - filter interrupts from other shared devices
vxge_isr_filter ISR filter function - filter interrupts from other shared devices
int
vxge_isr_filter(void *handle)
{
	u64 val64 = 0;
	vxge_dev_t *vdev = (vxge_dev_t *) handle;
	__hal_device_t *hldev = (__hal_device_t *) vdev->devh;
	vxge_hal_common_reg_t *common_reg =
	(vxge_hal_common_reg_t *) (hldev->common_reg);
	val64 = vxge_os_pio_mem_read64(vdev->pdev, (vdev->devh)->regh0,
	    &common_reg->titan_general_int_status);
	return ((val64) ? FILTER_SCHEDULE_THREAD : FILTER_STRAY);
}
int vxge_isr_filter ( void * handle ) { u64 val64 = 0 ; vxge_dev_t * vdev = ( vxge_dev_t * ) handle ; __hal_device_t * hldev = ( __hal_device_t * ) vdev -> devh ; vxge_hal_common_reg_t * common_reg = ( vxge_hal_common_reg_t * ) ( hldev -> common_reg ) ; val64 = vxge_os_pio_mem_read64 ( vdev -> pdev , ( vdev -> devh ) -> regh0 , & common_reg -> titan_general_int_status ) ; return ( ( val64 ) ? FILTER_SCHEDULE_THREAD : FILTER_STRAY ) ; }
vxge_isr_filter
 ISR filter function - filter interrupts from other shared devices
vxge_isr_filter ISR filter function - filter interrupts from other shared devices