Для ядер >=2.6.14:
eagle-usb-2.3.2-URB_ASYNC_UNLINK-in-2.6.14-alt.patch
Removing URB_ASYNC_UNLINK macro usage with 2.6.14 kernel Due to commit a3b5f0d43863402b03b3af9a7eaec0037a823374 to Linux kernel by Karsten Keil <kkeil@suse.de>, usb_unlink_urb is always async now, so URB_ASYNC_UNLINK was removed from core USB and we must do as well. --- ./driver/Pipes.c 2005-01-17 23:54:42 +0300 +++ ./driver/Pipes.c 2006-01-02 12:17:24 +0300 @@ -919,7 +919,6 @@ * -EINVAL. */ urb->status = 0; - urb->transfer_flags &= ~URB_ASYNC_UNLINK; } else { --- ./driver/eu_eth.c 2005-01-17 23:54:42 +0300 +++ ./driver/eu_eth.c 2006-01-02 12:17:20 +0300 @@ -495,10 +495,8 @@ * netif_wakequeue: */ - 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); /* We must reset the transaction time to keep the watchdog quiet: */ --- ./driver/macros.h 2005-01-17 23:54:42 +0300 +++ ./driver/macros.h 2006-01-02 12:17:46 +0300 @@ -104,7 +104,6 @@ #define GET_INTF_PTR(u,n) (&((u)->actconfig->interface[(n)])) -#define URB_ASYNC_UNLINK USB_ASYNC_UNLINK #define URB_ISO_ASAP USB_ISO_ASAP #define MODULE_USER_GET MOD_INC_USE_COUNT @@ -152,7 +151,6 @@ #define USB_KILL_URB(urb) \ do { \ - (urb)->transfer_flags &= ~URB_ASYNC_UNLINK; \ usb_unlink_urb(urb); \ } while(0)
Для ядер >=2.6.15:
eagle-usb-2.3.2-alt-usb_driver-owner-filed.patch:
Fix build issue with kernel > 2.6.15 --- ./driver/eu_main.c 2005-05-20 17:27:45 +0400 +++ ./driver/eu_main.c 2006-05-09 16:45:37 +0400 @@ -172,7 +172,8 @@ */ static struct usb_driver eu_driver = { -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,19) +#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,4,19)) && \ + (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)) .owner = THIS_MODULE, #endif .name = "eagle-usb",
Для ядер >=2.6.16:
eagle-usb-2.3.2-alt-if_name-2.6.16.patch
Fix error message "eagle_usb: falsely claims to have parameter if_name" --- ./driver/eu_main.c 2005-05-20 17:27:45 +0400 +++ ./driver/eu_main.c 2006-05-28 13:12:38 +0400 @@ -250,8 +251,8 @@ MODULE_DESCRIPTION ("Eagle USB ADSL Modem driver"); MODULE_DEVICE_TABLE (usb, eu_ids); MODULE_LICENSE("GPL"); -MODULE_PARM (if_name,"s"); -MODULE_PARM_DESC (if_name,"Exported ethernet interface name"); +//MODULE_PARM (if_name,"s"); +//MODULE_PARM_DESC (if_name,"Exported ethernet interface name"); MODULE_PARM (module_dbg_mask,"i"); MODULE_PARM_DESC (module_dbg_mask,"Module Debug mask");
Дата создания: 2006-05-28 21:27:50 (Фетисов Н. А. (naf))
Последнее изменение: 2006-05-28 21:27:50 (Фетисов Н. А. (naf))
Владелец: Фетисов Н. А. (naf)
Версия: 1
Wiki::Admin Карта раздела Оглавление Изменения за сутки Изменения за неделю Изменения за месяц