[PATCH] Platform bus support

Richard Hughes hughsient at gmail.com
Wed Sep 28 09:39:20 PDT 2005


On Wed, 2005-09-28 at 12:54 +0200, Pierre Ossman wrote:
> I keep a safe distance by just submitting patches. ;-)

I've applied all these to CVS.

Thanks Pierre, 

Richard

------------------------------------------------------------------

2005-09-28  Richard Hughes <richard at hughsie.com>

* doc/spec/hal-spec.xml.in: Apply patch from 
Pierre Ossman <drzeus-list at drzeus.cx> to add documentation for the
new mmc.* properties and the platform.* descriptions for 
"platform bus" support.

* hald/linux2/probing/probe-serial.c: New file to probe serial ports
to see if they actually exist. Drivers such as 8250 are considered
legacy and very enumeration-unfriendly, and just create up to 32
devices that don't actually exist.
Patch from Pierre Ossman <drzeus-list at drzeus.cx>

* hald/linux2/probing/Makefile.am: Add the probe-serial prober.

* hald/linux2/probing/.cvsignore: Add hald-probe-serial.

* hald/linux2/blockdev.c (hotplug_event_begin_add_blockdev): There was
some debate about the interpretation of the kernel's removable
attribute. The result is that removable means that the device stays
but the media disappears. Because of this MMC needs to set the
hotpluggable attribute to be handled correctly.
Patch from Pierre Ossman <drzeus-list at drzeus.cx>

* hald/linux2/physdev.c (platform_add): New function, to add support
to devices connected to the platform bus.
These kind of devices are commonly, incorrectly, called legacy devices.
Patch from Pierre Ossman <drzeus-list at drzeus.cx>

* hald/linux2/blockdev.c (hotplug_event_begin_add_blockdev): 
Properly enumerate a flopy drive connected to the platform bus.
Patch from Pierre Ossman <drzeus-list at drzeus.cx>




More information about the hal mailing list