• Christian Pellegrin's avatar
    parport_serial: netmos 9855 fix · c01106e5
    Christian Pellegrin authored
    Fix wrong netmos 9855 serial port configuration.
    
    On loading only one serial port was present and it wasn't working.  After
    looking in the data sheet I realized that the base address was wrong.  For
    further reference here is lspci and relevant dmesg output:
    
    02:00.0 Communication controller: NetMos Technology PCI 9855 Multi-I/O
    Controller (rev 01) (prog-if 02)
            Subsystem: LSI Logic / Symbios Logic Unknown device 0022
            Flags: medium devsel, IRQ 19
            I/O ports at df00 [size=8]
            I/O ports at de00 [size=8]
            I/O ports at dd00 [size=8]
            I/O ports at dc00 [size=8]
            I/O ports at db00 [size=8]
            I/O ports at da00 [size=16]
    
    parport1: PC-style at 0xdd00 [PCSPP,TRISTATE]
    parport2: PC-style at 0xdf00 [PCSPP,TRISTATE,EPP]
    0000:02:00.0: ttyS0 at I/O 0xdb00 (irq = 19) is a 16550A
    0000:02:00.0: ttyS1 at I/O 0xda00 (irq = 19) is a 16550A
    Signed-off-by: default avatarChristian Pellegrin <chripell@fsfe.org>
    Cc: Thomas Richter <thor@math.TU-Berlin.DE>
    Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
    Cc: Martin Schitter <ms@gewi.kfunigraz.ac.at>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    c01106e5
parport_serial.c 12.5 KB