- 27 Aug, 2002 1 commit
-
-
Patrick Mochel authored
- Make sure we have a valid inode when deleting a dentry - use list_for_each_safe instead of manually walking ->d_subdirs - don't do dget() in driverfs_mknod, since we already have a reference to it via driverfs_create_* - so, remove extra dput() in driverfs_remove_dir and driverfs_remove_file - Don't do get_mount() in driverfs_create_file, since it was done for the directory - so remove extrra put_mount() from driverfs_remove_* - Call d_invalidate() to unhash the files and directories instead of d_delete - Remove our own d_unhash(), since d_invalidate() does the equivalent - inline driverfs_rmdir in driverfs_remove_dir since its the only user and it prevents us from taking the dir's semaphore twice.
-
- 26 Aug, 2002 6 commits
-
-
Patrick Mochel authored
The platform bus is a pseudo-bus meant to group legacy devices. Not only does it give legacy devices a common parent and bus type, it provides the necessary infrastructure to allow for firmware-based enumeration of the system's devices (using the platform's add() callback).
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-cls
-
Patrick Mochel authored
This is so other entities in the kernel can inform the bus about devices that it either doesn't know about yet (like when using the firmware to enumerate the system) or that it wouldn't otherwise find (for the same reason, or because they're weird legacy devices that won't be probed for).
-
Patrick Mochel authored
-
Patrick Mochel authored
-
Linus Torvalds authored
by input merge
-
- 27 Aug, 2002 2 commits
-
-
Vojtech Pavlik authored
-
Vojtech Pavlik authored
into 2.5 - kbd0 init, sysrq support, show_regs, show_mem, show_state support, correct handling of shifts across vt switches, console blanking, console callback. Hope that's all.
-
- 26 Aug, 2002 27 commits
-
-
bk://ldm.bkbits.net/linux-2.5-clsLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Linus Torvalds authored
Talking to Vojtech about nicer config interfaces
-
Linus Torvalds authored
highmem enabled, but not otherwise, and was always required).
-
Patrick Mochel authored
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
http://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Ian Jackson authored
-
Jeff Garzik authored
(Noticed by DaveM)
-
Alan Cox authored
-
Pavel Janík authored
-
Brad Hards authored
-
Bryan B. Whitehead authored
-
Eric Sandeen authored
-
Jeff Garzik authored
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
-
Jeff Garzik authored
-
bk://ldm.bkbits.net/linux-2.5-clsLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Benjamin LaHaise authored
For some reason, quota.h was derrived from BSD 4 clause code. Thankfully, UCB gave permission to remove the advert clause a couple of years ago, so it's now okay for us to actually distribute this code. The following patch updates the header in quota.h.
-
Chuck Lever authored
this eliminates an infinite loop in rpciod if an RPC client's reference counter accidentally goes negative. i've been running this under load since 2.5.30 with no ill effects.
-
Kai Mäkisara authored
This adds direct write and read from/to the user space to/from the SCSI adapter. If something (e.g., too high address) prevents direct transfer, the existing driver buffer code is used. The patch contains functions to map and pin the user buffer pages so that this patch is not dependent on kiobufs. Similar functions are already used in sg.c.
-
Linus Torvalds authored
-
bk://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Jan-Benedict Glaw authored
Please import this patch. It updates the Config.help entry (which some people requested) and cleans up coding a bit. No functional changes.
-
Luca Barbieri authored
GCC can only inline functions when the function definition comes before its use.
-
Vojtech Pavlik authored
-
Vojtech Pavlik authored
Recompute keybit when keycode table changes. Stricter checks on input keycode/scancode values.
-
Patrick Mochel authored
Device interfaces are the logical interfaces of device classes that correlate directly to userspace interfaces, like device nodes. Device interfaces are registered with the class they belong to. As devices are added to the class, they are added to each interface registered with the class. The interface is responsible for determining whether the device supports the interface or not. The interface is responsible for allocating and initializing a struct intf_data and calling interface_add_data() to add it to the device's list of interfaces it belongs to. This list will be iterated over when the device is removed from the class (instead of all possible interfaces for a class). This structure should probably be embedded in whatever per-device data structure the interface is allocating anyway. Devices are enumerated within the interface. This happens in interface_add_data() and the enumerated value is stored in the struct intf_data for that device. Interfaces get a directory in driverfs under their class's directory. Each time a device is added to the interface, a symlink is created in that directory that points to the device's directory in the physical hierarchy. The name of this symlink is the interface-enumerated value of the device.
-
Patrick Mochel authored
Device classes describe a type (or class) of device, like an input device or network device, etc. This changeset defines a struct device_class that each subsystem is expected to implement and register with the core. struct device_driver gains a devclass pointer which points to the class it belongs to. When the driver is registered, it is added to the class's list of drivers. Whenever a device is bound to that driver, it is added to the class by calling the class's add_device callback. struct device gains a class_num field which is the per-class enumerated value of the device. It is incremented each time a device is registered with the class. Each device class gets a driverfs directory in class/<class name> and two subdirectories: 'devices' and 'drivers'. For each device added to the class, a symlink is created in the devices/ directory that points to the device's directory in the physical hierarchy. The name of the symlink is the enumerated number the device got when it was registered with the class. For each driver that's added to the class, a symlink is created in the class's drivers/ directory that points to the driver's directory. The name of this symlink is a concatenation of <bus name>:<driver name> (to prevent namespace conflicts of drivers with the same name on different buses).
-
- 25 Aug, 2002 4 commits
-
-
Vojtech Pavlik authored
-
Vojtech Pavlik authored
as functions interfacing to the input core. PC-Speaker handling is moved to a separate file. Uinput is moved to a input/misc directory.
-
http://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-