Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3400ce3f
Commit
3400ce3f
authored
May 22, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-isdn.bkbits.net/linux-2.5.isdn
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
26bb7e95
ed3415a2
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
79 additions
and
145 deletions
+79
-145
drivers/usb/class/bluetty.c
drivers/usb/class/bluetty.c
+1
-4
drivers/usb/class/cdc-acm.c
drivers/usb/class/cdc-acm.c
+1
-4
drivers/usb/core/hub.c
drivers/usb/core/hub.c
+1
-0
drivers/usb/net/cdc-ether.c
drivers/usb/net/cdc-ether.c
+1
-1
drivers/usb/serial/belkin_sa.c
drivers/usb/serial/belkin_sa.c
+1
-4
drivers/usb/serial/cyberjack.c
drivers/usb/serial/cyberjack.c
+1
-4
drivers/usb/serial/digi_acceleport.c
drivers/usb/serial/digi_acceleport.c
+1
-4
drivers/usb/serial/empeg.c
drivers/usb/serial/empeg.c
+1
-4
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio.c
+1
-4
drivers/usb/serial/io_edgeport.c
drivers/usb/serial/io_edgeport.c
+2
-5
drivers/usb/serial/ipaq.c
drivers/usb/serial/ipaq.c
+1
-4
drivers/usb/serial/ir-usb.c
drivers/usb/serial/ir-usb.c
+1
-4
drivers/usb/serial/keyspan.c
drivers/usb/serial/keyspan.c
+2
-4
drivers/usb/serial/keyspan_pda.c
drivers/usb/serial/keyspan_pda.c
+1
-4
drivers/usb/serial/kl5kusb105.c
drivers/usb/serial/kl5kusb105.c
+1
-3
drivers/usb/serial/mct_u232.c
drivers/usb/serial/mct_u232.c
+1
-4
drivers/usb/serial/omninet.c
drivers/usb/serial/omninet.c
+1
-4
drivers/usb/serial/pl2303.c
drivers/usb/serial/pl2303.c
+1
-4
drivers/usb/serial/safe_serial.c
drivers/usb/serial/safe_serial.c
+1
-4
drivers/usb/serial/usbserial.c
drivers/usb/serial/usbserial.c
+1
-4
drivers/usb/serial/visor.c
drivers/usb/serial/visor.c
+1
-4
drivers/usb/serial/whiteheat.c
drivers/usb/serial/whiteheat.c
+1
-4
drivers/usb/storage/usb.h
drivers/usb/storage/usb.h
+1
-0
drivers/usb/usb-skeleton.c
drivers/usb/usb-skeleton.c
+1
-5
include/linux/usb.h
include/linux/usb.h
+53
-59
No files found.
drivers/usb/class/bluetty.c
View file @
3400ce3f
...
@@ -104,17 +104,14 @@
...
@@ -104,17 +104,14 @@
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <asm/uaccess.h>
#define DEBUG
#define DEBUG
#include <linux/usb.h>
#include <linux/usb.h>
...
...
drivers/usb/class/cdc-acm.c
View file @
3400ce3f
...
@@ -43,18 +43,15 @@
...
@@ -43,18 +43,15 @@
*/
*/
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
#undef DEBUG
#undef DEBUG
#include <linux/usb.h>
#include <linux/usb.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>
...
...
drivers/usb/core/hub.c
View file @
3400ce3f
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
#include <linux/list.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <linux/ioctl.h>
#ifdef CONFIG_USB_DEBUG
#ifdef CONFIG_USB_DEBUG
#define DEBUG
#define DEBUG
#else
#else
...
...
drivers/usb/net/cdc-ether.c
View file @
3400ce3f
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
*/
#include <linux/types.h>
#include <linux/jiffies.h>
#include <linux/jiffies.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/init.h>
...
...
drivers/usb/serial/belkin_sa.c
View file @
3400ce3f
...
@@ -65,18 +65,15 @@
...
@@ -65,18 +65,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/cyberjack.c
View file @
3400ce3f
...
@@ -25,18 +25,15 @@
...
@@ -25,18 +25,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/digi_acceleport.c
View file @
3400ce3f
...
@@ -235,19 +235,16 @@
...
@@ -235,19 +235,16 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/tqueue.h>
#include <linux/tqueue.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/empeg.c
View file @
3400ce3f
...
@@ -53,18 +53,15 @@
...
@@ -53,18 +53,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/ftdi_sio.c
View file @
3400ce3f
...
@@ -93,18 +93,15 @@
...
@@ -93,18 +93,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
static
int
debug
=
1
;
static
int
debug
=
1
;
...
...
drivers/usb/serial/io_edgeport.c
View file @
3400ce3f
...
@@ -242,13 +242,10 @@
...
@@ -242,13 +242,10 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/jiffies.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
...
@@ -256,7 +253,7 @@
...
@@ -256,7 +253,7 @@
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/serial.h>
#include <linux/serial.h>
#include <linux/ioctl.h>
#include <linux/ioctl.h>
#include <
linux/proc_f
s.h>
#include <
asm/uacces
s.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/ipaq.c
View file @
3400ce3f
...
@@ -34,18 +34,15 @@
...
@@ -34,18 +34,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/ir-usb.c
View file @
3400ce3f
...
@@ -48,18 +48,15 @@
...
@@ -48,18 +48,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/keyspan.c
View file @
3400ce3f
...
@@ -76,18 +76,16 @@
...
@@ -76,18 +76,16 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/jiffies.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/keyspan_pda.c
View file @
3400ce3f
...
@@ -68,19 +68,16 @@
...
@@ -68,19 +68,16 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/tqueue.h>
#include <linux/tqueue.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/kl5kusb105.c
View file @
3400ce3f
...
@@ -47,16 +47,14 @@
...
@@ -47,16 +47,14 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/mct_u232.c
View file @
3400ce3f
...
@@ -61,18 +61,15 @@
...
@@ -61,18 +61,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/omninet.c
View file @
3400ce3f
...
@@ -37,18 +37,15 @@
...
@@ -37,18 +37,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/pl2303.c
View file @
3400ce3f
...
@@ -36,19 +36,16 @@
...
@@ -36,19 +36,16 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/serial.h>
#include <linux/serial.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/safe_serial.c
View file @
3400ce3f
...
@@ -62,18 +62,15 @@
...
@@ -62,18 +62,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
...
...
drivers/usb/serial/usbserial.c
View file @
3400ce3f
...
@@ -308,13 +308,9 @@
...
@@ -308,13 +308,9 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
...
@@ -322,6 +318,7 @@
...
@@ -322,6 +318,7 @@
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/list.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef MODULE
#ifdef MODULE
...
...
drivers/usb/serial/visor.c
View file @
3400ce3f
...
@@ -133,18 +133,15 @@
...
@@ -133,18 +133,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/serial/whiteheat.c
View file @
3400ce3f
...
@@ -61,18 +61,15 @@
...
@@ -61,18 +61,15 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/tty.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
#ifdef CONFIG_USB_SERIAL_DEBUG
...
...
drivers/usb/storage/usb.h
View file @
3400ce3f
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
#include <linux/blk.h>
#include <linux/blk.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <linux/completion.h>
#include <linux/completion.h>
#include <linux/version.h>
#include "scsi.h"
#include "scsi.h"
#include "hosts.h"
#include "hosts.h"
...
...
drivers/usb/usb-skeleton.c
View file @
3400ce3f
...
@@ -37,18 +37,14 @@
...
@@ -37,18 +37,14 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/fcntl.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
#include <linux/devfs_fs_kernel.h>
#include <linux/devfs_fs_kernel.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/usb.h>
#ifdef CONFIG_USB_DEBUG
#ifdef CONFIG_USB_DEBUG
...
...
include/linux/usb.h
View file @
3400ce3f
#ifndef __LINUX_USB_H
#ifndef __LINUX_USB_H
#define __LINUX_USB_H
#define __LINUX_USB_H
#include <linux/device.h>
#include <linux/errno.h>
/* USB constants */
/* USB constants */
/*
/*
...
@@ -19,8 +16,8 @@
...
@@ -19,8 +16,8 @@
#define USB_CLASS_MASS_STORAGE 8
#define USB_CLASS_MASS_STORAGE 8
#define USB_CLASS_HUB 9
#define USB_CLASS_HUB 9
#define USB_CLASS_CDC_DATA 0x0a
#define USB_CLASS_CDC_DATA 0x0a
#define USB_CLASS_CSCID
0x0b
/* chip+ smart card */
#define USB_CLASS_CSCID
0x0b
/* chip+ smart card */
#define USB_CLASS_CONTENT_SEC 0x0d
/* content security */
#define USB_CLASS_CONTENT_SEC 0x0d
/* content security */
#define USB_CLASS_APP_SPEC 0xfe
#define USB_CLASS_APP_SPEC 0xfe
#define USB_CLASS_VENDOR_SPEC 0xff
#define USB_CLASS_VENDOR_SPEC 0xff
...
@@ -63,23 +60,23 @@
...
@@ -63,23 +60,23 @@
/*
/*
* USB Packet IDs (PIDs)
* USB Packet IDs (PIDs)
*/
*/
#define USB_PID_UNDEF_0
0xf0
#define USB_PID_UNDEF_0
0xf0
#define USB_PID_OUT
0xe1
#define USB_PID_OUT
0xe1
#define USB_PID_ACK
0xd2
#define USB_PID_ACK
0xd2
#define USB_PID_DATA0
0xc3
#define USB_PID_DATA0
0xc3
#define USB_PID_PING
0xb4
/* USB 2.0 */
#define USB_PID_PING
0xb4
/* USB 2.0 */
#define USB_PID_SOF
0xa5
#define USB_PID_SOF
0xa5
#define USB_PID_NYET
0x96
/* USB 2.0 */
#define USB_PID_NYET
0x96
/* USB 2.0 */
#define USB_PID_DATA2
0x87
/* USB 2.0 */
#define USB_PID_DATA2
0x87
/* USB 2.0 */
#define USB_PID_SPLIT
0x78
/* USB 2.0 */
#define USB_PID_SPLIT
0x78
/* USB 2.0 */
#define USB_PID_IN
0x69
#define USB_PID_IN
0x69
#define USB_PID_NAK
0x5a
#define USB_PID_NAK
0x5a
#define USB_PID_DATA1
0x4b
#define USB_PID_DATA1
0x4b
#define USB_PID_PREAMBLE
0x3c
/* Token mode */
#define USB_PID_PREAMBLE
0x3c
/* Token mode */
#define USB_PID_ERR
0x3c
/* USB 2.0: handshake mode */
#define USB_PID_ERR
0x3c
/* USB 2.0: handshake mode */
#define USB_PID_SETUP
0x2d
#define USB_PID_SETUP
0x2d
#define USB_PID_STALL
0x1e
#define USB_PID_STALL
0x1e
#define USB_PID_MDATA
0x0f
/* USB 2.0 */
#define USB_PID_MDATA
0x0f
/* USB 2.0 */
/*
/*
* Standard requests
* Standard requests
...
@@ -96,19 +93,17 @@
...
@@ -96,19 +93,17 @@
#define USB_REQ_SET_INTERFACE 0x0B
#define USB_REQ_SET_INTERFACE 0x0B
#define USB_REQ_SYNCH_FRAME 0x0C
#define USB_REQ_SYNCH_FRAME 0x0C
#define USB_MAJOR 180
#ifdef __KERNEL__
#ifdef __KERNEL__
#include <linux/types.h>
#include <linux/ioctl.h>
#include <linux/version.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
/* for in_interrupt() */
#include <linux/config.h>
#include <linux/config.h>
#include <linux/list.h>
#include <linux/delay.h>
/* for mdelay() */
#include <linux/interrupt.h>
/* for in_interrupt() */
#include <linux/list.h>
/* for struct list_head */
#include <linux/device.h>
/* for struct device */
#define USB_MAJOR 180
static
__inline__
void
wait_ms
(
unsigned
int
ms
)
static
__inline__
void
wait_ms
(
unsigned
int
ms
)
{
{
...
@@ -184,11 +179,11 @@ struct usb_device;
...
@@ -184,11 +179,11 @@ struct usb_device;
#define USB_DT_ENDPOINT_AUDIO_SIZE 9
/* Audio extension */
#define USB_DT_ENDPOINT_AUDIO_SIZE 9
/* Audio extension */
/* most of these maximums are arbitrary */
/* most of these maximums are arbitrary */
#define USB_MAXCONFIG 8
#define USB_MAXCONFIG
8
#define USB_ALTSETTINGALLOC
4
#define USB_ALTSETTINGALLOC
4
#define USB_MAXALTSETTING
128
/* Hard limit */
#define USB_MAXALTSETTING
128
/* Hard limit */
#define USB_MAXINTERFACES 32
#define USB_MAXINTERFACES
32
#define USB_MAXENDPOINTS
32
/* Hard limit */
#define USB_MAXENDPOINTS
32
/* Hard limit */
/* All standard descriptors have these 2 fields in common */
/* All standard descriptors have these 2 fields in common */
struct
usb_descriptor_header
{
struct
usb_descriptor_header
{
...
@@ -226,7 +221,7 @@ struct usb_endpoint_descriptor {
...
@@ -226,7 +221,7 @@ struct usb_endpoint_descriptor {
__u8
bSynchAddress
__attribute__
((
packed
));
__u8
bSynchAddress
__attribute__
((
packed
));
/* the rest is internal to the Linux implementation */
/* the rest is internal to the Linux implementation */
unsigned
char
*
extra
;
/* Extra descriptors */
unsigned
char
*
extra
;
/* Extra descriptors */
int
extralen
;
int
extralen
;
};
};
...
@@ -243,9 +238,9 @@ struct usb_interface_descriptor {
...
@@ -243,9 +238,9 @@ struct usb_interface_descriptor {
__u8
iInterface
__attribute__
((
packed
));
__u8
iInterface
__attribute__
((
packed
));
/* the rest is internal to the Linux implementation */
/* the rest is internal to the Linux implementation */
struct
usb_endpoint_descriptor
*
endpoint
;
struct
usb_endpoint_descriptor
*
endpoint
;
unsigned
char
*
extra
;
/* Extra descriptors */
unsigned
char
*
extra
;
/* Extra descriptors */
int
extralen
;
int
extralen
;
};
};
...
@@ -254,7 +249,7 @@ struct usb_interface {
...
@@ -254,7 +249,7 @@ struct usb_interface {
int
act_altsetting
;
/* active alternate setting */
int
act_altsetting
;
/* active alternate setting */
int
num_altsetting
;
/* number of alternate settings */
int
num_altsetting
;
/* number of alternate settings */
int
max_altsetting
;
/* total memory allocated */
int
max_altsetting
;
/* total memory allocated */
struct
usb_driver
*
driver
;
/* driver */
struct
usb_driver
*
driver
;
/* driver */
struct
device
dev
;
/* interface specific device info */
struct
device
dev
;
/* interface specific device info */
...
@@ -281,7 +276,7 @@ struct usb_config_descriptor {
...
@@ -281,7 +276,7 @@ struct usb_config_descriptor {
/* the rest is internal to the Linux implementation */
/* the rest is internal to the Linux implementation */
struct
usb_interface
*
interface
;
struct
usb_interface
*
interface
;
unsigned
char
*
extra
;
/* Extra descriptors */
unsigned
char
*
extra
;
/* Extra descriptors */
int
extralen
;
int
extralen
;
};
};
...
@@ -334,12 +329,12 @@ struct usb_bus {
...
@@ -334,12 +329,12 @@ struct usb_bus {
char
*
bus_name
;
/* stable id (PCI slot_name etc) */
char
*
bus_name
;
/* stable id (PCI slot_name etc) */
#ifdef DEVNUM_ROUND_ROBIN
#ifdef DEVNUM_ROUND_ROBIN
int
devnum_next
;
/* Next open device number in round-robin allocation */
int
devnum_next
;
/* Next open device number in round-robin allocation */
#endif
/* DEVNUM_ROUND_ROBIN */
#endif
/* DEVNUM_ROUND_ROBIN */
struct
usb_devmap
devmap
;
/* device address allocation map */
struct
usb_devmap
devmap
;
/* device address allocation map */
struct
usb_operations
*
op
;
/* Operations (specific to the HC) */
struct
usb_operations
*
op
;
/* Operations (specific to the HC) */
struct
usb_device
*
root_hub
;
/* Root hub */
struct
usb_device
*
root_hub
;
/* Root hub */
struct
list_head
bus_list
;
/* list of busses */
struct
list_head
bus_list
;
/* list of busses */
void
*
hcpriv
;
/* Host Controller private data */
void
*
hcpriv
;
/* Host Controller private data */
...
@@ -408,7 +403,7 @@ struct usb_device {
...
@@ -408,7 +403,7 @@ struct usb_device {
int
have_langid
;
/* whether string_langid is valid yet */
int
have_langid
;
/* whether string_langid is valid yet */
int
string_langid
;
/* language ID for strings */
int
string_langid
;
/* language ID for strings */
void
*
hcpriv
;
/* Host Controller private data */
void
*
hcpriv
;
/* Host Controller private data */
struct
list_head
filelist
;
struct
list_head
filelist
;
...
@@ -467,7 +462,7 @@ const struct usb_device_id *usb_match_id(struct usb_device *dev,
...
@@ -467,7 +462,7 @@ const struct usb_device_id *usb_match_id(struct usb_device *dev,
* in host controller driver modules, does not change these path identifers;
* in host controller driver modules, does not change these path identifers;
* neither does rebooting or re-enumerating. These are more useful identifiers
* neither does rebooting or re-enumerating. These are more useful identifiers
* than changeable ("unstable") ones like bus numbers or device addresses.
* than changeable ("unstable") ones like bus numbers or device addresses.
*
*
* With a partial exception for devices connected to USB 2.0 root hubs, these
* With a partial exception for devices connected to USB 2.0 root hubs, these
* identifiers are also predictable: so long as the device tree isn't changed,
* identifiers are also predictable: so long as the device tree isn't changed,
* plugging any USB device into a given hub port always gives it the same path.
* plugging any USB device into a given hub port always gives it the same path.
...
@@ -492,7 +487,7 @@ static inline int usb_make_path (struct usb_device *dev, char *buf, size_t size)
...
@@ -492,7 +487,7 @@ static inline int usb_make_path (struct usb_device *dev, char *buf, size_t size)
* The third probe() parameter will point to a matching entry from this
* The third probe() parameter will point to a matching entry from this
* table. (Null value reserved.) Use the driver_data field for each
* table. (Null value reserved.) Use the driver_data field for each
* match to hold information tied to that match: device quirks, etc.
* match to hold information tied to that match: device quirks, etc.
*
*
* Terminate the driver's table with an all-zeroes entry.
* Terminate the driver's table with an all-zeroes entry.
* Use the flag values to control which fields are compared.
* Use the flag values to control which fields are compared.
*/
*/
...
@@ -743,12 +738,12 @@ extern void usb_deregister_dev(struct usb_driver *driver, int num_minors, int st
...
@@ -743,12 +738,12 @@ extern void usb_deregister_dev(struct usb_driver *driver, int num_minors, int st
*
*
* FIXME should be URB_* flags
* FIXME should be URB_* flags
*/
*/
#define USB_DISABLE_SPD
0x0001
#define USB_DISABLE_SPD
0x0001
#define USB_ISO_ASAP
0x0002
#define USB_ISO_ASAP
0x0002
#define USB_ASYNC_UNLINK
0x0008
#define USB_ASYNC_UNLINK
0x0008
#define USB_QUEUE_BULK
0x0010
#define USB_QUEUE_BULK
0x0010
#define USB_NO_FSBR 0x0020
#define USB_NO_FSBR 0x0020
#define USB_ZERO_PACKET
0x0040
/* Finish bulk OUTs with short packet */
#define USB_ZERO_PACKET
0x0040
/* Finish bulk OUTs with short packet */
#define URB_NO_INTERRUPT 0x0080
/* HINT: no non-error interrupt needed */
#define URB_NO_INTERRUPT 0x0080
/* HINT: no non-error interrupt needed */
/* ... less overhead for QUEUE_BULK */
/* ... less overhead for QUEUE_BULK */
#define USB_TIMEOUT_KILLED 0x1000
/* only set by HCD! */
#define USB_TIMEOUT_KILLED 0x1000
/* only set by HCD! */
...
@@ -914,12 +909,12 @@ struct urb
...
@@ -914,12 +909,12 @@ struct urb
unsigned
int
transfer_flags
;
/* (in) USB_DISABLE_SPD | ...*/
unsigned
int
transfer_flags
;
/* (in) USB_DISABLE_SPD | ...*/
void
*
transfer_buffer
;
/* (in) associated data buffer */
void
*
transfer_buffer
;
/* (in) associated data buffer */
int
transfer_buffer_length
;
/* (in) data buffer length */
int
transfer_buffer_length
;
/* (in) data buffer length */
int
actual_length
;
/* (return) actual transfer length */
int
actual_length
;
/* (return) actual transfer length */
int
bandwidth
;
/* bandwidth for INT/ISO request */
int
bandwidth
;
/* bandwidth for INT/ISO request */
unsigned
char
*
setup_packet
;
/* (in) setup packet (control only) */
unsigned
char
*
setup_packet
;
/* (in) setup packet (control only) */
int
start_frame
;
/* (modify) start frame (INT/ISO) */
int
start_frame
;
/* (modify) start frame (INT/ISO) */
int
number_of_packets
;
/* (in) number of ISO packets */
int
number_of_packets
;
/* (in) number of ISO packets */
int
interval
;
/* (in) transfer interval (INT/ISO) */
int
interval
;
/* (in) transfer interval (INT/ISO) */
int
error_count
;
/* (return) number of ISO errors */
int
error_count
;
/* (return) number of ISO errors */
int
timeout
;
/* (in) timeout, in jiffies */
int
timeout
;
/* (in) timeout, in jiffies */
void
*
context
;
/* (in) context for completion */
void
*
context
;
/* (in) context for completion */
...
@@ -980,7 +975,6 @@ static inline void usb_fill_bulk_urb (struct urb *urb,
...
@@ -980,7 +975,6 @@ static inline void usb_fill_bulk_urb (struct urb *urb,
int
buffer_length
,
int
buffer_length
,
usb_complete_t
complete
,
usb_complete_t
complete
,
void
*
context
)
void
*
context
)
{
{
spin_lock_init
(
&
urb
->
lock
);
spin_lock_init
(
&
urb
->
lock
);
urb
->
dev
=
dev
;
urb
->
dev
=
dev
;
...
@@ -990,7 +984,7 @@ static inline void usb_fill_bulk_urb (struct urb *urb,
...
@@ -990,7 +984,7 @@ static inline void usb_fill_bulk_urb (struct urb *urb,
urb
->
complete
=
complete
;
urb
->
complete
=
complete
;
urb
->
context
=
context
;
urb
->
context
=
context
;
}
}
/**
/**
* usb_fill_int_urb - macro to help initialize a interrupt urb
* usb_fill_int_urb - macro to help initialize a interrupt urb
* @urb: pointer to the urb to initialize.
* @urb: pointer to the urb to initialize.
...
@@ -1080,12 +1074,12 @@ extern int usb_set_interface(struct usb_device *dev, int ifnum, int alternate);
...
@@ -1080,12 +1074,12 @@ extern int usb_set_interface(struct usb_device *dev, int ifnum, int alternate);
* they typically complete within a few frames (msec) after they're issued
* they typically complete within a few frames (msec) after they're issued
*/
*/
#ifdef CONFIG_USB_LONG_TIMEOUT
#ifdef CONFIG_USB_LONG_TIMEOUT
#define USB_CTRL_GET_TIMEOUT
4
#define USB_CTRL_GET_TIMEOUT
4
#else
#else
#define USB_CTRL_GET_TIMEOUT
3
#define USB_CTRL_GET_TIMEOUT
3
#endif
#endif
#define USB_CTRL_SET_TIMEOUT
3
#define USB_CTRL_SET_TIMEOUT
3
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment