lkml.org 
[lkml]   [2005]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/3] openfirmware/macio: hotplug support
Hello all -

I dug these up so I wouldn't have to look at them on my disk anymore. :)

I last posted these patches in March, and some discussion came about, mostly
regarding how to handle whitespace in the compat field and how a comma was
an unacceptable field delimeter.

The following 3 patches, combined with the userspace patches referenced below,
implement hotplug events for open firmware/macio devices such as apple airport
wireless ethernet cards.

* 01-openfirmware-device-table.diff
- Converts struct of_match to a MODULE_DEVICE_TABLE-compatible
struct of_device_id
- Uses the information to generate a device table parsable by
depmod(8)

* 02-openfirmware-sysfs.diff
- Exports openfirmware variables via sysfs so that coldplug can read and
take appropriate action

* 03-openfirmware-hotplug.diff
- Adds the hotplug routine for generating hotplug events. Uses the
information published to provide the hotplug environment variables to
userspace.

In addition to the kernel patches, userspace patches for hotplug and
module-init-tools are also required. These patches, including the kernel
patches, are available here:

ftp://ftp.suse.com/pub/people/jeffm/linux/macio-hotplug/

macio.rc: implements coldplug support for macio devices
of.agent: implements module loading for of-table devices
module-init-tools-3.0-pre10-openfirmware.diff: adds modules.ofmap to depmod

I'd appreciate any comments.

-Jeff

--
Jeff Mahoney
SuSE Labs
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-06-29 03:35    [W:4.404 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site