Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14367
b: refs/heads/master
c: 654f311
h: refs/heads/master
i:
  14365: ef3915d
  14363: ba92ed6
  14359: d2a0abc
  14351: 319e163
  14335: 17c1129
v: v3
  • Loading branch information
Greg Kroah-Hartman authored and Linus Torvalds committed Nov 17, 2005
1 parent 7955837 commit 1ce19ab
Show file tree
Hide file tree
Showing 39 changed files with 26 additions and 140 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87cf203935a646d5fb00464dc5887292da71d928
refs/heads/master: 654f31189e550cd5924b786487a5d93d9feaada9
4 changes: 4 additions & 0 deletions trunk/drivers/usb/atm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ obj-$(CONFIG_USB_CXACRU) += cxacru.o
obj-$(CONFIG_USB_SPEEDTOUCH) += speedtch.o
obj-$(CONFIG_USB_ATM) += usbatm.o
obj-$(CONFIG_USB_XUSBATM) += xusbatm.o

ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
5 changes: 0 additions & 5 deletions trunk/drivers/usb/atm/usbatm.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,9 @@
#include <linux/config.h>

/*
#define DEBUG
#define VERBOSE_DEBUG
*/

#if !defined (DEBUG) && defined (CONFIG_USB_DEBUG)
# define DEBUG
#endif

#include <asm/semaphore.h>
#include <linux/atm.h>
#include <linux/atmdev.h>
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/usb/core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ ifeq ($(CONFIG_USB_DEVICEFS),y)
endif

obj-$(CONFIG_USB) += usbcore.o

ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
8 changes: 0 additions & 8 deletions trunk/drivers/usb/core/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@
#include <asm/scatterlist.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>


#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif

#include <linux/usb.h>
#include "hcd.h"

Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/usb/core/config.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
#include <linux/config.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#endif

#include <linux/usb.h>
#include <linux/module.h>
#include <linux/init.h>
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/usb/core/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/errno.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif
#include <linux/usb.h>

#include "usb.h"
Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/usb/core/hcd-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@
*/

#include <linux/config.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/usb/core/hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
*/

#include <linux/config.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#endif

#include <linux/module.h>
#include <linux/version.h>
#include <linux/kernel.h>
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/usb/core/hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
*/

#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/usb/core/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
*/

#include <linux/config.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif

#include <linux/pci.h> /* for scatterlist macros */
#include <linux/usb.h>
#include <linux/module.h>
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/usb/core/notify.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/notifier.h>
#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif
#include <linux/usb.h>

#include "usb.h"


Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/usb/core/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,7 @@

#include <linux/config.h>
#include <linux/kernel.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif
#include <linux/usb.h>

#include "usb.h"

/* endpoint stuff */
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/usb/core/urb.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/init.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif
#include <linux/usb.h>
#include "hcd.h"

Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/usb/core/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@
*/

#include <linux/config.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif

#include <linux/module.h>
#include <linux/string.h>
#include <linux/bitops.h>
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/usb/input/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ obj-$(CONFIG_USB_ACECAD) += acecad.o
obj-$(CONFIG_USB_YEALINK) += yealink.o
obj-$(CONFIG_USB_XPAD) += xpad.o
obj-$(CONFIG_USB_APPLETOUCH) += appletouch.o

ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
7 changes: 0 additions & 7 deletions trunk/drivers/usb/input/itmtouch.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@
*****************************************************************************/

#include <linux/config.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif

#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/input.h>
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/usb/input/keyspan_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ static int keyspan_load_tester(struct usb_keyspan* dev, int bits_needed)
* though so it's not too big a deal
*/
if (dev->data.pos >= dev->data.len) {
dev_dbg(&dev->udev, "%s - Error ran out of data. pos: %d, len: %d\n",
dev_dbg(&dev->udev->dev,
"%s - Error ran out of data. pos: %d, len: %d\n",
__FUNCTION__, dev->data.pos, dev->data.len);
return -1;
}
Expand Down Expand Up @@ -306,7 +307,7 @@ static void keyspan_check_data(struct usb_keyspan *remote, struct pt_regs *regs)
err("Bad message recieved, no stop bit found.\n");
}

