[PATCH] Add support for Korenix 16C950-based PCI cards

This adds initial support to 8250-pci for the Korenix Jetcard PCI serial
cards. The JC12xx cards are standard RS232-based serial cards utilising
the Oxford 16C950 device.

The JC14xx are RS422/RS485-based cards, but in order for these to be
supported natively, we will need additional tweaks to the 8250 layers so
we can specify some values for the 950's registers. Hence, these two
entries are commented out.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Russell King and committed by Linus Torvalds 1fb8cacc 5faad620

+24
+24
drivers/serial/8250_pci.c
··· 2239 pbn_b0_bt_1_460800 }, 2240 2241 /* 2242 * Dell Remote Access Card 4 - Tim_T_Murphy@Dell.com 2243 */ 2244 { PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DELL_RAC4,
··· 2239 pbn_b0_bt_1_460800 }, 2240 2241 /* 2242 + * Korenix Jetcard F0/F1 cards (JC1204, JC1208, JC1404, JC1408). 2243 + * Cards are identified by their subsystem vendor IDs, which 2244 + * (in hex) match the model number. 2245 + * 2246 + * Note that JC140x are RS422/485 cards which require ox950 2247 + * ACR = 0x10, and as such are not currently fully supported. 2248 + */ 2249 + { PCI_VENDOR_ID_KORENIX, PCI_DEVICE_ID_KORENIX_JETCARDF0, 2250 + 0x1204, 0x0004, 0, 0, 2251 + pbn_b0_4_921600 }, 2252 + { PCI_VENDOR_ID_KORENIX, PCI_DEVICE_ID_KORENIX_JETCARDF0, 2253 + 0x1208, 0x0004, 0, 0, 2254 + pbn_b0_4_921600 }, 2255 + /* { PCI_VENDOR_ID_KORENIX, PCI_DEVICE_ID_KORENIX_JETCARDF0, 2256 + 0x1402, 0x0002, 0, 0, 2257 + pbn_b0_2_921600 }, */ 2258 + /* { PCI_VENDOR_ID_KORENIX, PCI_DEVICE_ID_KORENIX_JETCARDF0, 2259 + 0x1404, 0x0004, 0, 0, 2260 + pbn_b0_4_921600 }, */ 2261 + { PCI_VENDOR_ID_KORENIX, PCI_DEVICE_ID_KORENIX_JETCARDF1, 2262 + 0x1208, 0x0004, 0, 0, 2263 + pbn_b0_4_921600 }, 2264 + 2265 + /* 2266 * Dell Remote Access Card 4 - Tim_T_Murphy@Dell.com 2267 */ 2268 { PCI_VENDOR_ID_DELL, PCI_DEVICE_ID_DELL_RAC4,