Skip to content
  1. Aug 07, 2011
  2. Aug 04, 2011
    • Grant Likely's avatar
      dt: remove of_alias_get_id() reference · 9e191b22
      Grant Likely authored
      
      
      of_alias_get_id() is broken and being reverted.  Remove the reference
      to it and replace with a single incrementing id number.
      
      There is no risk of regression here on the imx driver since the imx
      change to use of_alias_get_id() is commit 22698aa2, "serial/imx: add
      device tree probe support" which is new for v3.1, and it won't get
      used unless CONFIG_OF is enabled and the board is booted using a
      device tree.  A single incrementing integer is sufficient for now.
      
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
      9e191b22
  3. Jul 27, 2011
  4. Jul 26, 2011
  5. Jul 20, 2011
  6. Jul 18, 2011
    • Nicolas Pitre's avatar
      ARM: mach-s3c2400: delete · 632b7cf6
      Nicolas Pitre authored
      
      
      On Tue, 28 Jun 2011, Ben Dooks wrote:
      
      > On Tue, Jun 28, 2011 at 11:22:57PM +0200, Arnd Bergmann wrote:
      >
      > > On a related note, what about mach-s3c2400? It seems to be even more
      > > incomplete.
      >
      > Probably the same fate awaits that. It is so old that there's little
      > incentive to do anything with it.
      
      So out it goes as well.
      
      The PORT_S3C2400 definition in include/linux/serial_core.h is left there
      to prevent a reuse of the same number for another port type.
      
      Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      632b7cf6
    • Nicolas Pitre's avatar
      ARM: mach-s3c24a0: delete · af0e060e
      Nicolas Pitre authored
      
      
      Commit bcae8aeb "[ARM] S3C24A0: Initial architecture support files"
      brought in a bunch of files while explicitly leaving out the corresponding
      Kconfig entry, stating that the series is not complete.
      
      More than 2.5 years later, the support for this has not seen any progress.
      This is therefore dead code.  If someone wants to revive this code, it is
      always possible to retrieve it from the Git repository.
      
      Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: default avatarBen Dooks <ben-linux@fluff.org>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      af0e060e
  7. Jul 09, 2011
  8. Jul 08, 2011
  9. Jul 07, 2011
  10. Jul 04, 2011
  11. Jul 01, 2011
  12. Jun 30, 2011
  13. Jun 28, 2011
  14. Jun 25, 2011
    • Jean-Christophe PLAGNIOL-VILLARD's avatar
      atmel_serial: fix internal port num · deba1a0d
      Jean-Christophe PLAGNIOL-VILLARD authored
      
      
      the atmel_ports is link to the console number and not the device id
      
      this was not detected on at91 as we always register the dbgu on the console
      as ttyS0
      
      tested on at91sam9263 by setting the dbgu as ttyS1 and use as console
      
      diff --git a/arch/arm/mach-at91/board-sam9263ek.c b/arch/arm/mach-at91/board-sam9263ek.c
      index 70e5646..9b8a14f 100644
      - a/arch/arm/mach-at91/board-sam9263ek.c
      + b/arch/arm/mach-at91/board-sam9263ek.c
      @@ -58,14 +58,14 @@ static void __init ek_init_early(void)
              /* Initialize processor: 16.367 MHz crystal */
              at91_initialize(16367660);
      
      -       /* DBGU on ttyS0. (Rx & Tx only) */
      -       at91_register_uart(0, 0, 0);
      +       /* DBGU on ttyS1. (Rx & Tx only) */
      +       at91_register_uart(0, 1, 0);
      
      -       /* USART0 on ttyS1. (Rx, Tx, RTS, CTS) */
      -       at91_register_uart(AT91SAM9263_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS);
      +       /* USART0 on ttyS0. (Rx, Tx, RTS, CTS) */
      +       at91_register_uart(AT91SAM9263_ID_US0, 0, ATMEL_UART_CTS | ATMEL_UART_RTS);
      
      -       /* set serial console to ttyS0 (ie, DBGU) */
      -       at91_set_serial_console(0);
      +       /* set serial console to ttyS1 (ie, DBGU) */
      +       at91_set_serial_console(1);
       }
      
       /*
      
      Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Alan Cox <alan@linux.intel.com>
      Cc: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
      deba1a0d
  15. Jun 24, 2011
  16. Jun 23, 2011
    • Mika Westerberg's avatar
      serial: mrst_max3110: initialize waitqueue earlier · 33b1e693
      Mika Westerberg authored
      
      
      The driver went to initialize its waitqueue at the start of the main
      processing thread.  However, it is possible that this thread is not
      scheduled on a CPU before the write function is called which leads to a
      following error:
      
        BUG: spinlock bad magic on CPU#1, swapper/1
         lock: f5f3ebdc, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
        Pid: 1, comm: swapper Not tainted 3.0.0-rc2+ #67
        Call Trace:
         [<c1289663>] spin_bug+0xa3/0xf0
         [<c12897ad>] do_raw_spin_lock+0x7d/0x150
         [<c14963de>] _raw_spin_lock_irqsave+0x4e/0x60
         [<c102f2bb>] __wake_up+0x1b/0x50
         [<c12d3715>] serial_m3110_con_write+0x55/0x60
         [<c1041575>] __call_console_drivers+0x75/0x90
         [<c10415d9>] _call_console_drivers+0x49/0x80
         [<c1041baa>] console_unlock+0xca/0x1f0
         [<c10420ef>] vprintk+0x18f/0x4f0
         [<c14928a3>] printk+0x18/0x1a
         [<c1042730>] register_console+0x2e0/0x350
         [<c12d098e>] uart_add_one_port+0x33e/0x3d0
         [<c1485ba6>] serial_m3110_probe+0x1c2/0x1df
         [<c1303db7>] spi_drv_probe+0x17/0x20
         ...
      
      Fix this by initializing the waitqueue before the main thread is
      created.
      
      Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      33b1e693
    • William Douglas's avatar
      mrst_max3110: Change max missing message priority. · 0bb04bf3
      William Douglas authored
      
      
      Change print message to notice instead of error to clean up non critical
      messages showing on startup.  The MAX3111 not being present is a normal
      path for end user systems.
      
      Signed-off-by: default avatarWilliam Douglas <william.douglas@intel.com>
      [rebased on 3.0, switched to dev_dbg()]
      Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0bb04bf3
  17. Jun 22, 2011
    • Alexey Dobriyan's avatar
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan authored
      
      
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b7f080cf
  18. Jun 16, 2011
  19. Jun 14, 2011
    • Paul Mundt's avatar
      serial: sh-sci: Support generic SCLSR overrun detection. · 4b8c59a3
      Paul Mundt authored
      
      
      For all ports with a valid SCLSR register we can use the generic FIFO
      overrun detection logic. Test the validity of the SCLSR register rather
      than depending explicitly on port type, which can be ambiguous for the
      SCIFA/B types.
      
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      4b8c59a3
    • Paul Mundt's avatar
      serial: sh-sci: FIFO sizing helper consolidation. · 72b294cf
      Paul Mundt authored
      
      
      This consolidates all of the TX/RX fill/room nonsense in to a single set
      of fairly heavyweight definitions. The implementation goes in descending
      order of complexity, testing the register map for capabilities until we
      run out of options and do it the legacy SCI way. Masks are derived
      directly from the per-port FIFO size, meaning that platforms with FIFO
      sizes not matching the standard port types will still need to manually
      fix them up.
      
      This also fixes up a number of issues such as tx_empty being completely
      bogus for SCI and IrDA ports, some ports using masks smaller or greater
      than their FIFO size, and so forth.
      
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      72b294cf
    • Paul Mundt's avatar
      serial: sh-sci: Abstract register maps. · 61a6976b
      Paul Mundt authored
      
      
      This takes a bit of a sledgehammer to the horribly CPU subtype
      ifdef-ridden header and abstracts all of the different register layouts
      in to distinct types which in turn can be overriden on a per-port basis,
      or permitted to default to the map matching the port type at probe time.
      
      In the process this ultimately fixes up inumerable bugs with mismatches
      on various CPU types (particularly the legacy ones that were obviously
      broken years ago and no one noticed) and provides a more tightly coupled
      and consolidated platform for extending and implementing generic
      features.
      
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      61a6976b
  20. Jun 10, 2011
  21. Jun 08, 2011
Loading