Lines Matching +full:port +full:- +full:id

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
92 { 0x103c, 0x1048, 0x103c, 0x1227, "HP Diva Serial [GSP] UART - Powerbar SP2",
95 { 0x103c, 0x1290, 0xffff, 0, "HP Auxiliary Diva Serial Port", 0x18 },
96 { 0x103c, 0x3301, 0xffff, 0, "HP iLO serial port", 0x10 },
100 "ASIX AX99100 PCIe 1/2/3/4-port RS-232/422/485", 0x10 },
103 { 0x131f, 0x1000, 0xffff, 0, "Siig CyberSerial (1-port) 16550", 0x18 },
104 { 0x131f, 0x1001, 0xffff, 0, "Siig CyberSerial (1-port) 16650", 0x18 },
105 { 0x131f, 0x1002, 0xffff, 0, "Siig CyberSerial (1-port) 16850", 0x18 },
106 { 0x131f, 0x2000, 0xffff, 0, "Siig CyberSerial (1-port) 16550", 0x10 },
107 { 0x131f, 0x2001, 0xffff, 0, "Siig CyberSerial (1-port) 16650", 0x10 },
108 { 0x131f, 0x2002, 0xffff, 0, "Siig CyberSerial (1-port) 16850", 0x10 },
109 { 0x135a, 0x0a61, 0xffff, 0, "Brainboxes UC-324", 0x18 },
110 { 0x135a, 0x0aa1, 0xffff, 0, "Brainboxes UC-246", 0x18 },
111 { 0x135a, 0x0aa2, 0xffff, 0, "Brainboxes UC-246", 0x18 },
112 { 0x135a, 0x0d60, 0xffff, 0, "Intashield IS-100", 0x18 },
113 { 0x135a, 0x0da0, 0xffff, 0, "Intashield IS-300", 0x18 },
114 { 0x135a, 0x4000, 0xffff, 0, "Brainboxes PX-420", 0x10 },
115 { 0x135a, 0x4001, 0xffff, 0, "Brainboxes PX-431", 0x10 },
116 { 0x135a, 0x4002, 0xffff, 0, "Brainboxes PX-820", 0x10 },
117 { 0x135a, 0x4003, 0xffff, 0, "Brainboxes PX-831", 0x10 },
118 { 0x135a, 0x4004, 0xffff, 0, "Brainboxes PX-246", 0x10 },
119 { 0x135a, 0x4005, 0xffff, 0, "Brainboxes PX-101", 0x10 },
120 { 0x135a, 0x4006, 0xffff, 0, "Brainboxes PX-257", 0x10 },
121 { 0x135a, 0x4008, 0xffff, 0, "Brainboxes PX-846", 0x10 },
122 { 0x135a, 0x4009, 0xffff, 0, "Brainboxes PX-857", 0x10 },
123 { 0x135c, 0x0190, 0xffff, 0, "Quatech SSCLP-100", 0x18 },
124 { 0x135c, 0x01c0, 0xffff, 0, "Quatech SSCLP-200/300", 0x18 },
125 { 0x135e, 0x7101, 0xffff, 0, "Sealevel Systems Single Port RS-232/422/485/530",
127 { 0x1407, 0x0110, 0xffff, 0, "Lava Computer mfg DSerial-PCI Port A", 0x10 },
128 { 0x1407, 0x0111, 0xffff, 0, "Lava Computer mfg DSerial-PCI Port B", 0x10 },
130 { 0x1409, 0x7168, 0x1409, 0x4025, "Timedia Technology Serial Port", 0x10,
132 { 0x1409, 0x7168, 0x1409, 0x4027, "Timedia Technology Serial Port", 0x10,
134 { 0x1409, 0x7168, 0x1409, 0x4028, "Timedia Technology Serial Port", 0x10,
136 { 0x1409, 0x7168, 0x1409, 0x5025, "Timedia Technology Serial Port", 0x10,
138 { 0x1409, 0x7168, 0x1409, 0x5027, "Timedia Technology Serial Port", 0x10,
150 { 0x1fd4, 0x1999, 0x1fd4, 0x0001, "Sunix SER5xxxx Serial Port", 0x10,
158 { 0x8086, 0x108f, 0xffff, 0, "Intel AMT - SOL", 0x10 },
160 { 0x8086, 0x1c3d, 0xffff, 0, "Intel AMT - KT Controller", 0x10 },
168 { 0x8086, 0x2a07, 0xffff, 0, "Intel AMT - PM965/GM965 KT Controller", 0x10 },
189 { 0x8086, 0x8811, 0xffff, 0, "Intel EG20T Serial Port 0", 0x10 },
190 { 0x8086, 0x8812, 0xffff, 0, "Intel EG20T Serial Port 1", 0x10 },
191 { 0x8086, 0x8813, 0xffff, 0, "Intel EG20T Serial Port 2", 0x10 },
192 { 0x8086, 0x8814, 0xffff, 0, "Intel EG20T Serial Port 3", 0x10 },
197 { 0x8086, 0x9c3d, 0xffff, 0, "Intel Lynx Point-LP HECI KT", 0x10 },
201 { 0x9710, 0x9820, 0x1000, 1, "NetMos NM9820 Serial Port", 0x10 },
202 { 0x9710, 0x9835, 0x1000, 1, "NetMos NM9835 Serial Port", 0x10 },
203 { 0x9710, 0x9865, 0xa000, 0x1000, "NetMos NM9865 Serial Port", 0x10 },
212 { 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 },
217 uart_pci_match(device_t dev, const struct pci_id *id) in uart_pci_match() argument
223 while (id->vendor != 0xffff && in uart_pci_match()
224 (id->vendor != vendor || id->device != device)) in uart_pci_match()
225 id++; in uart_pci_match()
226 if (id->vendor == 0xffff) in uart_pci_match()
228 if (id->subven == 0xffff) in uart_pci_match()
229 return (id); in uart_pci_match()
232 while (id->vendor == vendor && id->device == device && in uart_pci_match()
233 (id->subven != subven || id->subdev != subdev)) in uart_pci_match()
234 id++; in uart_pci_match()
235 return ((id->vendor == vendor && id->device == device) ? id : NULL); in uart_pci_match()
251 const struct pci_unique_id * id; in uart_pci_unique_console_match() local
259 for (id = pci_unique_devices; ; id++) { in uart_pci_unique_console_match()
260 if (id == &pci_unique_devices[nitems(pci_unique_devices)]) in uart_pci_unique_console_match()
262 if (id->vendor == vendor && id->device == device) in uart_pci_unique_console_match()
268 if (sysdev->pci_info.vendor == vendor && in uart_pci_unique_console_match()
269 sysdev->pci_info.device == device) { in uart_pci_unique_console_match()
270 sc->sc_sysdev = sysdev; in uart_pci_unique_console_match()
271 sysdev->bas.rclk = sc->sc_bas.rclk; in uart_pci_unique_console_match()
280 const struct pci_id *id; in uart_pci_probe() local
291 id = uart_pci_match(dev, pci_ns8250_ids); in uart_pci_probe()
292 if (id != NULL) { in uart_pci_probe()
293 sc->sc_class = &uart_ns8250_class; in uart_pci_probe()
300 id = &cid; in uart_pci_probe()
301 sc->sc_class = &uart_ns8250_class; in uart_pci_probe()
304 /* Add checks for non-ns8250 IDs here. */ in uart_pci_probe()
308 result = uart_bus_probe(dev, id->regshft, 0, id->rclk, in uart_pci_probe()
309 id->rid & PCI_RID_MASK, 0, 0); in uart_pci_probe()
318 if (sc->sc_sysdev == NULL) in uart_pci_probe()
321 if (id->desc) in uart_pci_probe()
322 device_set_desc(dev, id->desc); in uart_pci_probe()
330 const struct pci_id *id; in uart_pci_attach() local
339 id = uart_pci_match(dev, pci_ns8250_ids); in uart_pci_attach()
340 if ((id == NULL || (id->rid & PCI_NO_MSI) == 0) && in uart_pci_attach()
344 sc->sc_irid = 1; in uart_pci_attach()
359 if (sc->sc_irid != 0) in uart_pci_detach()