- 02 Sep, 2003 3 commits
-
-
David Brownell authored
Please merge this minor fix: - loosen constraints on buffer allocation This is needed before Alan's file-backed storage gadget driver will initialize using net2280.
-
Alan Stern authored
This is a minor revision to the previous patch as83. It changes the name of the various struct hd_driveid variables from 'drive' to 'id', per Andries Brouwer's request. - Don't do DMA into the middle of a structure (info->drive). - Don't use I/O buffers for two different purposes simultaneously (info->ATARegs, regs, us->iobuf). - Rename info->drive to info->id.
-
Pat LaVarre authored
Via this patch ... We change only when CONFIG_USB_STORAGE_DEBUG=y. To /proc/kmsg etc. we now trace the fields of the cbw as we order those fields in ram and as we order those fields in time on the bus, to avoid disorientating those of us who view those canonical orders often. Also we no longer print "S" or "Sig" to "Signature", instead we always print "S". We chose "S" over "Sig" because it is the "T" signature (aka "Tag") that actually makes each cbw/csw pair distinct, whereas the so-called Signatures only distinguish cbw from csw by flipping one bit. Also in the trace we uppercase a 'C' and an 'S' to keep cbw from csw typographically distinct. For example, what was: <7>usb-storage: Command INQUIRY (6 bytes) <7>usb-storage: 12 00 00 00 24 00 <7>usb-storage: Bulk command S 0x43425355 T 0x1f13 Trg 0 LUN 0 L 36 F 128 CL 6 ... <7>usb-storage: Bulk status Sig 0x53425355 T 0x1f13 R 0 Stat 0x0 becomes: <7>usb-storage: Command INQUIRY (6 bytes) <7>usb-storage: 12 00 00 00 24 00 <7>usb-storage: Bulk Command S 0x43425355 T 0x1f3b L 36 F 128 Trg 0 LUN 0 CL 6 ... <7>usb-storage: Bulk Status S 0x53425355 T 0x1f3b R 0 Stat 0x0
-
- 29 Aug, 2003 4 commits
-
-
Jürgen Quade authored
-
David T. Hollis authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
Thanks to Pat Mochel for finding out where the error was for this bug.
-
- 28 Aug, 2003 7 commits
-
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
Based on the 2.4 version of the driver.
-
Randy Dunlap authored
-
Randy Dunlap authored
-
David Brownell authored
One person working on a mass-storage driver (the usb protocol side, not the block subsystem side) ran into a bug in how a bit of net2280 dma automagic was handled. This patch fixes it by calling existing dma chain patchup code when the dma engine was forced to "hiccup" by having a not-yet-valid entry in it. The hiccup is needed in this case since the IN data stage mustn't terminate with a short transfer (zero length packet); but the status stage is always a short packet. The "terminate with short packet" bit is endpoint state, not request state, so IN dma queues sometimes need this kind of fixup.
-
Alan Stern authored
This information was provided by Anthony Arkles <aja042@mail.usask.ca>. Please apply to both 2.4 and 2.6.
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.6
-
- 27 Aug, 2003 26 commits
-
-
David Brownell authored
This is a straightforward change matching ones sent in for ehci (last month) and ohci (earlier this week). It abstracts the reset operation into something that's called before the pci glue does much to the hardware. It also arranges to kick the BIOS off the hardware before it resets it (not after) ... so there's no confusion at any time about what driver "owns" that hardware. (Again matching what ehci and ohci drivers do.)
-
David Brownell authored
This fixes two small and unrelated bugs in the current OHCI code: - Certain initialization sequences had problems with IRQs. Fixed last month in EHCI, but this ohci patch didn't seem needed back then. OK, so now I saw the same bug in OHCI. (I could believe UHCI needs it too, sigh.) - When restarting endpoint i/o after a queue fault, the HC needs to be told the control (or bulk) list filled (CLF/BLF). Likely this wasn't common (usbtest test10 subcase7 fault recovery reproduced it nicely). Please merge. Lack of the first one might make trouble for some people.
-
David Brownell authored
This makes the new CDC Ethernet code handle more devices: - Uses the active config, not just the default one, if it's coping "descriptors in wrong place" quirk. (bugfix) - Uses usb_ifnum_to_if() to get interfaces. (bugfix) - AMBIT USB cable modems have bogus CDC Union descriptors; workaround by switching master and slave. (add quirk) - To make it easier the next time we run into firmware that violates the class spec, add debug messages saying exactly why it's giving up on a given CDC device. Net result, this code now handles at least one more cable modem design.
-
David Brownell authored
Small updates: - don't try chiprev 0100 erratum 0114 workaround on newer chips; and (mostly) revert it when clearing endpoint halt feature. (bugfix) - add missing define for the "force crc error" bit; I guess those #defines were generated from old chip specs! potentially useful with test software. - sysfs register dump includes chiprev and decodes some of the more interesting endpoint response bits. - makes a sysfs "gadget" node, representing the gadget itself. (decided against the class_device or bus_type approaches, until their value outweighs their costs.)
-
David Brownell authored
This goes on top of Dave Hollis' patch, and makes the front matter match the slightly revised role -- and mention that new support. It also eliminates a potentially confusing name and corrects an omission (Zaurus framing wasn't printed).
-
Greg Kroah-Hartman authored
This removes the compiler warning.
-
Greg Kroah-Hartman authored
This removes the compiler warning from this driver.
-
Greg Kroah-Hartman authored
Now it's up to the individual USB drivers to implement suspend() and resume() if they want to.
-
Andy Molloy authored
-
Matthias Bruestle authored
Mahlzeit I attached you the diff for 2.6.0-test4. It does there also one program run without any error, but not more. I hope this issue will be resolved soon, but I do not know yet how.
-
Olaf Hering authored
On Fri, Aug 22, Greg KH wrote: > On Sat, Aug 16, 2003 at 01:41:01PM +0200, Olaf Hering wrote: > > > > I sent you a patch for 2.4 once to make that FOO_MSR_RI, it seems that > > was not applied to 2.6 > Care to send me a patch for 2.6 then? How about that one:
-
David Brownell authored
Small kerneldoc clarifications: - more endpoint halt clearing info: * some hardware can't do it; which causes problems with drivers that want to use multiple interfaces or altsettings. * it doesn't affect queuing of data (should help usb-storage gadget driver, plus it's more sensible this way); - disconnect() callback not guaranteed: some hardware can't tell Mostly this captures answers to questions I've been asked.
-
David Brownell authored
Minor cleanup. This call no longer needs exporting for root hubs, they have their own API to use instead.
-
David Brownell authored
David T Hollis wrote: > This patch adds support to Kconfig to build ax8817x support into > usbnet. This renames the config option for the existing standalone > ax8817x driver to CONFIG_USB_AX8817X_STANDALONE. Please merge this version instead. It includes all of David's patch, plus it makes the descriptive info match the updated role of this driver. So given this, only the webpage still needs updates; the in-tree docs are now consistent.
-
Vinay K. Nallamothu authored
-
Greg Kroah-Hartman authored
It needs to be "Copyright (C)" not "Copyright (c)" according to the lawyers who know these things...
-
Daniele Bellucci authored
-
Daniele Bellucci authored
-
Daniele Bellucci authored
Another minor cleanup: - if usb_register fails report back its return code rather than -1
-
Daniele Bellucci authored
Changes: - if tty_register_driver report back its return code rather than -1 - if usb_register fails report back its return code rather than -1
-
Daniele Bellucci authored
Another better audit: - If usb_register failes report back its return value rather than -1
-
Daniele Bellucci authored
- if usb_register failes report back its return code rather than -1
-
Daniele Bellucci authored
- audit usb_register in hiddev_init
-
Daniele Bellucci authored
- audit hiddev_init in hid_init - audit usb_register in hid_init
-
Greg Kroah-Hartman authored
-
Daniele Bellucci authored
- if usb_register fails report back its return code rather than 0
-