1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/sys/dev/bktr
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
..
bktr_audio.c
bktr_audio.h
bktr_card.c
bktr_card.h
bktr_core.c
bktr_core.h
bktr_i2c.c Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
bktr_i2c.h Update prototype for smbus callback change. 2006-09-18 20:17:42 +00:00
bktr_mem.c
bktr_mem.h
bktr_os.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
bktr_os.h
bktr_reg.h
bktr_tuner.c
bktr_tuner.h
CHANGELOG.TXT Commit the results of the typo hunt by Darren Pilgrim. 2006-08-04 07:56:35 +00:00
ioctl_bt848.h
ioctl_meteor.h
msp34xx.c Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00