freebsd-nq/sys/arm/xscale
John Baldwin 13e3657b7b Add locking to the various iicbus(4) bridge drivers:
- Just grab Giant in the ixp425_iic(4) driver since this driver uses
  a shared address/data register window pair to access the actual
  I2C registers.  None of the other ixp425 drivers lock access to these
  shared address/data registers yet and that would need to be done before
  this could use any meaningful locking.
- Add locking to the interrupt handler and 'iicbus_reset' methods of the
  at91_twi(4) driver.
- Add locking to the pcf(4) driver.  Other pcf(4) fixes include:
  - Don't needlessly zero the softc.
  - Use bus_foo rather than bus_space_foo and remove bus space tag and
    handle from softc.
- The lpbb(4) driver just grabs Giant for now.  This will be refined later
  when ppbus(4) is locked.
- As was done with smbus earlier, move the DRIVER_MODULE() lines to match
  the bus driver (either iicbus or iicbb) to the bridge driver into the
  bridge drivers.

Tested by:	sam (arm/ixp425)
2008-08-04 20:46:15 +00:00
..
i8134x Eliminate unused global variables. (These global variables became fields of 2008-07-18 06:14:36 +00:00
i80321 Eliminate unused global variables. (These global variables became fields of 2008-07-18 06:14:36 +00:00
ixp425 Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
pxa Eliminate unused global variables. (These global variables became fields of 2008-07-18 06:14:36 +00:00
std.xscale Instead of using sysarch() to store-retrieve the tp, add a magic address, 2005-02-26 18:59:01 +00:00
xscalereg.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00
xscalevar.h Start all license statements with /*- 2005-01-05 21:58:49 +00:00