Add support for the single-port NetMos NM9835 serial adapter. The puc(4)
entry is a specific entry to override the generic NetMos entry so that puc(4) will leave this device alone and let uart(4) claim it. Submitted by: Navdeep Parhar nparhar @ gmail Reviewed by: marcel MFC after: 1 week
This commit is contained in:
parent
e985f4e07c
commit
843994aee1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189407
@ -761,6 +761,18 @@ const struct puc_cfg puc_pci_devices[] = {
|
|||||||
PUC_PORT_2P, 0x10, 8, 0,
|
PUC_PORT_2P, 0x10, 8, 0,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This is more specific than the generic NM9835 entry that follows, and
|
||||||
|
* is placed here to _prevent_ puc from claiming this single port card.
|
||||||
|
*
|
||||||
|
* uart(4) will claim this device.
|
||||||
|
*/
|
||||||
|
{ 0x9710, 0x9835, 0x1000, 1,
|
||||||
|
"NetMos NM9835 based 1-port serial",
|
||||||
|
DEFAULT_RCLK,
|
||||||
|
PUC_PORT_1S, 0x10, 4, 0,
|
||||||
|
},
|
||||||
|
|
||||||
{ 0x9710, 0x9835, 0xffff, 0,
|
{ 0x9710, 0x9835, 0xffff, 0,
|
||||||
"NetMos NM9835 Dual UART and 1284 Printer port",
|
"NetMos NM9835 Dual UART and 1284 Printer port",
|
||||||
DEFAULT_RCLK,
|
DEFAULT_RCLK,
|
||||||
|
@ -110,6 +110,7 @@ static struct pci_id pci_ns8250_ids[] = {
|
|||||||
{ 0x1415, 0x950b, 0xffff, 0, "Oxford Semiconductor OXCB950 Cardbus 16950 UART",
|
{ 0x1415, 0x950b, 0xffff, 0, "Oxford Semiconductor OXCB950 Cardbus 16950 UART",
|
||||||
0x10, 16384000 },
|
0x10, 16384000 },
|
||||||
{ 0x151f, 0x0000, 0xffff, 0, "TOPIC Semiconductor TP560 56k modem", 0x10 },
|
{ 0x151f, 0x0000, 0xffff, 0, "TOPIC Semiconductor TP560 56k modem", 0x10 },
|
||||||
|
{ 0x9710, 0x9835, 0x1000, 1, "NetMos NM9835 Serial Port", 0x10 },
|
||||||
{ 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 },
|
{ 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 },
|
||||||
{ 0xffff, 0, 0xffff, 0, NULL, 0, 0}
|
{ 0xffff, 0, 0xffff, 0, NULL, 0, 0}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user