- 02 Jun, 2003 5 commits
-
-
Greg Kroah-Hartman authored
-
Thomas Wahrenbruch authored
as promised - here is the patch for 2.5.70: Added support for KAAN SIM in kobil_sct.
-
Greg Kroah-Hartman authored
Also fixed compiler warnings about the dbg() function.
-
Greg Kroah-Hartman authored
-
Adrian Bunk authored
The following patch lets SECURITY_ROOTPLUG depend on USB (otherwise there are link errors since Root Plug Support needs usb_bus_list{,_lock}):
-
- 01 Jun, 2003 6 commits
-
-
Oliver Neukum authored
this allows us to learn about a port that cannot be disabled. It's needed for a superrobust usb_reset_device().
-
Matthew Dharm authored
This patch changes to SAM_STAT_ result codes, which is (a) preferred, according to the code comments, and (b) removes some odd-looking bit-shifting.
-
Matthew Dharm authored
This patch replaces usb_control_msg() with usb_stor_control_msg() everywhere, which allows better abort/disconnect processing. Some comments are fixed-up. The GetMaxLUN function is moved later so URBs are initialized (now that it uses the new control_msg() ). There is also some locking cleanup during reset.
-
Matthew Dharm authored
This patch adds timeouts to usb_stor_control_msg(). Now we will no longer have to use the usb_control_msg() routine in the usb core, so all our control messages can be interrupted by scsi aborts or disconnects. This also includes the new serial-number for auto-REQUEST-SENSE change. The new serial number has one bit toggled from the old, guaranteeing that it is unique. Following a suggestion of David Brownell, this makes the transport-reset function attempt to clear a halt condition on both bulk pipes even if one of them fails.
-
Matthew Dharm authored
Typo fix. We need bitwise-OR here.
-
Greg Kroah-Hartman authored
-
- 30 May, 2003 21 commits
-
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
Daniele Bellucci authored
-
bk://kernel.bkbits.net/gregkh/linux/linus-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/torvalds/v2.5/linux
-
Paul Fulghum authored
This patch reinstates the ability of tty devices to use dynamically allocated major numbers yet specify the minor numbers statically. The synclink drivers do this.
-
Henning Meier-Geinitz authored
This patch adds some new vendor/product ids for the USB scanner driver.
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
Andrew Morton authored
The recent writev() fix broke the invariant that ->commit_write _must_ be called after a successful ->prepare_write(). It leaves ext3 with a transaction stuck open and the filesystem locks up.
-
http://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
-
Jens Axboe authored
- Kill the bogus ret transformation in block/ioctl.c if we return -EINVAL, doesn't make any sense. - Don't allow sg_reserved_size to be set bigger than a request we can deal with... - timeout fixes. - Cleanup of user access. - Set SAM_STAT_CHECK_CONDITION, not CHECK_CONDITION which needs to be bit shifted 1 up. - Set sense_len correctly. - Account sense_len correctly, don't just increment by 1... - Use the correct pointer in post transform. - Fix oops in bio_map_user(), it must get the extra reference prior to calling bio_unmap_user() itself too.
-
Jens Axboe authored
According to http://www.torque.net/sg/p/sg_v3_ho.html, SG HOWTO, SG_[GET|SET]_TIMEOUTs are measured in "jiffies," while timeout field of SG_IO structure - in milliseconds. Inconsistent? Yes. Yet it's no excuse to disregard the specification. "Jiffies" are USER_HZ, 10ms on IA-32 platforms and has to be scaled to kernel "jiffies," as suggested below. As for "(jiffies - start_time) * (1000 / HZ)" vs. "((jiffies - start_time) * 1000) / HZ." Just think that HZ is 1024 on some platforms...
-
Jens Axboe authored
Assorted small ide-cd fixes, found and fixed by Andy Polyakov <appro@fy.chalmers.se>. - CHECK_CONDITION really wants to be SAM_STAT_CHECK_CONDITION, the damn bit shift by one bit again - Set sense_len correctly - Do post_transform() on the right buffer.
-
Jens Axboe authored
From: Milton Miller <miltonm@bga.com>
-
Bartlomiej Zolnierkiewicz authored
Fix two problems related to list_head's (there are more, wip). Second bug was uncovered by wli's list_head debugging patch, thanks wli! - Remove ata_unused list and use &idedefault_driver->drives only, fixes list corruption (ata_unused will be later ressurected for hotplug). - Do not add same device twice to &idedefault_driver->drives, triggered by first calling ide_unregister_subdriver() and later ata_attach().
-
Bartlomiej Zolnierkiewicz authored
Since Andries killed ide-geometry, remove "hdX=noremap" parameter as it is no longer needed.
-
Bartlomiej Zolnierkiewicz authored
Allow a user to mark a device as for scsi emulation at boot even with modular scsi/ide-scsi. (from 2.4 patch by Matan Ziv-Av)
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/gregkh-2.5
-
Pavel Roskin authored
Linux 2.5.69-bk18 prints something strange to the kernel log when the USB scanner is attached. It turns out drivers/usb/image/scanner.c uses uninitialized variable "name" in probe_scanner() in the printk() call. That means that random memory is read and output to the kernel log.
-
Alan Stern authored
Until my ambitious project gets going, this patch at least fixes the problem of assigning a device's new address following a device reset. The only change needed to David's original suggestion was to handle the pathway involved in registering root hubs.
-
Dave Kleikamp authored
into shaggy.austin.ibm.com:/shaggy/bk/jfs-2.5
-
Greg Kroah-Hartman authored
This is needed, as the file was deleted over a year ago...
-
- 29 May, 2003 8 commits
-
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andrew Morton authored
From: Herbert Xu <herbert@gondor.apana.org.au> This patch adds a pair of missing quotes.
-
Andrew Morton authored
From: Martin Schwidefsky <schwidefsky@de.ibm.com> If writev() is passed a vector in which the second or later segment generates a fault it will currently return -EFAULT. It shouldn't. It should write what it can and return the number of bytes which were successfully copied. Fix that up by writing the partial result and then returning the right value.
-
Andrew Morton authored
From: Neil Brown <neilb@cse.unsw.edu.au> Extract ->stamp from skb *before* freeing it in svcsock.c As we sometime copy and free an skb, and sometime us it in-place, we must be careful to extract information from it *before* it might be freed, not after. Manfred's page-unmapping debug patch found this one.
-
Andrew Morton authored
From: Jes Sorensen <jes@wildopensource.com> This is patch which provides support for 64 bit address allocations from pci_alloc_consistent(), based on the address mask set through pci_set_consistent_dma_mask(). This is necessary on some platforms which are unable to provide physical memory in the lower 4GB block and do not provide IOMMU support for cards operating in certain bus modes, such as PCI-X on the SGI SN2. The default mask for pci_alloc_consistent() is still 32 bit as there are 64 bit capable hardware out there that doesn't support 64 bit addresses for descripters etc. Likewise, platforms which provide IOMMU support in all bus modes can ignore struct pci_dev->consistent_dma_mask and just return a 32 bit address as before. The patch also includes changes to tg3.c to make it use the new api as well as a documentation update. I have done my best on the documentation part, if anyone feel the can make my scribbles clearer, please do. Thanks to Dave Miller, Grant Grundler, James Bottomley, Colin Ngam, and Jeremy Higdon for input and code/documentation portions.
-
Andrew Morton authored
Replace rtnl_lock(); register_netdevice(dev); rtnl_unlock(); with the equivalent register_netdev(); in numerous places.
-
Andrew Morton authored
The NR_OPEN check in F_DUPFD is unneeded. viro says: "We check the limits in locate_fd() (called by dupfd()). Check for NR_OPEN can (and should) be dropped - locate_fd() will never go beyond that (expand_fd() will check it and refuse to go). "IOW, simply lose the check. We _might_ want to check signedness, but that's it (IOW, check that arg will fit into 0..MAX_INT; second argument of dupfd() is an int). OTOH, we might actually make dupfd() et.al. take unsigned long and kill that crap completely." And indeed, the signedness is suspicious, so make various things in there unsigned too.
-