1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-27 08:00:11 +00:00
freebsd/sys/arm/at91
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
..
at91_mci.c Kill overly verbose messages about setting bus width. 2007-09-16 07:48:58 +00:00
at91_mcireg.h correct guard variable names. 2007-10-18 05:43:44 +00:00
at91_pdcreg.h Get this to compile : 2006-05-11 14:30:28 +00:00
at91_pio_rm9200.h Add support for configuring pins to be one of {GPIO, PERIPHERAL A or 2006-07-02 03:50:44 +00:00
at91_pio.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
at91_pioreg.h Merge from FreeBSD-tsf-6 by way of p4: 2007-01-01 00:46:54 +00:00
at91_piovar.h MFp4: 2006-07-14 22:22:57 +00:00
at91_pmc.c - Whitespace fixes. 2008-07-22 14:04:06 +00:00
at91_pmcreg.h Add the sekelton of support for the Power Management Controller. 2006-03-24 07:37:56 +00:00
at91_pmcvar.h Add the sekelton of support for the Power Management Controller. 2006-03-24 07:37:56 +00:00
at91_rtc.c Correct return code (int) for at91_rtc_intr() prototype. 2007-02-27 13:39:34 +00:00
at91_rtcreg.h MFp4: 2006-07-14 22:06:01 +00:00
at91_spi.c Use tsleep() rather than msleep() with a NULL mtx. 2007-02-27 17:15:39 +00:00
at91_spireg.h MFp4: Fix bit name for SPI SR register 2007-01-01 00:50:25 +00:00
at91_ssc.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
at91_sscreg.h MFp4: Status register bits 2006-10-25 07:58:18 +00:00
at91_st.c Revisit the watchdogs: Resetting the error to EINVAL after failing to set the 2007-03-27 21:03:37 +00:00
at91_streg.h
at91_twi.c Add locking to the various iicbus(4) bridge drivers: 2008-08-04 20:46:15 +00:00
at91_twiio.h
at91_twireg.h MFp4: A bunch of patches from myself and Tisco to improve the 2007-03-23 22:57:24 +00:00
at91_usartreg.h Remove unused bit definitions. 2006-04-06 04:29:24 +00:00
at91.c On the AT91, we need to write on the EOI register after we handle an 2008-04-20 23:29:06 +00:00
at91rm92reg.h Add an option to be able to override the value of the AT91 master clock 2007-10-25 23:02:42 +00:00
at91var.h
files.at91 MFp4: Make at91_rtc optional to allow other RTC choices 2007-01-05 02:06:53 +00:00
files.kb920x
hints.at91rm9200
hints.at91sam9261
if_ate.c Since we create a DMA tag "mtag" for TX map with bus_dmamap_create(), 2008-06-09 21:51:48 +00:00
if_atereg.h fix multicast hash register definition 2008-07-12 23:40:07 +00:00
kb920x_machdep.c Take the first baby step towards unifying and cleaning up arminit(): 2008-04-03 16:44:50 +00:00
ohci_atmelarm.c kill commented out line of code. 2007-10-29 21:01:50 +00:00
std.at91 Move some KB920x-specific options into the KB920x file. 2007-10-25 22:57:19 +00:00
std.kb920x Move some KB920x-specific options into the KB920x file. 2007-10-25 22:57:19 +00:00
uart_bus_at91usart.c Resurrect Skyeye support : 2006-05-13 23:41:16 +00:00
uart_cpu_at91rm9200usart.c Correct a comment, this was not true anymore. 2007-10-24 22:24:32 +00:00
uart_dev_at91usart.c Make the at91 uart(4) driver compile again. 2008-08-02 08:01:56 +00:00