patch-2.4.18 linux/drivers/usb/usbnet.c
Next file: linux/drivers/usb/vicam.c
Previous file: linux/drivers/usb/usb.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed Jan 9 15:46:31 2002
- Orig file:
linux.orig/drivers/usb/usbnet.c
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/usb/usbnet.c linux/drivers/usb/usbnet.c
@@ -1571,13 +1571,13 @@
struct urb *urb = 0;
struct skb_data *entry;
struct driver_info *info = dev->driver_info;
- int flags;
+ unsigned long flags;
#ifdef CONFIG_USB_NET1080
struct nc_header *header = 0;
struct nc_trailer *trailer = 0;
#endif /* CONFIG_USB_NET1080 */
- flags = in_interrupt () ? GFP_ATOMIC : GFP_KERNEL;
+ flags = in_interrupt () ? GFP_ATOMIC : GFP_NOIO; /* might be used for nfs */
// some devices want funky USB-level framing, for
// win32 driver (usually) and/or hardware quirks
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)