freebsd-dev/sys/arm
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
..
arm Do not modify td->td_intr_nesting_level, it is now done in the MI code. 2008-08-04 20:29:39 +00:00
at91 Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
compile
conf Disconnect drivers that haven't been ported to MPSAFE TTY yet. 2008-08-03 10:32:17 +00:00
include Add "add pc, whatever" as a branch instruction, we use it in memcpy(). 2008-08-03 15:35:32 +00:00
sa11x0 Now that all platforms use genclock, shuffle things around slightly 2008-04-22 19:38:30 +00:00
xscale Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00