22 Sep, 2007

1 commit

  • This adds the option for the pmac_zilog driver to use the major/minor
    numbers recently allocated specifically for it (/dev/ttyPZn) instead
    of the /dev/ttySn numbers. The advantage of doing this is that it
    allows the pmac_zilog and 8250 drivers to coexist. The disadvantage
    of doing this is that it is a user-visible ABI change and it will
    break existing working setups on powermacs, and could be confusing to
    users.

    Signed-off-by: David Woodhouse
    Signed-off-by: Paul Mackerras

    David Woodhouse
     

12 Sep, 2007

1 commit

  • SERIAL_BFIN=m or SERIAL_MUX=m shouldn't allow SERIAL_CORE_CONSOLE=y.

    Additionally, this patch fixes whitespace instead of tabs at the
    SERIAL_MUX_CONSOLE option.

    Signed-off-by: Adrian Bunk
    Cc: Bryan Wu
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

01 Aug, 2007

2 commits

  • The serial console can select only SERIAL_VR41XX=y.

    Signed-off-by: Yoichi Yuasa
    Cc: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yoichi Yuasa
     
  • Revert 7e92b4fc345f5b6f57585fbe5ffdb0f24d7c9b26. It broke Sébastien Dugué's
    machine and Jeff said (persuasively)

    This seems like it will break decades-long-working stuff, in favor of
    breaking new ground in our favorite area, "trusting the BIOS."

    It's just not worth it for serial ports, IMO. Serial ports are something
    that just shouldn't break at this late stage in the game. My new Intel
    platform boxes don't even have serial ports, so I question the value of
    messing with serial port probing even more... because... just wait a year,
    and your box won't have a serial port either! :)

    I certainly don't object to the use of platform devices (or isa_driver),
    but the probe change seems questionable. That's sorta analagous to
    rewriting the floppy driver probe routine. Sure you could do it... but why
    risk all that damage and go through debugging all over again?

    It seems clear from this report that we cannot, should not, trust BIOS for
    something (a) so simple and (b) that has been working for over a decade.

    Much discussion ensued and we've decided to have another go at all of this.

    Cc: Sébastien Dugué
    Cc: Bjorn Helgaas
    Cc: Len Brown
    Cc: Adam Belay
    Cc: Matthew Garrett
    Cc: Russell King
    Cc: Jeff Garzik
    Acked-by: Alan Cox
    Cc: Michal Piotrowski
    Cc: Sascha Sommer
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

18 Jul, 2007

2 commits

  • This is a reimplementation of the zs driver for the serial subsystem. Any
    resemblance to the old driver is purely coincidential. ;-) I do hope I got
    the handling of modem lines right -- better do not tackle me about the
    issue unless you feel too good...

    Any users of the old driver: please note the numbers of the serial lines
    have now been swapped, i.e. ttyS0 ttyS1 and ttyS2 ttyS3. It has
    to do with the modem lines mentioned above; basically the port A in a given
    chip has to be initialised before the port B if you want to use the latter
    as the serial console (which is usually the case), as operations on modem
    lines of the serial line associated with the port B access both ports (see
    the comment at the top of the driver for the details of wiring used).
    Please update your scripts.

    This is also the reason each SCC now requests an IRQ once only (as seen in
    "/proc/interrupts") -- the handler takes care of both ports at once as the
    line associated with the port B has to take status update interrupts from
    both ports (and yet the line of the port A takes its own for itself too).
    The old driver never got it right...

    Signed-off-by: Maciej W. Rozycki
    Cc: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Maciej W. Rozycki
     
  • This is a driver for the SB1250 DUART, a dual serial port implementation
    included in the Broadcom family of SOCs descending from the SiByte SB1250
    MIPS64 chip multiprocessor. It is a new implementation replacing the
    old-fashioned driver currently present in the linux-mips.org tree. It
    supports all the usual features one would expect from a(n asynchronous)
    serial driver, including modem line control (as far as hardware supports it
    -- there is edge detection logic missing from the DCD and RI lines and the
    driver does not implement polling of these lines at the moment), the serial
    console, BREAK transmission and reception, including the magic SysRq. The
    receive FIFO threshold is not maintained though.

    The driver was tested with a SWARM board which uses a BCM1250 SOC (which is
    dual MIPS64 CMP) and has both ports of the single DUART implemented wired
    externally. Both were tested. Testing included using the ports as
    terminal lines at 1200bps (which is the ports minimum), 115200bps and a
    couple of random speeds inbetween. The modem lines were verified to
    operate correctly. No testing was performed with a use as a network
    interface, like with SLIP or PPP.

    Signed-off-by: Maciej W. Rozycki
    Acked-by: Ralf Baechle
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Maciej W. Rozycki
     

