- 25 Mar, 2003 15 commits
-
-
Matthew Dharm authored
This patch initializes the URB status before it's used. While not technically required, it's good programming practice (and a similar bug just bit us on 2.4 with UHCI).
-
Matthew Dharm authored
This patch (developed with assistance from Jan Harkes <jaharkes@cs.cmu.edu>) makes the LUN field of a bulk-only transport come from a known-good source, rather than the likely-good command-byte. It also updates the ISD200 driver to work with this change.
-
Oliver Neukum authored
- add logging to reset
-
Oliver Neukum authored
> In the absence of far-reaching changes to the API, my suggestion is to > have the emulated SCSI bus reset code in usb-storage do nothing but log an > error message and return an error code. For the time being, considering > how infrequently these resets occur, we can simply rely on the user > unplugging the USB cable and putting it back in or cycling the power to > the drive. (Yes, there are situations where these resets crop up > regularly -- but they are the result of some other incompatibility that a > device reset won't fix anyway.) OK, as the consensus seems to be that in the short run changing things for a full reset implementation is not worth it, here's an implementation that does the best we can do without. It issues a reset only if we can be sure that there are no other users of the device in question. As the version currently in the storage driver is broken anyway, this is a definite improvement. And it addresses the need of exporting the probe/remove functions for storage's sake.
-
Oliver Neukum authored
- memory allocation in block io error code path with GFP_KERNEL
-
Greg Kroah-Hartman authored
[PATCH] USB: fix Makefile to allow usb midi driver to be built if it's the only class driver selected.
-
Randy Dunlap authored
Reduces stack usage in emi26_load_firmware().
-
Oliver Spang authored
-
Joe Perches authored
Remove redundant __FILE__.
-
David Brownell authored
I'll be switching "gadget zero" to use real product IDs (donated by NetChip), and these are the two drivers that will need to recognize them.
-
Ivan Kokshaysky authored
at least Alpha needs mm.h for "page_address".
-
Duncan Sands authored
The list of open vccs is modified by open/close, and traversed by the receive tasklet. This is the last race I know of in this driver.
-
Duncan Sands authored
Use struct list_head rather than a singly linked list in udsl_vcc_data. Reject attempts to open multiple vccs with the same vpi/vci pair. Some cleanups too.
-
Duncan Sands authored
-
Duncan Sands authored
Remove dead code from sarlib, reorganize live sarlib code (trivial transformations).
-
- 24 Mar, 2003 25 commits
-
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
Linus Torvalds authored
-
Dave Jones authored
Still pretty ugly debug macro, but this at least makes it do the right thing when used in if/else blocks Fix from Joe Perches <joe@perches.com>
-
Dave Jones authored
-
Davide Libenzi authored
This patch adds selectable EdgeTriggered/LevelTriggered behaviour to epoll. It has been widely discussed on lkml about two weeks ago and everyone very welcome the change. It has been even more widely discussed through private emails with application developers, that do not feel confortable posting on lkml. The great value of the patch is that selecting the LT behaviour, applications using poll/select can be ported very easily to epoll, making existing apps to benefit from epoll scalability with very short ETA's. The API remains the same with the addition of a EPOLLET event flag that sets the LT/ET behaviour for that fd.
-
Christoph Hellwig authored
Many usb drivers use the usb_devfs_handle variable instead of just adding the usb/ prefix directly to their devfs_register calls. Fix that and make usb_devfs_handle static and unexported.
-
Christoph Hellwig authored
.. by moving a bunch of devfs-related code from fs/partition/check.c to fs/devfs/base.c. Also has the nice sideffect of getting rid of a bunch of ugly ifdefs. [This is the new and improved, rediffed, applying and compilable version. In short it's perfect]
-
Andrew Morton authored
From: Nikita Danilov, Maneesh Soni d_lookup() is forgetting to release the lock when the rename race happens.
-
Linus Torvalds authored
by having a cast followed by an initializer. It seems even gcc can't do it right anyway in some versions (as reported by Jens Axboe).
-
Linus Torvalds authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
+ C99 struct initialisers
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
Another brought forward from 2.4.
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
Spotted by Oleg Drokin
-
Dave Jones authored
-