<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/device.h, branch stable/2.6.16.y</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=stable%2F2.6.16.y</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=stable%2F2.6.16.y'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2006-01-13T19:26:04Z</updated>
<entry>
<title>[PATCH] Add bus_type probe, remove, shutdown methods.</title>
<updated>2006-01-13T19:26:04Z</updated>
<author>
<name>Russell King</name>
<email>rmk@arm.linux.org.uk</email>
</author>
<published>2006-01-05T14:29:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=594c8281f90560faf9632d91bb9d402cbe560e63'/>
<id>urn:sha1:594c8281f90560faf9632d91bb9d402cbe560e63</id>
<content type='text'>
Add bus_type probe, remove and shutdown methods to replace the
corresponding methods in struct device_driver.  This matches
the way we handle the suspend/resume methods.

Since the bus methods override the device_driver methods, warn
if a device driver is registered whose methods will not be
called.

The long-term idea is to remove the device_driver methods entirely.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] driver core: replace "hotplug" by "uevent"</title>
<updated>2006-01-05T00:18:08Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@suse.de</email>
</author>
<published>2005-11-16T08:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=312c004d36ce6c739512bac83b452f4c20ab1f62'/>
<id>urn:sha1:312c004d36ce6c739512bac83b452f4c20ab1f62</id>
<content type='text'>
Leave the overloaded "hotplug" word to susbsystems which are handling
real devices. The driver core does not "plug" anything, it just exports
the state to userspace and generates events.

Signed-off-by: Kay Sievers &lt;kay.sievers@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Create platform_device.h to contain all the platform device details.</title>
<updated>2005-10-29T18:07:23Z</updated>
<author>
<name>Russell King</name>
<email>rmk@dyn-67.arm.linux.org.uk</email>
</author>
<published>2005-10-29T18:07:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d052d1beff706920e82c5d55006b08e256b5df09'/>
<id>urn:sha1:d052d1beff706920e82c5d55006b08e256b5df09</id>
<content type='text'>
Convert everyone who uses platform_bus_type to include
linux/platform_device.h.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks</title>
<updated>2005-10-28T16:52:56Z</updated>
<author>
<name>Russell King</name>
<email>rmk@arm.linux.org.uk</email>
</author>
<published>2005-10-28T16:52:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9480e307cd88ef09ec9294c7d97ebec18e6d2221'/>
<id>urn:sha1:9480e307cd88ef09ec9294c7d97ebec18e6d2221</id>
<content type='text'>
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 &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Driver Core: document struct class_device properly</title>
<updated>2005-10-28T16:52:52Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2005-10-28T05:25:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=74be227f728ed68bfc270153665b43fc1f0fa845'/>
<id>urn:sha1:74be227f728ed68bfc270153665b43fc1f0fa845</id>
<content type='text'>
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Driver Core: add the ability for class_device structures to be nested</title>
<updated>2005-10-28T16:52:51Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2005-10-28T05:25:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=51d172d5f3a193e4b8f76179b2e55d7a36b94117'/>
<id>urn:sha1:51d172d5f3a193e4b8f76179b2e55d7a36b94117</id>
<content type='text'>
This patch allows struct class_device to be nested, so that another
struct class_device can be the parent of a new one, instead of only
having the struct class be the parent.  This will allow us to
(hopefully) fix up the input and video class subsystem mess.

But please people, don't go crazy and start making huge trees of class
devices, you should only need 2 levels deep to get everything to work
(remember to use a class_interface to get notification of a new class
device being added to the system.)

Oh, this also allows us to have the possibility of potentially, someday,
moving /sys/block into /sys/class.  The main hindrance is that pesky
/dev numberspace issue...

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] add sysfs attr to re-emit device hotplug event</title>
<updated>2005-10-28T16:52:51Z</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@suse.de</email>
</author>
<published>2005-10-01T12:49:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a7fd67062efc5b0fc9a61368c607fa92d1d57f9e'/>
<id>urn:sha1:a7fd67062efc5b0fc9a61368c607fa92d1d57f9e</id>
<content type='text'>
A "coldplug + udevstart" can be simple like this:
  for i in /sys/block/*/*/uevent; do echo 1 &gt; $i; done
  for i in /sys/class/*/*/uevent; do echo 1 &gt; $i; done
  for i in /sys/bus/*/devices/*/uevent; do echo 1 &gt; $i; done

Signed-off-by: Kay Sievers &lt;kay.sievers@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Driver core: pass interface to class interface methods</title>
<updated>2005-10-28T16:52:51Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor_core@ameritech.net</email>
</author>
<published>2005-09-15T07:01:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d8539d81aeee4dbdc0624a798321e822fb2df7ae'/>
<id>urn:sha1:d8539d81aeee4dbdc0624a798321e822fb2df7ae</id>
<content type='text'>
Driver core: pass interface to class intreface methods

Pass interface as argument to add() and remove() class interface
methods. This way a subsystem can implement generic add/remove
handlers and then call interface-specific ones.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] driver core: add helper device_is_registered()</title>
<updated>2005-09-22T14:58:24Z</updated>
<author>
<name>Daniel Ritz</name>
<email>daniel.ritz@gmx.ch</email>
</author>
<published>2005-09-22T07:47:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d305ef5d2a4e77bfa66160513f4a7494126a506b'/>
<id>urn:sha1:d305ef5d2a4e77bfa66160513f4a7494126a506b</id>
<content type='text'>
add the helper and use it instead of open coding the klist_node_attached() check
(which is a layering violation IMHO)

idea by Alan Stern.

Signed-off-by: Daniel Ritz &lt;daniel.ritz@gmx.ch&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc...</title>
<updated>2005-07-12T21:21:56Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2005-07-12T21:21:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5028770a42e7bc4d15791a44c28f0ad539323807'/>
<id>urn:sha1:5028770a42e7bc4d15791a44c28f0ad539323807</id>
<content type='text'>
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
