01 Nov, 2005
1 commit
-
CONFIG_PC is left-over cruft after the introduction of CONFIG_X86_PC with
the subarch split. Remove it, and fixup the remaining users to depend on
CONFIG_X86_PC instead.Signed-off-by: Arthur Othieno
Signed-off-by: Linus Torvalds
31 Oct, 2005
8 commits
-
Manual #include fixups for clashes - there may be some unnecessary
-
Signed-off-by: Dmitry Torokhov
-
Signed-off-by: Dmitry Torokhov
-
Signed-off-by: Dmitry Torokhov
-
Signed-off-by: Dmitry Torokhov
-
Signed-off-by: Dmitry Torokhov
-
I recently picked up my older work to remove unnecessary #includes of
sched.h, starting from a patch by Dave Jones to not include sched.h
from module.h. This reduces the number of indirect includes of sched.h
by ~300. Another ~400 pointless direct includes can be removed after
this disentangling (patch to follow later).
However, quite a few indirect includes need to be fixed up for this.In order to feed the patches through -mm with as little disturbance as
possible, I've split out the fixes I accumulated up to now (complete for
i386 and x86_64, more archs to follow later) and post them before the real
patch. This way this large part of the patch is kept simple with only
adding #includes, and all hunks are independent of each other. So if any
hunk rejects or gets in the way of other patches, just drop it. My scripts
will pick it up again in the next round.Signed-off-by: Tim Schmielau
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add CONFIG_X86_32 for i386. This allows selecting options that only apply
to 32-bit systems.(X86 && !X86_64) becomes X86_32
(X86 || X86_64) becomes X86Signed-off-by: Brian Gerst
Cc: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
30 Oct, 2005
3 commits
-
Convert everyone who uses platform_bus_type to include
linux/platform_device.h.Signed-off-by: Russell King
Acked-by: Greg Kroah-Hartman -
it's input_allocate_device(), not input_dev_allocate()...
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
29 Oct, 2005
20 commits
-
In PM v1, all devices were called at SUSPEND_DISABLE level. Then
all devices were called at SUSPEND_SAVE_STATE level, and finally
SUSPEND_POWER_DOWN level. However, with PM v2, to maintain
compatibility for platform devices, I arranged for the PM v2
suspend/resume callbacks to call the old PM v1 suspend/resume
callbacks three times with each level in order so that existing
drivers continued to work.Since this is obsolete infrastructure which is no longer necessary,
we can remove it. Here's an (untested) patch to do exactly that.Signed-off-by: Russell King
Signed-off-by: Greg Kroah-Hartman -
Input: remove custom-made hotplug handler
Now that all input devices are registered with sysfs we can remove
old custom-made hotplug handler and crate a standard one.Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
This creates symlinks in /sys/class/input/ to the nested class devices
to help userspace cope with the nesting.Unfortunatly udev still needs to be updated as it can't handle symlinks
properly here :(Signed-off-by: Greg Kroah-Hartman
-
Signed-off-by: Greg Kroah-Hartman
-
Signed-off-by: Greg Kroah-Hartman
-
Signed-off-by: Greg Kroah-Hartman
-
Signed-off-by: Greg Kroah-Hartman
-
Signed-off-by: Greg Kroah-Hartman
-
This is needed so we can actually use the class device within the input
handlers.Signed-off-by: Greg Kroah-Hartman
-
Input: export various input device attributes via sysfs
The following structure is exported:
input0/
|-- name
|-- phys
|-- uniq
|-- id/{bustype|vendor|product|version}
`-- capabilities/{ev|abs|rel|key|led|msc|ff|sw}Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
Input: show sysfs path in /proc/bus/input/devices
Show that sysfs and phys path are different objects.
Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
Input: convert drivers/input/joystick to dynamic input_dev allocation
This is required for input_dev sysfs integration
Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
Input: convert driver/input/misc to dynamic input_dev allocation
This is required for input_dev sysfs integration
Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
Input: convert drivers/input/touchscreen to dynamic input_dev allocation
This is required for input_dev sysfs integration
Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
Input: convert drivers/input/keyboard to dynamic input_dev allocation
This is required for input_dev sysfs integration
Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
Input: convert drivers/input/mouse to dynamic input_dev allocation
This is required for input_dev sysfs integration
Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
Input: prepare to sysfs integration
Add struct class_device to input_dev; add input_allocate_dev()
to dynamically allocate input devices; dynamically allocated
devices are automatically registered with sysfs.Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
Input: remove references to devfs from input subsystem
Signed-off-by: Dmitry Torokhov
Signed-off-by: Greg Kroah-Hartman -
The previous patch adding the ability to nest struct class_device
changed the paramaters to the call class_device_create(). This patch
fixes up all in-kernel users of the function.Signed-off-by: Greg Kroah-Hartman
22 Oct, 2005
3 commits
-
Update drivers to new input layer changes.
Signed-off-by: Helge Deller
Signed-off-by: Matthew WilcoxReorder code in gscps2_interrupt() and only enable ports when opened.
This fixes issues with hangs booting an SMP kernel on my C360.
Previously serio_interrupt() could be called before the lock in
struct serio was initialised.Signed-off-by: Richard Hirst
Signed-off-by: Kyle McMartin
-
Convert pa_dev->hpa from an unsigned long to a struct resource.
Signed-off-by: Matthew Wilcox
Fix up users of ->hpa to use ->hpa.start instead.
Signed-off-by: Matthew Wilcox
Signed-off-by: Kyle McMartin
-
Make /sys/bus/parisc/drivers look better by cleaning up parisc_driver
names.Signed-off-by: Matthew Wilcox
Signed-off-by: Kyle McMartin
18 Oct, 2005
1 commit
-
Only signal completion after marking request slot as free, otherwise other
processor can free request structure before we finish using it.Signed-off-by: Dmitry Torokhov
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
15 Oct, 2005
2 commits
-
This fixes depenencies of collie keyboard.
Signed-off-by: Pavel Machek
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
14 Oct, 2005
1 commit
-
Patch from Richard Purdie
Correct the right shift key entry in the spitz keyboard driver.
Signed-off-by: Richard Purdie
Signed-off-by: Russell King
25 Sep, 2005
1 commit
-
The wwitch bitmap was added to input_device_id structure and we should
check it when matching handlers and input devices.Signed-off-by: Dmitry Torokhov
Signed-off-by: Linus Torvalds