All pastes #755308 Raw Edit

Unbenannt

public diff v1 · immutable
#755308 ·published 2007-10-30 16:48 UTC
rendered paste body
diff -Naurp synce-usb-rndis-lite-0.10.0/usbnet.c synce-usb-rndis-lite-0.10.0-nfedera/usbnet.c--- synce-usb-rndis-lite-0.10.0/usbnet.c        2007-04-17 06:00:23.000000000 +0200+++ synce-usb-rndis-lite-0.10.0-nfedera/usbnet.c        2007-10-27 16:23:57.000000000 +0200@@ -159,7 +159,11 @@ int usbnet_get_endpoints(struct usbnet * } EXPORT_SYMBOL_GPL(usbnet_get_endpoints);+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) static void intr_complete (struct urb *urb);+#else+static void intr_complete (struct urb *urb, struct pt_regs *regs);+#endif static int init_status (struct usbnet *dev, struct usb_interface *intf) {@@ -303,7 +307,11 @@ EXPORT_SYMBOL_GPL(usbnet_defer_kevent); /*-------------------------------------------------------------------------*/+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) static void rx_complete (struct urb *urb);+#else+static void rx_complete (struct urb *urb, struct pt_regs *regs);+#endif static void rx_submit (struct usbnet *dev, struct urb *urb, gfp_t flags) {@@ -390,8 +398,11 @@ error: } /*-------------------------------------------------------------------------*/-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) static void rx_complete (struct urb *urb)+#else+static void rx_complete (struct urb *urb, struct pt_regs *regs)+#endif {        struct sk_buff          *skb = (struct sk_buff *) urb->context;        struct skb_data         *entry = (struct skb_data *) skb->cb;@@ -475,7 +486,11 @@ block:                devdbg (dev, "no read resubmitted"); }+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) static void intr_complete (struct urb *urb)+#else+static void intr_complete (struct urb *urb, struct pt_regs *regs)+#endif {        struct usbnet   *dev = urb->context;        int             status = urb->status;@@ -864,8 +879,11 @@ kevent (void *data) } /*-------------------------------------------------------------------------*/-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) static void tx_complete (struct urb *urb)+#else+static void tx_complete (struct urb *urb, struct pt_regs *regs)+#endif {        struct sk_buff          *skb = (struct sk_buff *) urb->context;        struct skb_data         *entry = (struct skb_data *) skb->cb;