An error occurred fetching the project authors.
- 11 Jan, 2005 1 commit
-
-
Pavel Machek authored
This introduces pm_message_t. For now, it is only good for type-safety and sparse checking, but plan is to turn pm_message_t into structure soon. Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 06 Jan, 2005 1 commit
-
-
David Brownell authored
During setup to access platform bus segments through bridges, the current platform_device_register() ignores the resource parent specified by the bridge. That means it'll always detect a (false) resource conflict with the bridge, and fail the resource reservation step. This patch makes that code use the specified parent resource, defaulting to "iomem_resource" or "ioport_resource" only for a NULL parent (that is, for devices that aren't accessed through a bridge). Signed-off-by:
David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
-
- 17 Dec, 2004 1 commit
-
-
Kumar Gala authored
Adds the ability to find a resource or irq on a platform device by its resource name. This patch also tweaks how resource names get set. Before, resources names were set to pdev->dev.bus_id, now that only happens if the resource name has not been previous set. All of this allows us to find a resource without assuming what order the resources are in. Signed-off-by:
Kumar Gala <kumar.gala@freescale.com> Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
-
- 24 Sep, 2004 1 commit
-
-
Patrick Mochel authored
Signed-off-by:
Patrick Mochel <mochel@digitalimplant.org> Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
-
- 14 Jul, 2004 1 commit
-
-
Dmitry Torokhov authored
Driver core: platform_device_unregister should release resources first and only then call device_unregister, otherwise if there are no more references to the device it will be freed and the fucntion will try to access freed memory. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru> Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
-
- 08 Jul, 2004 1 commit
-
-
Dmitry Torokhov authored
Add platform_device_register_simple to register platform devices requiring minimal resource and memory management. The device will have standard release function that just frees memory occupied by the platform device. By having release function in the driver core modules using such devices can be unloaded without waiting for the last reference to the device to be dropped. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru> Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
-
- 03 Jul, 2004 1 commit
-
-
James Bottomley authored
This new function fails to build on sparc64 due to nasty include dependencies. Fix that by uninlining it - it was too big for inlining anyway. Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 18 Jun, 2004 1 commit
-
-
Russell King authored
On Wed, Jun 16, 2004 at 05:51:03PM -0500, Dmitry Torokhov wrote: > What about freeing the resources? Can it be put in platform_device_unregister > or is it release handler task? I'd put it in unregister because when I call > unregister I expect device be half-dead and release as much resources as it > can. Here's the updated patch - to be applied on top of the platform_get_resource() patch sent previously. Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
-
- 10 Jun, 2004 2 commits
-
-
Dmitry Torokhov authored
Whitespace and formatting changes (a,b,c -> a, b, c) in drivers/base Signed-off-by:
Dmitry Torokhov <dtor@mail.ru> Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
-
Dmitry Torokhov authored
Do not add numeric suffix to platform device name if device id is set to -1. This can be used when there can be only one instance of a device (like i8042). Signed-off-by:
Dmitry Torokhov <dtor@mail.ru> Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
-
- 08 Jun, 2004 1 commit
-
-
Russell King authored
This patch adds management of platform device resources to the device model, allowing drivers to lookup resources, IRQs and DMA numbers in the platform device resource array. We also add a couple of functions which allow platform devices and their resources to be registered. Signed-off-by:
Russell King <rmk@arm.linux.org.uk> Signed-off-by:
Greg Kroah-Hartman <greg@kroah.com>
-
- 02 May, 2004 1 commit
-
-
Kenn Humborg authored
On Mon, Apr 26, 2004 at 12:27:33AM +0100, Russell King wrote: > So, this comment needs updating: > > * So, extract the <name> from the device, and compare it against > * the name of the driver. Return whether they match or not. Want a patch?
-
- 12 Apr, 2004 1 commit
-
-
Andrew Morton authored
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
-
- 29 Dec, 2003 1 commit
-
-
Andrew Morton authored
From: Jeff Garzik <jgarzik@pobox.com> I've seen this patch floating around. Not sure the origin, but it's surfaced on lkml and also when I was poking around handhelds.org CVS for iPAQ patches: on non-PCs, particularly system-on-chip devices but not just there, you have a custom "platform bus" that is the root of pretty much all other devices and buses. It's something I wanted to make sure people didn't forget; to make sure the legacy_bus didn't get "legacied out of existence." ;-)
-
- 15 Sep, 2003 1 commit
-
-
Patrick Mochel authored
From Russell King.
-
- 14 Aug, 2003 1 commit
-
-
Greg Kroah-Hartman authored
If a specific driver subsystem needs a name field, they should implement it for just that subsystem.
-
- 03 Jun, 2003 1 commit
-
-
Patrick Mochel authored
It's a slow afternoon.
-
- 14 Mar, 2003 1 commit
-
-
Jean Tourrilhes authored
-
- 13 Mar, 2003 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Mar, 2003 1 commit
-
-
Patrick Mochel authored
- Make it compare the name in struct platform_dev to the driver's name. From Dominik Brodowski
-
- 04 Mar, 2003 1 commit
-
-
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.
-
- 18 Oct, 2002 1 commit
-
-
Alexander Viro authored
DaveM spotted bogus cast sprintf in checks.c. Fixed. Several places that unregistered device called put_device() instead.
-
- 16 Oct, 2002 1 commit
-
-
Patrick Mochel authored
when removing system and platform devices.
-
- 23 Sep, 2002 1 commit
-
-
Patrick Mochel authored
Platform devices are devices commonly found on the motherboard of systems. This includes legacy devices (serial ports, floppy controllers, parallel ports, etc) and host bridges to peripheral buses. We already had a platform bus type, which gives a way to group platform devices and drivers, and allow each to be bound to each other dynamically. Though before, it didn't do anything. It still doesn't do much, but we now have: - struct platform_device, which generically describes platform deviecs. This only includes a name and id in addition to a struct device, but more may be added later. - implelemnt platform_device_register() and platform_device_unregister() to handle adding and removing these devices. - Create legacy_bus - a default parent device for legacy devices. - Change the floppy driver to define a platform_device (instead of a sys_device). In driverfs, this gives us now: a# tree -d /sys/bus/platform/ /sys/bus/platform/ |-- devices | `-- floppy0 -> ../../../root/legacy/floppy0 `-- drivers and # tree -d /sys/root/legacy/ /sys/root/legacy/ `-- floppy0
-
- 26 Aug, 2002 1 commit
-
-
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).
-