- 23 Oct, 2003 22 commits
-
-
David Brownell authored
This resolves a bug that was recently reported to me by someone enumerating a USB 1.1 modem through a high speed hub. I'm a bit surprised we never saw it before; I think cache/dma timings must usually be strongly in our favor. The problem was that the HC was still using the old ep0 maxpacket value, so when it received an 18 byte device descriptor it would report a packet overrun and enumeration would fail. The fix is straightforward: invalidate the HC's old endpoint state when we change the full speed maxpacket size. (And eventually, we can remove EHCI and OHCI code coping with usbcore not doing this.)
-
Greg Kroah-Hartman authored
into kroah.com:/home/greg/linux/BK/usb-2.6
-
David Brownell authored
This fixes a problem that showed in usb-storage (osdl bugme 1310) and could have shown in other drivers that used usb_reset_device() when they already held dev->serialize: a self-deadlock with some devices. There are some drivers that should likely change so that they grab this lock themselves, since they don't call this during probe() when the lock is already held. The lock protects against config changes by other tasks, which is currently quite rate.
-
Alan Stern authored
An earlier patch caused trouble because it effectively removed the US_FL_FIX_INQUIRY flag for devices with release number higher than 0x5009. This one might cause problems because it explicitly goes against the immediately preceding comment in unusual_devs.h. That comment says that these Casio digital cameras claim to use the CBI transport when in fact they only use CB. However, there have been two reports in the last few weeks from people getting the "unneeded SubClass and Protocol" log messages. One of them was using a device with release number 0x1000, right at the start of the range. The other had a device with release number 0x5010, just beyond the end of the current range. Maybe Casio is marketing two different devices with different behaviors but having the same Vendor, Product, and Release values -- I don't know.
-
Carsten Busse authored
its for the Jenoptik JD 5200 z3 Digicam, to enable it to work as a simple storage device more or less i took the values for the 0x0d96 vendor in the 2.6.0-test7 usb-storage and mixed them with my device id, which seems to work quite well tested with 2.4.22 kernel
-
Ian Abbott authored
Patch by me (Ian Abbott). Removed aliases of FTDI_VID define for consistency. Renamed FTDI_PERLE_PID to FTDI_PERLE_ULTRAPORT_PID. Removed Matrix Orbital and Perle Systems devices from the 8U232AM device table (but left them in the FT232BM device table) as they are known to be FT232BM devices.
-
Ian Abbott authored
Scott Allen's patch to add vid/pid support for Perle Systems UltraPort USB serial converter, merged up with minor whitespace changes by myself (Ian Abbott).
-
David Brownell authored
Please merge this patch. I've had two success reports from it. Putback comment can be: Fixes some long-standing cdc-acm bugs including: - Oopsing - Probe messages not so excessive - Makes /proc/bus/usb/devices show both interface claims - Now cdc_acm won't hotplug for Ethernet devices (or RNDIS)
-
David T. Hollis authored
* ax8817x_set_multicast - use address of dev->data, not contents * ax8817x_write_async_cmd - free request and urb if submit fails
-
Arnaldo Carvalho de Melo authored
I'm doing an audit wrt copy_to_user leaking info to userspace, started with drivers/usb, please apply.
-
bk://kernel.bkbits.net/lord/xfs-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
ssh://lord@kernel.bkbits.net/xfs-2.6Stephen Lord authored
into jen.americas.sgi.com:/src/lord/bitkeeper/xfs-2.6
-
Stephen Lord authored
SGI Modid: 2.5.x-xfs:slinx:160507a
-
Glen Overby authored
algorithm in it. The old algorithm appeared to look for the first place to put a new data block, and thus a new freespace block (this is where the 'foundindex' variable came from). However, new space in a directory is always added at the lowest file offset as determined by the extent list. So this stuff is never used. I completely ripped out the reminants of the old algorithm, and (again) moved the freespace block add code inside the conditional where a data block is added. SGI Modid: 2.5.x-xfs:slinx:159751a
-
Nathan Scott authored
[XFS] Use an xfs_ino_t to hold the result of inode extraction from a handle, not a possibly 32-bit number SGI Modid: 2.5.x-xfs:slinx:159943a
-
Nathan Scott authored
SGI Modid: 2.5.x-xfs:slinx:159997a
-
bk://linux-scsi.bkbits.net/scsi-bugfixes-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Mark Haverkamp authored
If you have a 4gig or greater system, some versions of aacraid firmware have problems if you set HostPhysMemPages >= 0x100000. This can potentially cause data corruption. If you have 4gig or greater memory, this patch sets the HostPhysMemPages to something that the firmware can deal with.
-
Pat LaVarre authored
I propose the 2.6.0-test8 two-line patch below to teach SG_SET_RESERVED_SIZE to reject a negative size, rather than oops-ing.
-
Mike Anderson authored
This patch removes the delay in calling device_del on the sdev struct device during a surprise removal event. Reference counting functions for sd's scsi_disk structure where also added to fix issues of unregistering when a sd is open. I have tested this patch using scsi_debug with differnt combinations of adds / removes. I mounted both partitioned and un-partitioned sd disks, remove the host, and then did a umount. The ref count debug output shows the objects staying in place prior to the umount and cleaning up once the umount is called. This patch fixes an issue with a delayed call of device_del on the sdev_gendev struct device. - Remove the delayed call to device_del. - Add kobject to sd scsi_disk structure. - Add release function for scsi_disk kobject. - Add get / put functions for scsi_disk and calls to these functions. drivers/scsi/scsi.c | 4 -- drivers/scsi/scsi_sysfs.c | 3 -- drivers/scsi/sd.c | 63 ++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 57 insertions(+), 13 deletions(-)
-
Linus Torvalds authored
Apparently some laptops (Compaq EVO N620c for one) have something hidden at IO port range 0x1000, and the 2.4.x default of allocating IO starting at 0x4000 is safer.
-
Stephen Lord authored
into kernel.bkbits.net:/home/lord/xfs-2.6
-
- 22 Oct, 2003 18 commits
-
-
Linus Torvalds authored
It's incorrect for any user of the non-synchronizing irq_disable_nosync(). Cset exclude: torvalds@home.osdl.org|ChangeSet|20031013020955|28777
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Alex Williamson authored
I stumbled on a couple trivial bugs in ia64 numa/discontig support. The first just sets the default number of nodes to something reasonable for a generic kernel, otherwise it's really easy to start walking over your initdata (more error checking should probably be added). The second fixes a memcpy to a physical address.
-
Arun Sharma authored
Without this patch, if a signal handler tried to access TLS data (via %gs), things break, because the GS descriptor is zero. To be compatible with i386, we shouldn't be touching the segment descriptors before getting into signal handlers.
-
ssh://lord@kernel.bkbits.net/xfs-2.6Stephen Lord authored
into jen.americas.sgi.com:/src/lord/bitkeeper/xfs-2.6
-
Linus Torvalds authored
their NR_IRQ_VECTORS.
-
Linus Torvalds authored
-
Alexander Viro authored
do_tty_hangup() does fput() on redirect struct file too early - it could've been the only holder of tty_struct we are working with and in that case we'll end up freeing it from fput() and then both reading and modifying kfreed memory.
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Andrew Morton authored
From: Bjorn Helgaas <bjorn.helgaas@hp.com> early_serial_setup() doesn't validate the array index, so a caller could corrupt memory after serial8250_ports[] by supplying a value of port->line that's too large. I haven't seen a failure related to this, but it seems fragile to rely on callers to know how many ports the driver supports.
-
Andrew Morton authored
Need to null-terminate that table.
-
Andrew Morton authored
From: Patrick Gefre <pfg@sgi.com> Add ia64 Altix serial console driver.
-
Andrew Morton authored
From: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br> when PROC_FS=n, arlan.h will define init_arlan_proc() and cleanup_arlan_proc() as macros. So, whitout the #ifdef/#endif here, we have two definitions.
-
Andrew Morton authored
From: Pavel Machek <pavel@ucw.cz> This printk is unneccessary for quite a long time, please kill it. [I added it, so it should be okay for me to request it being killed..]
-
Andrew Morton authored
From: Bjorn Helgaas <bjorn.helgaas@hp.com> ia64 needs more complete checking on the offset which is passed into reads or writes of /dev/mem. This patch factors out the range checking so that the architecture can implement a private version.
-
Andrew Morton authored
From: "Noah J. Misch" <noah@caltech.edu> Two gameport drivers need __devexit_p wrapped around their remove functions. A newer binutils caught this is a link error. This patch fixes that. Wrapped a __devexit_p around the 'remove' functions of two gameport drivers. The lack of __devexit_p was wrong according to linux/init.h, differed from the practices in nearby files, and caused a link error with binutils 2.14.90.0.5.
-
Andrew Morton authored
From: miles@lsi.nec.co.jp (Miles Bader) The cb_pic_handle_irq function on this platform hadn't been updated to use irqreturn_t; do so.
-
Andrew Morton authored
From: miles@lsi.nec.co.jp (Miles Bader) This reservation is handled by platform-independent code in 2.6.0, but some platforms _also_ did it in platform-specific code (left over from 2.4.x).
-