[PATCH] ADB stuffs (req. for trackpad patch)
Benjamin Herrenschmidt
bh40 at calva.net
Sun Dec 27 05:04:05 EST 1998
Enclosed is a patch to drivers/macintosh/adb.c (and
includes/asm-ppc/adb.h since there's a new exported function).
The new function handles ADB handlerID negociation (try to change the
default handler ID of a device, returns if it fails). It updates the
kernel's internal table of handlerIDs too, just in case...
It's called by new hardware init code in the previously sent patch to
mac_keyb.c
Note also that I changed the adb register function so that it matches by
handlerID or original address. if you want to match by original address,
pass 0 to handlerID, if you want the opposite, pass 0 to original address.
--
E-Mail: <mailto:bh40 at calva.net>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 972 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/19981226/d964b70f/attachment.obj>
More information about the Linuxppc-dev
mailing list