dev_dbg(&remote->udev,
dev_dbg(&remote->udev->dev,
"%s found valid message: system: %d, button: %d, toggle: %d\n",
__FUNCTION__, message.system, message.button, message.toggle);

Expand Down
7 changes: 0 additions & 7 deletions trunk/drivers/usb/input/mtouchusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@
*****************************************************************************/

#include <linux/config.h>

#ifdef CONFIG_USB_DEBUG
#define DEBUG
#else
#undef DEBUG
#endif

#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/input.h>
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/usb/input/pid.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
#include "hid.h"
#include "pid.h"

#define DEBUG

#define CHECK_OWNERSHIP(i, hid_pid) \
((i) < FF_EFFECTS_MAX && i >= 0 && \
test_bit(FF_PID_FLAGS_USED, &hid_pid->effects[(i)].flags) && \
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/usb/input/touchkitusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
#include <linux/input.h>
#include <linux/module.h>
#include <linux/init.h>

#if !defined(DEBUG) && defined(CONFIG_USB_DEBUG)
#define DEBUG
#endif
#include <linux/usb.h>
#include <linux/usb_input.h>

Expand Down
6 changes: 5 additions & 1 deletion trunk/drivers/usb/misc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ obj-$(CONFIG_USB_RIO500) += rio500.o
obj-$(CONFIG_USB_TEST) += usbtest.o
obj-$(CONFIG_USB_USS720) += uss720.o

obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga/
obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga/

ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
1 change: 0 additions & 1 deletion trunk/drivers/usb/misc/auerswald.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/wait.h>
#undef DEBUG /* include debug macros until it's done */
#include <linux/usb.h>

/*-------------------------------------------------------------------*/
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/usb/misc/phidgetservo.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
*/

#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/misc/rio500.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ read_rio(struct file *file, char __user *buffer, size_t count, loff_t * ppos)
ibuf, this_read, &partial,
8000);

dbg(KERN_DEBUG "read stats: result:%d this_read:%u partial:%u",
dbg("read stats: result:%d this_read:%u partial:%u",
result, this_read, partial);

if (partial) {
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/usb/misc/usbled.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
*/

#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
#define DEBUG 1
#endif
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/usb/misc/usbtest.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#include <linux/config.h>
#if !defined (DEBUG) && defined (CONFIG_USB_DEBUG)
# define DEBUG
#endif
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/usb/misc/uss720.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@

/*****************************************************************************/

#define DEBUG

#include <linux/module.h>
#include <linux/socket.h>
#include <linux/parport.h>
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/usb/net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ obj-$(CONFIG_USB_NET_CDC_SUBSET) += cdc_subset.o
obj-$(CONFIG_USB_NET_ZAURUS) += zaurus.o
obj-$(CONFIG_USB_USBNET) += usbnet.o
obj-$(CONFIG_USB_ZD1201) += zd1201.o

ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
3 changes: 0 additions & 3 deletions trunk/drivers/usb/net/asix.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
// #define VERBOSE // more; success messages

#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
# define DEBUG
#endif
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/sched.h>
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/usb/net/cdc_ether.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
// #define VERBOSE // more; success messages

#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
# define DEBUG
#endif
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/usb/net/cdc_subset.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
*/

#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
# define DEBUG
#endif
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/sched.h>
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/usb/net/gl620a.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
// #define VERBOSE // more; success messages

#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
# define DEBUG
#endif
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/usb/net/net1080.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
// #define VERBOSE // more; success messages

#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
# define DEBUG
#endif
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/usb/net/pegasus.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
* is out of the interrupt routine.
*/

#undef DEBUG

#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/init.h>
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/usb/net/plusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
// #define VERBOSE // more; success messages

#include <linux/config.h>
#ifdef CONFIG_USB_DEBUG
# define DEBUG
#endif
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
Expand Down
Loading

0 comments on commit 1ce19ab

Please sign in to comment.