- 14 Aug, 2003 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Aug, 2003 10 commits
-
-
Kevin Owen authored
This supports another special case: devices can revert to the "default" (address zero) state temporarily in usb_reset_device(). This is the quick fix; 2.6 could get rid of these special cases in ep0 hcd logic by disabling ep0, but 2.4 can't.
-
Dave Jones authored
-
David Brownell authored
Recently we've seen some oopses reported in code that cleaned up HCs after they died ... like pci-pm not letting ohci-hcd suspend until after the hardware was partly disabled, or users removing a Cardbus adapter with ehci-hcd. One root cause was that the cleanup called hcd->stop() too many times. This patch just does the cleanup that's reasonable to do before the (dead) root hub is cleaned up: it disconnects the other devices. And based on a suggestion from Pavel, a diagnostic always appears -- avoiding mystery.
-
David Brownell authored
This patch has some updates to the hcd pci power management glue: - removes now-obsolete comments (driver model now exists) - better state transitions: * suspending "dead" controllers needn't oops * multi-resume case (pm bug) simplified * multi-suspend case likewise (not always a bug) * should handle transitions other than D0->D3{hot,cold} - prepares for usb remote wake up support, which will be wanting the driver model suspend/resume code to be ready.
-
Mark W. McClelland authored
This patch adds some read-only files to ov511's sysfs directory. The read/write attributes will be added in a future patch. For now, the read/write-related code is #if'd out to prevent warnings.
-
Mark W. McClelland authored
This patch converts ov511 to dynamically allocate struct video_device, using the new interfaces in videodev.[ch]. This is required to safely support sysfs without races.
-
Mark W. McClelland authored
This is the first in a series of three patches to convert the ov511 driver's /proc/video interface to sysfs. All V4L drivers must undergo this conversion now that /proc/video has been removed from the core. This patch removes ov511's /proc/video support, which allows it to compile again.
-
Greg Kroah-Hartman authored
Again, I messed up the usage, now we are safe from devices being removed. This fixes a number of error reports from users.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
This fixes the kobject messages when disconnecting a usb serial device that people have been complaining about.
-
- 11 Aug, 2003 8 commits
-
-
David Brownell authored
Unfortunately, usb_set_configuration() is widely mis-used as a lightweight device reset. That's trouble because setting a configuration must sometimes involve things that don't relate at all to a light reset, and can't be done in contexts like driver probe() calls. This patch updates most usb_set_configuration() users to use a call that provides more appropriate functionality: - Adds a new usb_reset_configuration() call, which never needs to change very much usbcore state. - Uses it to replace most usb_set_configuration() calls, in many serial drivers, hisax, dvb, irda, and so on. - Modifies usb_reset_device() so it issues the control request directly. It's both more of a reset (hides a USB reset) and less of one (altsettings are unchanged). - Makes usbfs return the error code instead of discarding it. Once this goes in, then usb_set_configuration() can be made to work properly (including from sysfs).
-
David Brownell authored
This resolves the annoyance that dabusb claims devices it shouldn't (and hotplugs for them), because of wrongly including the device IDs used by an21xx devices that don't have an ID prom. Mostly affects developers. Deti OK'd such a patch ages ago.
-
Oliver Neukum authored
this can oops. - check for mem alloc failure
-
Oliver Neukum authored
- fail if second interface is already claimed
-
Oliver Neukum authored
- update commentary
-
Oliver Neukum authored
this function races with itself, doesn't return errors and races with releasing interfaces. This patch fixes it by changing the function prototype, introducing locking and having a correct order in releasing interfaces. - API change to check errors in usb_driver_claim_interface and fix a race condition between releasing and reclaiming an interface
-
Oliver Neukum authored
it seems that I've broken usblp. This reverts to the old behaviour. Please apply. - revert to old timeout handling
-
Oliver Neukum authored
- in interrupt usb_submit_urb must use GFP_ATOMIC
-
- 09 Aug, 2003 14 commits
-
-
Thomas Molina authored
The following patch has been floating around forever. It is required for several ARM framebuffer drivers, and several other drivers. James has indicated that this is the correct fix back in May.
-
Benjamin Herrenschmidt authored
This provides the necessary infrastructure for PowerMac specific drivers (and actually some Open Firmware platform drivers on non-PowerMacs as well provided somebody port them) to be properly probed & referenced via the new driver model and be part of sysfs. As-is, this patch doesn't break anything nor change any driver. I'll send you individual driver patches as I clean them up & get them tested on as many machines as possible, though I don't expect much problems.
-
Jeff Garzik authored
While reviewing my 2.4 backport of the 2.6 cpu capabilities (including the Via RNG support), Mikael Pettersson noticed a bug in both my backport, and 2.6: when NCAPINTS (x86_capability array size) is increased, one must adjust the offset in arch/i386/kernel/head.S also. Contributed by Mikael Pettersson.
-
Herbert Xu authored
This makes the HISAX ST5481 driver build again with 2.6.0-test3 where the usb_host_config structure has changed.
-
Wim Van Sebroeck authored
some small clean-ups: do correct errorhandling
-
Wim Van Sebroeck authored
added WDIOC_SETTIMEOUT and WDIOC_GETTIMEOUT ioctls made timeout (the emulated heartbeat) a module_param made the keepalive ping an internal subroutine
-
Wim Van Sebroeck authored
add CONFIG_WATCHDOG_NOWAYOUT support changed watchdog_info to correctly reflect what the driver offers added WDIOC_GETSTATUS, WDIOC_GETBOOTSTATUS and WDIOC_SETOPTIONS ioctls use module_param
-
Wim Van Sebroeck authored
cleanup comments and trailing spaces eliminate extra spin_unlock add KERN_* tags to printks added extra printk's to report what problem occured
-
Wim Van Sebroeck authored
some small clean-ups (use PFX + report default timeout as it's value in the MODULE_PARM_DESC)
-
Wim Van Sebroeck authored
some last clean-ups
-
Wim Van Sebroeck authored
added extra printk's to report what problem occured
-
Wim Van Sebroeck authored
make wdt_stop and wdt_start module params
-
Wim Van Sebroeck authored
report default timeout as a number
-
Wim Van Sebroeck authored
general cleanup of trailing spaces and comments fix possible wdt_is_open race add KERN_* to printk's changed watchdog_info to correctly reflect what the driver offers added WDIOC_GETSTATUS, WDIOC_GETBOOTSTATUS, WDIOC_SETTIMEOUT, WDIOC_GETTIMEOUT, and WDIOC_SETOPTIONS ioctls made timeout (the emulated heartbeat) a module_param made the keepalive ping an internal subroutine added MODULE_AUTHOR and MODULE_DESCRIPTION info
-
- 08 Aug, 2003 7 commits
-
-
Linus Torvalds authored
-
Jeff Garzik authored
Contributed by VIA, via Jean Tourrilhes.
-
Jean Tourrilhes authored
ir260_tekram-sir.diff : ~~~~~~~~~~~~~~~~~~~~~ <Patch from Martin Diehl> o [CORRECT] Update tekram-sir dongle driver to common power-settling
-
Jean Tourrilhes authored
ir260_usb_probe-4.diff : ~~~~~~~~~~~~~~~~~~~~~~ <Patch from Oliver Neukum and Daniele Bellucci> o [CORRECT] minor fix to the probe failure path of irda-usb.
-
Jean Tourrilhes authored
ir260_lap_retry_count.diff : ~~~~~~~~~~~~~~~~~~~~~~~~~~ o [CORRECT] add interoperability workaround for 2.4.X IrDA stacks
-
Jean Tourrilhes authored
ir260_donau_cleanup.diff : ~~~~~~~~~~~~~~~~~~~~~~~~ <Patch from Christian Gennerat> o [CORRECT] Disable chip probing that fail too often o [FEATURE] Cleanup STATIC
-
bk://kernel.bkbits.net/gregkh/linux/linus-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-