- 04 Mar, 2003 3 commits
-
-
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.
-
Patrick Mochel authored
From Andrew Morton
-
- 03 Mar, 2003 10 commits
-
-
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.
-
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
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 02 Mar, 2003 27 commits
-
-
David S. Miller authored
-
Chas Williams authored
-
Hideaki Yoshifuji authored
-
Joy Latten authored
-
Art Haas authored
-
Harald Welte authored
-
Harald Welte authored
-
Harald Welte authored
-
Harald Welte authored
-
Harald Welte authored
-
Chas Williams authored
-
Chas Williams authored
-
Rusty Russell authored
-
Chas Williams authored
-
Hideaki Yoshifuji authored
-
David S. Miller authored
-
Chas Williams authored
-
Christoph Hellwig authored
-
Bruce Allan authored
-
David S. Miller authored
-
David S. Miller authored
-
Christoph Hellwig authored
-
Pete Zaitcev authored
-
Dominik Brodowski authored
-
Pete Zaitcev authored
-
Pete Zaitcev authored
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
-