<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base/core.c, branch v2.6.13</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.13</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.13'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2005-06-30T05:48:05Z</updated>
<entry>
<title>[PATCH] Driver core: Use klist_del() instead of klist_remove().</title>
<updated>2005-06-30T05:48:05Z</updated>
<author>
<name>Patrick Mochel</name>
<email>mochel@digitalimplant.org</email>
</author>
<published>2005-06-24T15:39:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d62c0f9fd2d3943a3eca85b490d86e1605000ccb'/>
<id>urn:sha1:d62c0f9fd2d3943a3eca85b490d86e1605000ccb</id>
<content type='text'>
Use klist_del() instead of klist_remove() when unregistering devices.
This will prevent a deadlock when executing a recursive unregister using
device_for_each_child().

Signed-off-by Patrick Mochel &lt;mochel@digitalimplant.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Driver core: change device_attribute callbacks</title>
<updated>2005-06-20T22:15:31Z</updated>
<author>
<name>Yani Ioannou</name>
<email>yani.ioannou@gmail.com</email>
</author>
<published>2005-05-17T10:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=54b6f35c99974e99e64c05c2895718355123c55f'/>
<id>urn:sha1:54b6f35c99974e99e64c05c2895718355123c55f</id>
<content type='text'>
This patch adds the device_attribute paramerter to the
device_attribute store and show sysfs callback functions, and passes a
reference to the attribute when the callbacks are called.

Signed-off-by: Yani Ioannou &lt;yani.ioannou@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Use a klist for device child lists.</title>
<updated>2005-06-20T22:15:23Z</updated>
<author>
<name>mochel@digitalimplant.org</name>
<email>mochel@digitalimplant.org</email>
</author>
<published>2005-03-25T03:08:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=36239577cfb6b9a7c111209536b54200b0252ebf'/>
<id>urn:sha1:36239577cfb6b9a7c111209536b54200b0252ebf</id>
<content type='text'>
- Use klist iterator in device_for_each_child(), making it safe to use for
  removing devices.
- Remove unused list_to_dev() function.
- Kills all usage of devices_subsys.rwsem.

Signed-off-by: Patrick Mochel &lt;mochel@digitalimplant.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Remove struct device::driver_list.</title>
<updated>2005-06-20T22:15:18Z</updated>
<author>
<name>mochel@digitalimplant.org</name>
<email>mochel@digitalimplant.org</email>
</author>
<published>2005-03-24T21:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=63c4f204ffc8219696bda88eb20c9873d007a2fc'/>
<id>urn:sha1:63c4f204ffc8219696bda88eb20c9873d007a2fc</id>
<content type='text'>
Signed-off-by: Patrick Mochel &lt;mochel@digitalimplant.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Remove struct device::bus_list.</title>
<updated>2005-06-20T22:15:18Z</updated>
<author>
<name>mochel@digitalimplant.org</name>
<email>mochel@digitalimplant.org</email>
</author>
<published>2005-03-24T21:03:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7dc35cdf69149a7f2b5216ada9bafe359746ac1c'/>
<id>urn:sha1:7dc35cdf69149a7f2b5216ada9bafe359746ac1c</id>
<content type='text'>
Signed-off-by: Patrick Mochel &lt;mochel@digitalimplant.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Remove the unused device_find().</title>
<updated>2005-06-20T22:15:16Z</updated>
<author>
<name>mochel@digitalimplant.org</name>
<email>mochel@digitalimplant.org</email>
</author>
<published>2005-03-24T18:48:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cb85b6f1cc811ecb9ed4b950206d8941ba710e68'/>
<id>urn:sha1:cb85b6f1cc811ecb9ed4b950206d8941ba710e68</id>
<content type='text'>
Signed-off-by: Patrick Mochel &lt;mochel@digitalimplant.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Add a klist to struct device_driver for the devices bound to it.</title>
<updated>2005-06-20T22:15:16Z</updated>
<author>
<name>mochel@digitalimplant.org</name>
<email>mochel@digitalimplant.org</email>
</author>
<published>2005-03-21T20:25:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=94e7b1c5ff2055571703e38b059afffe17658432'/>
<id>urn:sha1:94e7b1c5ff2055571703e38b059afffe17658432</id>
<content type='text'>
- Use it in driver_for_each_device() instead of the regular list_head and stop using
  the bus's rwsem for protection.
- Use driver_for_each_device() in driver_detach() so we don't deadlock on the
  bus's rwsem.
- Remove -&gt;devices.
- Move klist access and sysfs link access out from under device's semaphore, since
  they're synchronized through other means.

Signed-off-by: Patrick Mochel &lt;mochel@digitalimplant.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Add a semaphore to struct device to synchronize calls to its driver.</title>
<updated>2005-06-20T22:15:12Z</updated>
<author>
<name>mochel@digitalimplant.org</name>
<email>mochel@digitalimplant.org</email>
</author>
<published>2005-03-21T18:41:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=af70316af182f4716cc5eec7e0d27fc731d164bd'/>
<id>urn:sha1:af70316af182f4716cc5eec7e0d27fc731d164bd</id>
<content type='text'>
This adds a per-device semaphore that is taken before every call from the core to a
driver method. This prevents e.g. simultaneous calls to the -&gt;suspend() or -&gt;resume()
and -&gt;probe() or -&gt;release(), potentially saving a whole lot of headaches.

It also moves us a step closer to removing the bus rwsem, since it protects the fields
in struct device that are modified by the core.

Signed-off-by: Patrick Mochel &lt;mochel@digitalimplant.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] sysfs: (driver/base) if show/store is missing return -EIO</title>
<updated>2005-06-20T22:15:02Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor_core@ameritech.net</email>
</author>
<published>2005-04-29T06:23:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4a0c20bf8c0fe2116f8fd7d3da6122bf8a01f026'/>
<id>urn:sha1:4a0c20bf8c0fe2116f8fd7d3da6122bf8a01f026</id>
<content type='text'>
sysfs: fix drivers/base so if an attribute doesn't implement
       show or store method read/write will return -EIO
       instead of 0.

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] kset_hotplug_ops-&gt;name shoudl return const char *</title>
<updated>2005-06-20T22:15:01Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor_core@ameritech.net</email>
</author>
<published>2005-04-26T07:32:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=419cab3fc69588ebe35b845cc3a584ae172463de'/>
<id>urn:sha1:419cab3fc69588ebe35b845cc3a584ae172463de</id>
<content type='text'>
kobject: change name() method in kset_hotplug_ops return const char *
	 since users shoudl not try to modify returned data.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
