Skip to contentSkip to conversation

ADB stuffs (req. for trackpad patch)

PATCH New Benjamin Herrenschmidt 1 participant 1 message Dec 26, 1998

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ADB stuffs (req. for trackpad patch)

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.

Signature · 2 lines
           E-Mail: <mailto:[email protected]>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>