* [PATCH] ADB stuffs (req. for trackpad patch)
@ 1998-12-26 18:04 Benjamin Herrenschmidt
0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 1998-12-26 18:04 UTC (permalink / raw)
To: Paul Mackerras, linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 723 bytes --]
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@calva.net>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
[-- Attachment #2: adb.patch.gz --]
[-- Type: application/octet-stream, Size: 972 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-12-26 18:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-26 18:04 [PATCH] ADB stuffs (req. for trackpad patch) Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).