17 Jul, 2007

1 commit

  • Beacuse SERIAL_PORT_DFNS is removed from include/asm-i386/serial.h and
    include/asm-x86_64/serial.h. the serial8250_ports need to be probed late in
    serial initializing stage. the console_init=>serial8250_console_init=>
    register_console=>serial8250_console_setup will return -ENDEV, and console
    ttyS0 can not be enabled at that time. need to wait till uart_add_one_port in
    drivers/serial/serial_core.c to call register_console to get console ttyS0.
    that is too late.

    Make early_uart to use early_param, so uart console can be used earlier. Make
    it to be bootconsole with CON_BOOT flag, so can use console handover feature.
    and it will switch to corresponding normal serial console automatically.

    new command line will be:
    console=uart8250,io,0x3f8,9600n8
    console=uart8250,mmio,0xff5e0000,115200n8
    or
    earlycon=uart8250,io,0x3f8,9600n8
    earlycon=uart8250,mmio,0xff5e0000,115200n8

    it will print in very early stage:
    Early serial console at I/O port 0x3f8 (options '9600n8')
    console [uart0] enabled
    later for console it will print:
    console handover: boot [uart0] -> real [ttyS0]

    Signed-off-by:
    Cc: Andi Kleen
    Cc: Bjorn Helgaas
    Cc: Russell King
    Cc: Gerd Hoffmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yinghai Lu
     

12 Jul, 2007

1 commit


29 Jun, 2007

1 commit


12 May, 2007

1 commit


10 May, 2007

1 commit


09 May, 2007

1 commit

  • Make x86 COM ports into platform devices and don't probe for them
    if we have PNP.

    This prevents double discovery, where a device was found both by
    the legacy probe and by 8250_pnp, e.g.,

    serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

    This also means IRDA devices without a UART PNP ID will no longer be
    claimed by the serial driver, which might require changes in IRDA
    drivers and administration.

    In addition to this patch, you may need to configure a setserial init
    script, e.g., /etc/init.d/setserial, so it doesn't poke legacy UART
    stuff back in. On Debian, "dpkg-reconfigure setserial" with the "kernel"
    option does this.

    To force the old legacy probe behavior even when we have PNPBIOS or
    ACPI, load the new legacy_serial module (or build 8250 static) with
    the "legacy_serial.force" option.

    [akpm@linux-foundation.org: fix makefiles]
    Signed-off-by: Bjorn Helgaas
    Cc: Keith Owens
    Cc: Len Brown
    Cc: Adam Belay
    Cc: Matthieu CASTET
    Cc: Jean Tourrilhes
    Cc: Matthew Garrett
    Cc: Ville Syrjala
    Cc: Russell King
    Cc: Samuel Ortiz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bjorn Helgaas
     

08 May, 2007

2 commits

  • This patch implements the driver necessary use the Analog Devices Blackfin
    processor's Serial Port.

    Signed-off-by: Bryan Wu
    Cc: Alan Cox
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bryan Wu
     
  • Add support for the integrated serial ports of the MIPS RM9122 processor
    and its relatives.

    The patch also does some whitespace cleanup.

    [akpm@linux-foundation.org: cleanups]
    Signed-off-by: Thomas Koeller
    Cc: Ralf Baechle
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Koeller
     

20 Feb, 2007

1 commit

  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (117 commits)
    [ARM] 4058/2: iop32x: set ->broken_parity_status on n2100 onboard r8169 ports
    [ARM] 4140/1: AACI stability add ac97 timeout and retries
    [ARM] 4139/1: AACI record support
    [ARM] 4138/1: AACI: multiple channel support for IRQ handling
    [ARM] 4211/1: Provide a defconfig for ns9xxx
    [ARM] 4210/1: base for new machine type "NetSilicon NS9360"
    [ARM] 4222/1: S3C2443: Remove reference to missing S3C2443_PM
    [ARM] 4221/1: S3C2443: DMA support
    [ARM] 4220/1: S3C24XX: DMA system initialised from sysdev
    [ARM] 4219/1: S3C2443: DMA source definitions
    [ARM] 4218/1: S3C2412: fix CONFIG_CPU_S3C2412_ONLY wrt to S3C2443
    [ARM] 4217/1: S3C24XX: remove the dma channel show at startup
    [ARM] 4090/2: avoid clash between PXA and SA1111 defines
    [ARM] 4216/1: add .gitignore entries for ARM specific files
    [ARM] 4214/2: S3C2410: Add Armzone QT2410
    [ARM] 4215/1: s3c2410 usb device: per-platform vbus_draw
    [ARM] 4213/1: S3C2410 - Update definition of ADCTSC_XY_PST
    [ARM] 4098/1: ARM: rtc_lock only used with rtc_cmos
    [ARM] 4137/1: Add kexec support
    [ARM] 4201/1: SMP barriers pair needed for the secondary boot process
    ...

    Fix up conflict due to typedef removal in sound/arm/aaci.h

    Linus Torvalds
     

