23 Mar, 2006
1 commit
-
* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
fixed path to moved file in include/linux/device.h
Fix spelling in E1000_DISABLE_PACKET_SPLIT Kconfig description
Documentation/dvb/get_dvb_firmware: fix firmware URL
Documentation: Update to BUG-HUNTING
Remove superfluous NOTIFY_COOKIE_LEN define
add "tags" to .gitignore
Fix "frist", "fisrt", typos
fix rwlock usage example
It's UTF-8
22 Mar, 2006
2 commits
-
Signed-off-by: Uwe Zeisberger
Signed-off-by: Adrian Bunk
21 Mar, 2006
4 commits
-
Matt mentioned that a very old ZIP-100 actually does need this, but I am
yet to see anyone who actually has one still working and uses ub with it.
He/she must be a retrocomputing geek, who can easily bias it to usb-storage
with libusual, if needed. Meanwhile, common folks have trouble with poorly
designed USB keys and some el-cheapo European music players. I think we
better drop this for now.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
Remove the "diag" file from the sysfs. The usbmon is good enough these days
so I do not need this feature anymore. Also, sysfs is a pain. Al Viro caught
a race in this, which I thought too bothersome to fix.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
The first_open was long overdue for removal, but I wanted to keep this
separate for other changes in case of regressions.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
Switch from kmalloc+memset to kzalloc.
Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
19 Mar, 2006
1 commit
-
Signed-off-by: Al Viro
15 Mar, 2006
1 commit
09 Mar, 2006
1 commit
-
Signed-off-by: Matt Mackall
Tested-by: Anders K. Pedersen
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Feb, 2006
1 commit
-
Signed-off-by: Andrew Morton
Signed-off-by: James Bottomley
21 Feb, 2006
5 commits
-
When attempting to open the device for writing, only return -EROFS if the disc
appears to be readable but not writable.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fix the pkt_writable_track() function to make it work correctly for all types
of CD/DVD discs.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Writing the detected disc type in the kernel log is not useful during normal
use of the driver, so remove the printk statements.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Boolean functions should return non-zero when they mean "true", otherwise the
calling code looks weird. (As suggested by Linus.)Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
It looks like the code in pkt_generic_packet() worked by luck in the past, but
after commit 186d330e682210100c671355580a8592e4a21692 leaving rq->cmd_len
uninitialized doesn't work any more.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
15 Feb, 2006
4 commits
-
Reduce stack usage in the pkt_start_write() function. Even though it's not
currently a real problem, the pages and offsets arrays can be eliminated,
which saves approximately 1000 bytes of stack space.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Unlocking the door when the disc is in use is obviously not good, because then
it's possible to eject the disc at the wrong time and cause severe disc data
corruption.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
If opening for write fails, the open method should return -EROFS. This makes
"mount" try again with a read-only mount, instead of just giving up.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Change some messages that don't indicate an error so that they are only
printed when debugging is enabled.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
08 Feb, 2006
1 commit
-
The softirq rq completion handler needs to save/restore interrupt flags
appropriately.Signed-off-by: Jens Axboe
Signed-off-by: Linus Torvalds
06 Feb, 2006
4 commits
-
Allocate memory for read-gathering at open time, when it is known just how
much memory is needed. This avoids wasting kernel memory when the real packet
size is smaller than the maximum packet size supported by the driver. This is
always the case when using DVD discs.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Unless the help text is outdated, this seems to be logical.
Signed-off-by: Adrian Bunk
Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The version information is not useful for a driver that is maintained in
Linus' kernel tree.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The pktcdvd driver was using an 8 bit field to store the packet length
obtained from the disc track info. This causes it to overflow packet length
values of 128KB or more. I changed the field to 32 bits to fix this.The pktcdvd driver defaulted to its maximum allowed packet length when it
detected a 0 in the track info field. I changed this to fail the operation
and refuse to access the media. This seems more sane than attempting to
access it with a value that almost certainly will not work.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
04 Feb, 2006
1 commit
-
Signed-off-by: Tobias Klauser
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
01 Feb, 2006
3 commits
-
For crying out loud, they have devices which do not like port resets.
So, do what usb-storage does and try both bulk and port resets.
We start with a port reset (which usb-storage does at the end of transport),
then do a Bulk reset, then a port reset again. This seems to work for me.The code is getting dirtier and dirtier here, but I swear that I'll
do something about it (see those two new XXX). Honest.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
If SCSI commands are submitted while other commands are still processed,
the dispatch loop turns, and we stop the work_timer. Then, if URB fails
to complete, ub hangs until the device is unplugged.This does not happen often, becase we only allow one SCSI command per
block device, but does happen (on multi-LUN devices, for example).The fix is to stop timer only when we actually going to change the state.
The nicest code would be to have the timer stopped in URB callback, but
this is impossible, because it can be called from inside a timer, through
the urb_unlink. Then we get BUG in timer.c:cascade(). So, we do it a
little dirtier.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman -
The blk_cleanup_queue does not necesserily destroy the queue. When we
destroy the corresponding ub_dev, it may leave the queue spinlock pointer
dangling.This patch moves spinlocks from ub_dev to static memory. The locking
scheme is not changed. These spinlocks are still separate from the ub_lock.Signed-off-by: Pete Zaitcev
Signed-off-by: Greg Kroah-Hartman
17 Jan, 2006
1 commit
-
Looks like fallout from the geo stuff.
16 Jan, 2006
1 commit
15 Jan, 2006
3 commits
-
Un-inline two functions in the pktcdvd driver. This makes the compiled code
172 bytes smaller on my system.Signed-off-by: Peter Osterlund
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Remove the "inline" keyword from a bunch of big functions in the kernel with
the goal of shrinking it by 30kb to 40kbSigned-off-by: Arjan van de Ven
Signed-off-by: Ingo Molnar
Acked-by: Jeff Garzik
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Remove the last occurence of LOCAL_END_REQUEST.
Signed-off-by: Domen Puncer
Signed-off-by: Adrian Bunk
13 Jan, 2006
5 commits
-
Fix up delete/modify conflict of arch/ppc/kernel/process.c by hand (it's
gone, gone, gone).Signed-off-by: Linus Torvalds
-
Signed-off-by: Al Viro
Cc: Roman Zippel
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Cc: Roman Zippel
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Cc: Roman Zippel
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
in amigahw.h custom renamed to amiga_custom, in drivers with few instances the
same replacement, in the rest - #define custom amiga_custom in driver itselfSigned-off-by: Al Viro
Cc: Roman Zippel
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
12 Jan, 2006
1 commit
-
Signed-off-by: Stephen Rothwell
Signed-off-by: Paul Mackerras