diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-12-17 18:03:37 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 17:49:57 -0500 |
commit | 8d402e1ae03656c1ad215514f8885ef4793f0948 (patch) | |
tree | ceac7800d7e07be1a7320a0b729156b12fbf26d6 /drivers/usb/host/uhci-hcd.h | |
parent | 0ed8fee1c1d38a62e981025ba40b5eba30c4ce2a (diff) |
[PATCH] UHCI: improve debugging code
This patch (as626) makes some improvements to the debugging code in
uhci-hcd. The main change is that now the code won't get compiled if
CONFIG_USB_DEBUG isn't set. But there are other changes too, like
adding a missing .owner field and printing a debugging dump if the
controller dies.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/uhci-hcd.h')
-rw-r--r-- | drivers/usb/host/uhci-hcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/uhci-hcd.h b/drivers/usb/host/uhci-hcd.h index 7e96bef2e88f..4a69c7eb09bd 100644 --- a/drivers/usb/host/uhci-hcd.h +++ b/drivers/usb/host/uhci-hcd.h | |||
@@ -411,6 +411,7 @@ struct uhci_hcd { | |||
411 | unsigned int hc_inaccessible:1; /* HC is suspended or dead */ | 411 | unsigned int hc_inaccessible:1; /* HC is suspended or dead */ |
412 | unsigned int working_RD:1; /* Suspended root hub doesn't | 412 | unsigned int working_RD:1; /* Suspended root hub doesn't |
413 | need to be polled */ | 413 | need to be polled */ |
414 | unsigned int is_initialized:1; /* Data structure is usable */ | ||
414 | 415 | ||
415 | /* Support for port suspend/resume/reset */ | 416 | /* Support for port suspend/resume/reset */ |
416 | unsigned long port_c_suspend; /* Bit-arrays of ports */ | 417 | unsigned long port_c_suspend; /* Bit-arrays of ports */ |