attrib_p=&attrib;
}
- if(chip->chipspecops->irq_handler){
+ if(chip->chipspecops->irq_handler && !(chip->flags & CHIP_IRQ_CUSTOM)){
int (*my_request_irq)(unsigned int vector, unsigned int (*rtl_handler)(unsigned int irq, struct pt_regs *regs));
#ifdef CAN_ENABLE_VME_SUPPORT
if ((chip->flags & CHIP_IRQ_VME) != 0)
{
if(chip->worker_thread)
pthread_delete_np(chip->worker_thread);
- if((chip->flags & CHIP_IRQ_SETUP) && (chip->chip_irq>=0)) {
+ if((chip->flags & CHIP_IRQ_SETUP) && (chip->chip_irq>=0)
+ && !(chip->flags & CHIP_IRQ_CUSTOM)) {
int (*my_free_irq)(unsigned int vector);
#ifdef CAN_ENABLE_VME_SUPPORT
if ((chip->flags & CHIP_IRQ_VME) != 0)