--- eagle-usb-2.3.1/driver/Pipes.c.orig 2005-01-17 21:54:42.000000000 +0100 +++ eagle-usb-2.3.1/driver/Pipes.c 2005-11-03 21:29:53.000000000 +0100 @@ -919,7 +919,9 @@ * -EINVAL. */ urb->status = 0; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) urb->transfer_flags &= ~URB_ASYNC_UNLINK; +#endif } else { --- eagle-usb-2.3.1/driver/eu_eth.c.orig 2005-01-17 21:54:42.000000000 +0100 +++ eagle-usb-2.3.1/driver/eu_eth.c 2005-11-03 21:33:19.000000000 +0100 @@ -495,11 +495,16 @@ * netif_wakequeue: */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) ins->urb_write->transfer_flags |= URB_ASYNC_UNLINK; usb_unlink_urb(ins->urb_write); ins->urb_oam_write->transfer_flags |= URB_ASYNC_UNLINK; usb_unlink_urb(ins->urb_oam_write); +#else + USB_KILL_URB(ins->urb_write); + USB_KILL_URB(ins->urb_oam_write); +#endif /* We must reset the transaction time to keep the watchdog quiet: */ dev->trans_start = jiffies;