Commit 4914c7f881845367b9198631a014ab466329b9e5
Committed by
Linus Torvalds
1 parent
fe622e76fd
Exists in
master
and in
7 other branches
pcmcia: xirc2ps_cs bugfix
We need to set io_lines to 10 unconditionally. Reported-by: Komuro <komurojun-mbn@nifty.com> CC: netdev@vger.kernel.org Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/net/pcmcia/xirc2ps_cs.c
... | ... | @@ -808,6 +808,7 @@ |
808 | 808 | } |
809 | 809 | |
810 | 810 | link->resource[0]->flags |= IO_DATA_PATH_WIDTH_16; |
811 | + link->io_lines = 10; | |
811 | 812 | if (local->modem) { |
812 | 813 | int pass; |
813 | 814 | |
... | ... | @@ -839,7 +840,6 @@ |
839 | 840 | } |
840 | 841 | printk(KNOT_XIRC "no ports available\n"); |
841 | 842 | } else { |
842 | - link->io_lines = 10; | |
843 | 843 | link->resource[0]->end = 16; |
844 | 844 | for (ioaddr = 0x300; ioaddr < 0x400; ioaddr += 0x10) { |
845 | 845 | link->resource[0]->start = ioaddr; |