mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
- 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)
|
||
|---|---|---|
| .. | ||
| ad7418.c | ||
| ds1339.c | ||
| ds1672.c | ||
| icee.c | ||
| if_ic.c | ||
| iic.c | ||
| iic.h | ||
| iicbb.c | ||
| iicbb_if.m | ||
| iicbus.c | ||
| iicbus.h | ||
| iicbus_if.m | ||
| iiconf.c | ||
| iiconf.h | ||
| iicsmb.c | ||