]> git.neil.brown.name Git - history.git/commit
[PATCH] Update ADB drivers in 2.5
authorPaul Mackerras <paulus@samba.org>
Fri, 8 Nov 2002 11:30:02 +0000 (03:30 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 8 Nov 2002 11:30:02 +0000 (03:30 -0800)
commit121c2e79ee115611b954b256d01d913100c8289b
treec41bfd7ebb7890e882d8204d597cdff90b68418f
parent2752e0097c8078cc5d186043bbbc0cb6b0c2521e
[PATCH] Update ADB drivers in 2.5

This updates the ADB driver and the three low-level ADB bus adaptor
drivers used on powermacs.  The files affected are all in
drivers/macintosh; they are adb.c, macio-adb.c, via-cuda.c and
via-pmu.c.

The main changes in this patch are:

- Remove the use of global cli/sti and replace them with local cli/sti,
  spinlocks and semaphores as appropriate.
- Use DECLARE_WORK/schedule_work instead of tq_struct/schedule_task.
- Improvements to the PMU interrupt handling and sleep/wakeup code.
drivers/macintosh/adb.c
drivers/macintosh/macio-adb.c
drivers/macintosh/via-cuda.c
drivers/macintosh/via-pmu.c