15 Feb, 2007

1 commit

  • Add UART support for PNX8330/8550/8950 Philips MIPS-based SoCs.

    Signed-off-by: Vitaly Wool
    Cc: Russell King
    Cc: Alan Cox
    Cc: Ralf Baechle
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vitaly Wool
     

14 Feb, 2007

1 commit

  • This can be used for serial ports that are connected to an
    OF platform bus but are not autodetected by the lecacy
    serial support.
    It will automatically take over devices that come from the
    legacy serial detection, which usually is only one device.

    In some cases, rtas may be set up to use the serial port
    in the firmware, which allows easier debugging before probing
    the serial ports. In this case, the "used-by-rtas" property
    must be set by the firmware. This patch also adds code to the
    legacy serial driver to check for this.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Paul Mackerras

    Arnd Bergmann
     

12 Feb, 2007

2 commits


13 Dec, 2006

1 commit


11 Dec, 2006

1 commit

  • Refactor Kconfig content to maximize nesting of menus by menuconfig and
    xconfig.

    Tested by simultaneously running `make xconfig` with and without
    patch, and comparing displays.

    Signed-off-by: Don Mullis
    Signed-off-by: Randy Dunlap
    Cc: Sam Ravnborg
    Cc: Roman Zippel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Don Mullis
     

08 Dec, 2006

2 commits

  • This is on our "Envoy" boxes which we have, according to the documentation, an
    "Exar ST16C554/554D Quad UART with 16-byte Fifo's". The box also has two
    other "on-board" serial ports and a modem chip.

    The two on-board serial UARTs were being detected along with the first two
    Exar UARTs. The last two Exar UARTs were not showing up and neither was the
    modem.

    This patch was the only way I could the kernel to see beyond the standard four
    serial ports and get all four of the Exar UARTs to show up.

    [akpm@osdl.org: build fix]
    Signed-off-by: Paul B Schroeder
    Cc: Lennart Sorensen
    Acked-by: Alan Cox
    Cc: Russell King
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul B Schroeder
     
  • Add a driver for the Xilinx uartlite serial controller used in boards with
    the PPC405 core in the Xilinx V2P/V4 fpgas.

    The hardware is very simple (baudrate/start/stopbits fixed and no break
    support). See the datasheet for details:

    http://www.xilinx.com/bvdocs/ipcenter/data_sheet/opb_uartlite.pdf

    See http://thread.gmane.org/gmane.linux.serial/1237/ for the email thread.

    Signed-off-by: Peter Korsgaard
    Acked-by: Olof Johansson
    Cc: Russell King
    Cc: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Korsgaard
     

21 Oct, 2006

1 commit


05 Oct, 2006

2 commits


04 Oct, 2006

2 commits


30 Sep, 2006

1 commit


27 Sep, 2006

1 commit


25 Jun, 2006

1 commit


23 Jun, 2006

1 commit


20 Jun, 2006

1 commit

  • Patch from Andrew Victor

    This patch includes a number of updates to the AT91RM9200 serial driver.

    Changes include:
    1. Conversion to a platform_driver. [Ivan Kokshaysky]
    2. Replaced all references to AT91RM9200 with AT91. This driver can now
    also be used for the AT91SAM9216.
    3. Allow TIOCM_LOOP to configure local loopback mode.
    4. Cleaned up the 'read_status_mask' usage and interrupt handler code.
    [Chip Coldwell]
    5. Suspend/resume support. [David Brownell]

    There are a few 'unused variable' warning when compiling this - I
    removed the new DMA support to keep this first patch simpler.

    Signed-off-by: Andrew Victor
    Signed-off-by: Russell King

    Andrew Victor
     

19 Jun, 2006

1 commit


30 Mar, 2006

1 commit


27 Mar, 2006

1 commit


26 Mar, 2006

2 commits


22 Mar, 2006

1 commit

  • Update the serial_txx9 driver.

    * More strict check in verify_port. Cleanup.
    * Do not insert a char caused previous overrun.
    * Fix some spin_locks.
    * Do not call uart_add_one_port for absent ports.

    Also, this patch removes a BROKEN tag from Kconfig. This driver has been
    marked as BROKEN by removal of uart_register_port, but it has been solved
    already on Sep 2005.

    Signed-off-by: Atsushi Nemoto
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Atsushi Nemoto
     

20 Mar, 2006

1 commit