]> git.pld-linux.org Git - packages/atmelwlandriver.git/blame - atmelwlandriver-usb_defctrl.patch
- cut the crap from %post (use /etc/modprobe.d to provide modprobe config)
[packages/atmelwlandriver.git] / atmelwlandriver-usb_defctrl.patch
CommitLineData
7ad5c1ca
PS
1--- atmelwlandriver/src/usb/reset_device.c.orig 2004-07-18 23:50:44.000000000 +0200
2+++ atmelwlandriver/src/usb/reset_device.c 2004-07-19 00:04:03.736081160 +0200
3@@ -24,6 +24,9 @@
4 #include <linux/delay.h>
5 #include "linux/device.h"
6
7+#define usb_snddefctrl(dev) ((PIPE_CONTROL << 30) | __create_pipe(dev,0))
8+#define usb_rcvdefctrl(dev) ((PIPE_CONTROL << 30) | __create_pipe(dev,0) | USB_DIR_IN)
9+
10 static DECLARE_MUTEX(usb_address0_sem);
11
12 static inline struct device *hubdev (struct usb_device *dev)
This page took 0.056335 seconds and 4 git commands to generate.