diff options
author | Christian Pellegrin <chripell@fsfe.org> | 2008-02-06 04:37:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:08 -0500 |
commit | c01106e573e2ce56a7cf4d65937ddf8f7fee1a18 (patch) | |
tree | a01ea5bebf9117f587ac87ac3699c13bd6df3b04 /drivers | |
parent | dc999159bbc1c542f310160c56ed8b701a7d6252 (diff) |
parport_serial: netmos 9855 fix
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: Christian 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/parport/parport_serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parport/parport_serial.c b/drivers/parport/parport_serial.c index bd6ad8b38168..e2e95b36a603 100644 --- a/drivers/parport/parport_serial.c +++ b/drivers/parport/parport_serial.c | |||
@@ -77,7 +77,7 @@ static struct parport_pc_pci cards[] __devinitdata = { | |||
77 | /* titan_110l */ { 1, { { 3, -1 }, } }, | 77 | /* titan_110l */ { 1, { { 3, -1 }, } }, |
78 | /* titan_210l */ { 1, { { 3, -1 }, } }, | 78 | /* titan_210l */ { 1, { { 3, -1 }, } }, |
79 | /* netmos_9xx5_combo */ { 1, { { 2, -1 }, }, netmos_parallel_init }, | 79 | /* netmos_9xx5_combo */ { 1, { { 2, -1 }, }, netmos_parallel_init }, |
80 | /* netmos_9855 */ { 1, { { 0, -1 }, }, netmos_parallel_init }, | 80 | /* netmos_9855 */ { 1, { { 2, -1 }, }, netmos_parallel_init }, |
81 | /* avlab_1s1p */ { 1, { { 1, 2}, } }, | 81 | /* avlab_1s1p */ { 1, { { 1, 2}, } }, |
82 | /* avlab_1s2p */ { 2, { { 1, 2}, { 3, 4 },} }, | 82 | /* avlab_1s2p */ { 2, { { 1, 2}, { 3, 4 },} }, |
83 | /* avlab_2s1p */ { 1, { { 2, 3}, } }, | 83 | /* avlab_2s1p */ { 1, { { 2, 3}, } }, |
@@ -185,7 +185,7 @@ static struct pciserial_board pci_parport_serial_boards[] __devinitdata = { | |||
185 | .uart_offset = 8, | 185 | .uart_offset = 8, |
186 | }, | 186 | }, |
187 | [netmos_9855] = { | 187 | [netmos_9855] = { |
188 | .flags = FL_BASE2 | FL_BASE_BARS, | 188 | .flags = FL_BASE4 | FL_BASE_BARS, |
189 | .num_ports = 1, | 189 | .num_ports = 1, |
190 | .base_baud = 115200, | 190 | .base_baud = 115200, |
191 | .uart_offset = 8, | 191 | .uart_offset = 8, |