+++ /dev/null
---- eagle-usb-1.9.6/driver/eu_main.c.orig 2004-02-22 22:11:30.000000000 +0100
-+++ eagle-usb-1.9.6/driver/eu_main.c 2004-06-01 02:11:45.880205928 +0200
-@@ -476,11 +476,8 @@
- eu_enters (DBG_INIT);
-
- #ifdef LINUX_2_6
-- if ( intf->driver != NULL )
-- {
-- ins = usb_get_intfdata ( intf );
-- goto byebye;
-- }
-+ if ( ( ins = usb_get_intfdata ( intf ) ) != NULL )
-+ goto byebye;
- #endif
-
- /*
+++ /dev/null
---- eagle-usb-1.9.6/driver/Sm.c~ 2004-03-10 00:31:35.000000000 +0100
-+++ eagle-usb-1.9.6/driver/Sm.c 2004-03-10 00:31:35.000000000 +0100
-@@ -877,8 +877,8 @@
- ENDCASE;
- case 9: /* RATE.actual*/
- pAdiSM->XferRate0 = pMsg->data;
-- pAdiSM->DownRate = le16_to_cpu (pMsg->data>>16) *32*1024;
-- pAdiSM->UpRate = le16_to_cpu(pMsg->data&0xFFFF) *32*1024;
-+ pAdiSM->DownRate = (pMsg->data>>16) *32*1024;
-+ pAdiSM->UpRate = (pMsg->data&0xFFFF) *32*1024;
-
- if ( !EU_TEST_FLAG(ins,EU_LOW_RATE) )
- {
+++ /dev/null
---- driver/Boot.c~ 2004-02-22 21:11:30.000000000 +0000
-+++ driver/Boot.c 2004-06-02 08:57:53.063519192 +0000
-@@ -57,6 +57,15 @@
- static void IDMACompletion(struct urb *urb, struct pt_regs *regs );
- #endif
-
-+static inline void wait_ms(unsigned int ms) {
-+ if (!in_interrupt()) {
-+ set_current_state(TASK_UNINTERRUPTIBLE);
-+ schedule_timeout(1 + ms * HZ / 1000);
-+ }
-+ else
-+ mdelay(ms);
-+}
-+
- /*********************************************************************************/
- /* BootModem */
- /* Kinda like doing a ctrl-alt-delete on your PC. Reuploads (or does first */
-