- 06 Mar, 2003 3 commits
-
-
Greg Kroah-Hartman authored
The host controllers have to be fixed up before we can safely take out the check for dev->state.
-
David Brownell authored
This patch merges the USB state definitions from the ARM Linux code (inside the sa1100 driver) and uses them to track what can be done with the device. That replaces the recently added "udev->present" flag with a more complete/standard state model. There are a few changes that might affect behavior if things start to go really haywire: - usb_set_address() and usb_set_configuration(), used while enumerating, handle some unlikely cases more correctly: don't allow setting address to zero (undefined behavior), and do allow un-configuring (config 0). (Adds a FIXME for an existing set-configuration bug too.) - usb_disconnect() flags the state change earlier (as soon as it's known). - usb_submit_urb() works in the states where messaging is allowed, and also enforces the "unless configured, only control traffic is legal" rule. - usb_unlink_urb() doesn't care any more about that state. (There seemed to be agreement that it must not matter.) This will help with some further cleanups in the complex of issues relating to driver removal, device removal, config changing (with driver unbind and rebind), reset, and so on.
-
Alan Stern authored
This patch fixes an oversight in usb-storage whereby the command length and command buffer for an automatically-generated REQUEST-SENSE command would not be initialized properly.
-
- 05 Mar, 2003 4 commits
-
-
Greg Kroah-Hartman authored
Thanks to gene_heskett@iolinc.net for the info for this.
-
André Breiler authored
attached a fix for the io_edgeport usb serial driver This diff fixes endianess issues which prevented the driver to work on bigendian machines (e.g. sparc).
-
Clemens Ladisch authored
sync with Nagano's version: - protect vendors ids against multiple definitions - sort Roland device ids - fix SC-8850 cable bitmask - add quirk for the SC-8820 - add quirk for the MOTU Fastlane
-
Greg Kroah-Hartman authored
Finally...
-
- 04 Mar, 2003 18 commits
-
-
David S. Miller authored
Many places use inappropriate types for comparing jiffies, int for example. Fix those places up.
-
Linus Torvalds authored
-
Ben Collins authored
- Cleanup Makefile. - Fix potentional crash in dv1394 module unload. - Why does ARM's memcpy not return void*? Oh well, work around it in eth1394 by not expecting standard behavior.
-
Linus Torvalds authored
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Andi Kleen authored
- Inode and dcache Hash table only needs half the memory/cache because of using hlists. - Simplify dcache-rcu code. With NULL end markers in the hlists is_bucket is not needed anymore. Also the list walking code generates better code on x86 now because it doesn't need to dedicate a register for the list head. - Reorganize struct dentry to be more cache friendly. All the state accessed for the hash walk is in one chunk now together with the inline name (all at the end) - Add prefetching for all the list walks. Old hash lookup code didn't use it. - Some other minor cleanup.
-
bk://ldm.bkbits.net/linux-2.5-coreLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
Patrick Mochel authored
Originally from Nikita Danliov. - Add struct subsystem to struct file_system_type. - Add fs_subsys_init() to explicitly call sysfs_init() very early. - Register base fs subsystem then, too. - Register filesystems' embedded subsystem when registered with fs core. Resulting tree looks like: # tree /sys/fs/ /sys/fs/ |-- bdev |-- devpts |-- eventpollfs |-- ext2 |-- ext3 |-- futexfs |-- iso9660 |-- pipefs |-- proc |-- ramfs |-- rootfs |-- sockfs |-- sysfs `-- tmpfs
-
Patrick Mochel authored
- For matching registered platform devices with platform drivers. - Also, make sure platform_bus is initialized early, with the rest of the core stuff.
-
Patrick Mochel authored
This ensures that sysfs is initialized very early, before anything can possibily registered with it. It happens early enough that all filesystems can registered with sysfs (besides sysfs itself), which is coming next.
-
Patrick Mochel authored
- Call driver_init() from init/main.c::do_basic_setup(). This ensures that all the driver model subsystems are initialized before any drivers or devices can be registered. It nearly frees up the core and postcore initcall levels, making them available for other kernel code to use freely.
-
Ben Collins authored
-
Patrick Mochel authored
From Andrew Morton
-
Ben Collins authored
- Add ioctl32 compat function registration for video1394, dv1394 and amdtp. - Convert SBP-2 driver to new SCSI hotplug host/device interfaces. - Initial Async ISO (GASP) support.
-
Linus Torvalds authored
-
bk://kernel.bkbits.net/davem/sparc-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andrew Morton authored
-
- 03 Mar, 2003 15 commits
-
-
David S. Miller authored
-
David S. Miller authored
-
Bruce D. Elliott authored
-
Patrick Mochel authored
-
Patrick Mochel authored
-
Patrick Mochel authored
- Create and register kobjects when adding a cpu to the cpufreq interface, instead of the terminally broken struct intf_data. ACKed by Dominik Brodowski.
-
John Levon authored
-
bk://ldm.bkbits.net/linux-2.5-coreLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Nicolas Pitre authored
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
Patrick Mochel authored
- Remove struct intf_data. It was silly, and gave us an unbalanced interface. Instead, when removing a device_interface, all of a class's devices are iterated over, and intf->remove_device() is called for each. (Instead of the device's list of interfaces it belongs to). Interfaces are expected to tell if they support the device being removed. - Remove struct device::intf_list. - Protect classes' device list access with devclass_sem, which is taken when a device or interface is added or removed. This allows access to the list w/o taking the class's lock, which allows subordinate objects to be registered (e.g. the interface itself, or objects the interfaces create for a device). - This should fix a deadlock when devices are added to interfaces, which calls intf->add_device(), then interface_add_data(), which call kobject_register() and hangs, since it tries to take the class's lock again.
-
Patrick Mochel authored
Check whether kset is NULL or not before doing container_of(). From Dominik Brodowski
-
Patrick Mochel authored
From Matt Wilcox
-
Patrick Mochel authored
If a file that doesn't exist was looked up in a directory, and that directory is later removed, sysfs would reap the negative dentrys along with the valid ones. Fix is to manually remove the dentrys from the parent's list under the dcache_lock, then check if they're valid with dget_locked(). This ensures all the dentrys are removed, valid and invalid, and we don't reap anything we shouldn't.
-
Steven Cole authored
This patch contains the first fruits of the automatic spell checking and correcting scripts written by Dan Kegel and Matthias Schniedermeyer. Those scripts are available here: http://www.kegel.com/kerspell/ This patch fixes these six words from the first five lines of spell-fix.txt. 280 lines remaining. accesible -> accessible accesing -> accessing accomodate -> accommodate acommodate -> accommodate Acknowlege -> Acknowledge acknoledged -> acknowledged
-