android_kernel_xiaomi_sm8350/drivers/macintosh
Jeff Mahoney 184f6eb8c4 [PATCH] openfirmware: implement hotplug for macio devices
This adds the hotplug routine for generating hotplug events when devices
are seen on the macio bus.  It uses the attributed created by the sysfs
nodes to generate the hotplug environment vars for userspace.

Since the characters allowed inside the 'compatible' field are NUL
terminated, they are exported as individual OF_COMPATIBLE_# variables,
with OF_COMPATIBLE_N maintaining a count of how many there are.

In order for hotplug to work with macio devices, patches to
module-init-tools and hotplug must be applied.  Those patches are
available at:

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

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-06 12:55:20 -07:00
..
adb-iop.c
adb.c [PATCH] ppc32: Remove CONFIG_PMAC_PBOOK 2005-06-27 15:11:43 -07:00
adbhid.c [PATCH] macintosh/adbhid.c: adb buttons support for aluminium PowerBook G4 2005-05-01 08:58:41 -07:00
ans-lcd.c
apm_emu.c
Kconfig [PATCH] ppc32: Remove CONFIG_PMAC_PBOOK 2005-06-27 15:11:43 -07:00
mac_hid.c
macio_asic.c [PATCH] openfirmware: implement hotplug for macio devices 2005-07-06 12:55:20 -07:00
macio_sysfs.c [PATCH] openfirmware: add sysfs nodes for open firmware devices 2005-07-06 12:55:20 -07:00
macio-adb.c
Makefile [PATCH] openfirmware: add sysfs nodes for open firmware devices 2005-07-06 12:55:20 -07:00
mediabay.c [PATCH] openfirmware: generate device table for userspace 2005-07-06 12:55:20 -07:00
nvram.c
smu.c
therm_adt746x.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
therm_pm72.c [PATCH] openfirmware: generate device table for userspace 2005-07-06 12:55:20 -07:00
therm_pm72.h
therm_windtunnel.c [PATCH] openfirmware: generate device table for userspace 2005-07-06 12:55:20 -07:00
via-cuda.c
via-macii.c
via-maciisi.c
via-pmu68k.c
via-pmu.c [PATCH] ppc32: Remove CONFIG_PMAC_PBOOK 2005-06-27 15:11:43 -07:00