Skip to content
Snippets Groups Projects
  1. Jun 30, 2009
    • Michael Buesch's avatar
      parport/serial: add support for NetMos 9901 Multi-IO card · c4285b47
      Michael Buesch authored
      
      Add support for the PCI-Express NetMos 9901 Multi-IO card.
      
      0001:06:00.0 Serial controller [0700]: NetMos Technology Device [9710:9901] (prog-if 02 [16550])
              Subsystem: Device [a000:1000]
              Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
              Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
              Latency: 0, Cache Line Size: 64 bytes
              Interrupt: pin A routed to IRQ 65
              Region 0: I/O ports at 0030 [size=8]
              Region 1: Memory at 80105000 (32-bit, non-prefetchable) [size=4K]
              Region 4: Memory at 80104000 (32-bit, non-prefetchable) [size=4K]
              Capabilities: <access denied>
              Kernel driver in use: serial
              Kernel modules: 8250_pci
      
      0001:06:00.1 Serial controller [0700]: NetMos Technology Device [9710:9901] (prog-if 02 [16550])
              Subsystem: Device [a000:1000]
              Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
              Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
              Latency: 0, Cache Line Size: 64 bytes
              Interrupt: pin B routed to IRQ 65
              Region 0: I/O ports at 0020 [size=8]
              Region 1: Memory at 80103000 (32-bit, non-prefetchable) [size=4K]
              Region 4: Memory at 80102000 (32-bit, non-prefetchable) [size=4K]
              Capabilities: <access denied>
              Kernel driver in use: serial
              Kernel modules: 8250_pci
      
      0001:06:00.2 Parallel controller [0701]: NetMos Technology Device [9710:9901] (prog-if 03 [IEEE1284])
              Subsystem: Device [a000:2000]
              Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
              Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
              Latency: 0, Cache Line Size: 64 bytes
              Interrupt: pin C routed to IRQ 65
              Region 0: I/O ports at 0010 [size=8]
              Region 1: I/O ports at <unassigned>
              Region 2: Memory at 80101000 (32-bit, non-prefetchable) [size=4K]
              Region 4: Memory at 80100000 (32-bit, non-prefetchable) [size=4K]
              Capabilities: <access denied>
              Kernel driver in use: parport_pc
              Kernel modules: parport_pc
      
      [   16.760181] PCI parallel port detected: 416c:0100, I/O at 0x812010(0x0), IRQ 65
      [   16.760225] parport0: PC-style at 0x812010, irq 65 [PCSPP,TRISTATE,EPP]
      [   16.851842] serial 0001:06:00.0: enabling device (0004 -> 0007)
      [   16.883776] 0001:06:00.0: ttyS0 at I/O 0x812030 (irq = 65) is a ST16650V2
      [   16.893832] serial 0001:06:00.1: enabling device (0004 -> 0007)
      [   16.926537] 0001:06:00.1: ttyS1 at I/O 0x812020 (irq = 65) is a ST16650V2
      
      Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c4285b47
  2. Jun 22, 2009
  3. Jun 15, 2009
  4. Jun 11, 2009
  5. Jun 02, 2009
  6. May 29, 2009
  7. Apr 07, 2009
  8. Apr 02, 2009
    • Philippe De Muyter's avatar
      parport: netmos 9845 & 9855 1P4S fixes · 50db9d8e
      Philippe De Muyter authored
      
      netmos serial/parallel adapters come in different flavour differing only
      by the number of parallel and serial ports, which are encoded in the
      subdevice ID.
      
      Last fix of Christian Pellegrin for 9855 2P2S broke support for 9855 1P4S,
      and works only by side-effect for the first parallel port of a 2P2S, as
      this first parallel port is found by reading the second addr entry of
      (struct parport_pc_pci) cards[netmos_9855], which is not initialized, and
      hence has value 0, which happens to be the BAR of the first parallel port.
      
      netmos_9xx5_combo entry in (struct parport_pc_pci) cards[], which is used
      for a 9845 1P4S must also be fixed for the parallel port support when
      there are 4 serial ports because this entry currently gives 2 as BAR index
      for the parallel port.  Actually, in this case, BAR 2 is the 3rd serial
      port while the parallel port is at BAR 4.
      
      I fixed 9845 1P4S and 9855 1P4S support, while preserving 9855 2P2S support,
      
      - by creating a netmos_9855_2p entry and using it for 9855 boards with 2
        parallel ports : 9855 2P2S and 9855 2P0S boards,
      
      - and by allowing netmos_parallel_init to change not only the number of
        parallel ports (0 or 1), but making it also change the BAR index of the
        parallel port when the serial ports are before the parallel port.
      
      PS: the netmos_9855_2p entry in (struct pciserial_board)
      pci_parport_serial_boards[] is needed because netmos_parallel_init has no
      clean way to replace FL_BASE2 by FL_BASE4 in the description of the serial
      ports in function of the number of parallel ports on the card.
      
      Tested with 9845 1P4S, 9855 1P4S and 9855 2P2S boards.
      
      Signed-off-by: default avatarPhilippe De Muyter <phdm@macqel.be>
      Tested-by: default avatarChristian Pellegrin <chripell@fsfe.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      50db9d8e
  9. Feb 22, 2009
  10. Feb 11, 2009
  11. Jan 06, 2009
  12. Dec 01, 2008
  13. Nov 18, 2008
  14. Oct 23, 2008
  15. Oct 17, 2008
  16. Oct 16, 2008
  17. Aug 31, 2008
  18. Aug 29, 2008
  19. Aug 22, 2008
  20. Jul 26, 2008
  21. Jul 25, 2008
  22. Apr 30, 2008
  23. Apr 29, 2008
  24. Apr 19, 2008
    • Adrian Bunk's avatar
      avr32: don't offer PARPORT_PC · cf2d3ff9
      Adrian Bunk authored
      
      This patch fixes the following compile error:
      
      <--  snip  -->
      
      ...
        CC [M]  drivers/parport/parport_pc.o
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/parport/parport_pc.c:67:25: error: asm/parport.h: No such file or directory
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/parport/parport_pc.c: In function 'parport_pc_find_ports':
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/parport/parport_pc.c:3215: error: implicit declaration of function 'parport_pc_find_nonpci_ports'
      make[3]: *** [drivers/parport/parport_pc.o] Error 1
      
      <--  snip  -->
      
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      cf2d3ff9
  25. Apr 04, 2008
  26. Feb 13, 2008
  27. Feb 08, 2008
    • Stephan Boettcher's avatar
      parport: fix ieee1284_epp_read_addr · 13050d89
      Stephan Boettcher authored
      
      We bought cheap notebooks to control our custom data acquisition system, which
      requires EPP mode (read/write, data/addr).  The bios does not offer EPP mode,
      and indeed hardware EPP mode appears not to work, although the parport driver
      tries to use it.  EPPSWE mode does work for data r/w and addr write, but addr
      read requires this patch.
      
      (stephan)rshgse3: lspci
      
      00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
      00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
      00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
      00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
      00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
      00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
      00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
      00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
      00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
      00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
      00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
      00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
      00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
      00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
      00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
      00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller AHCI (rev 02)
      00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
      02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 12)
      05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
      08:03.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
      08:03.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 08)
      08:03.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
      
      (stephan)rshgse3: grep . /proc/sys/dev/parport/parport0/*
      
      /proc/sys/dev/parport/parport0/base-addr:888    1912
      /proc/sys/dev/parport/parport0/dma:-1
      /proc/sys/dev/parport/parport0/irq:7
      /proc/sys/dev/parport/parport0/modes:PCSPP,TRISTATE,EPP
      /proc/sys/dev/parport/parport0/spintime:500
      
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      13050d89
    • David Howells's avatar
      mn10300: add the MN10300/AM33 architecture to the kernel · b920de1b
      David Howells authored
      
      Add architecture support for the MN10300/AM33 CPUs produced by MEI to the
      kernel.
      
      This patch also adds board support for the ASB2303 with the ASB2308 daughter
      board, and the ASB2305.  The only processor supported is the MN103E010, which
      is an AM33v2 core plus on-chip devices.
      
      [akpm@linux-foundation.org: nuke cvs control strings]
      Signed-off-by: default avatarMasakazu Urade <urade.masakazu@jp.panasonic.com>
      Signed-off-by: default avatarKoichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b920de1b
  28. Feb 06, 2008
Loading