09 Jan, 2012

1 commit


14 Nov, 2011

1 commit


29 May, 2011

1 commit


04 Feb, 2011

1 commit

  • The RX lock is used to protect the RX buffer from concurrent access in DMA
    mode between the timer and RX interrupt routines. It is independent from
    the uart lock which is used to protect the TX buffer. It is possible for
    a uart TX transfer to be started up from the RX interrupt handler if low
    latency is enabled. So we need to split the locks to avoid deadlocking in
    this situation.

    In PIO mode, the RX lock is not necessary because the handle_simple_irq
    and handle_level_irq functions ensure driver interrupt handlers are called
    once on one core.

    And now that the RX path has its own lock, the TX interrupt has nothing to
    do with the RX path, so disabling it at the same time.

    Signed-off-by: Sonic Zhang
    Signed-off-by: Mike Frysinger
    Signed-off-by: Greg Kroah-Hartman

    Sonic Zhang
     

10 Jan, 2011

2 commits

  • Rather than maintain Kconfig entries where people have to enter raw
    numbers and hardcode lists of addresses/pins in the driver itself,
    push it all to platform resources. This lets us simplify the driver,
    the Kconfig, and gives board porters greater flexibility.

    In the process, we need to also start supporting the early platform
    interface. Not a big deal, but it causes the patch to be bigger than
    a simple resource relocation.

    All the Blackfin boards already have their resources updated and in
    place for this change.

    Signed-off-by: Sonic Zhang
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Mike Frysinger

    Sonic Zhang
     
  • Each Blackfin port has been duplicating UART structures and defines when
    there really is no need for it. So start a new bfin_serial.h header to
    unify all these pieces and give ourselves a fresh start.

    Signed-off-by: Mike Frysinger

    Mike Frysinger