parport: parport_serial: Add Brainboxes BAR details
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): BBParportSerialV2
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH RESEND v2 2/2 parport: parport_serial: Add Brainboxes device IDs and geometry
Add device IDs for the Brainboxes UC-203, UC-257, UC-414, UC-475, IS-300/IS-500 and PX-263/PX-295 and define the relevant "geometry" for the cards.
This patch requires part 1 of this series.
---
Looks like this slipped through the grate the first time. Cc LKML and stable this time.
v1 - v2:
This is a re-submission for [1] with the changes separated into different patches. Part 1 of this series is required for this patch.
drivers/parport/parport_serial.c | 56 ++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+)
drivers/parport/parport_serial.c +56 -0
@@ -285,6 +285,38 @@ static struct pci_device_id parport_serial_pci_tbl[] = { {PCI_VENDOR_ID_SUNIX ,PCI_DEVICE_ID_SUNIX_1999 ,PCI_VENDOR_ID_SUNIX , 0x0104, 0, 0, sunix_5099a }, +/* Brainboxes UC-203 */ + { PCI_VENDOR_ID_INTASHIELD, 0x0bc1, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0bc2, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, + +/* Brainboxes UC-257 */ + { PCI_VENDOR_ID_INTASHIELD, 0x0861, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0862, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0863, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, + +/* Brainboxes UC-414 */ + { PCI_VENDOR_ID_INTASHIELD, 0x0e61, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc414 }, + +/* Brainboxes UC-475 */ + { PCI_VENDOR_ID_INTASHIELD, 0x0981, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0982, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_uc257 }, + +/* Brainboxes IS-300/IS-500 */ + { PCI_VENDOR_ID_INTASHIELD, 0x0da0, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_is300 }, + +/* Brainboxes PX-263/PX-295 */ + { PCI_VENDOR_ID_INTASHIELD, 0x402c, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, brainboxes_px263 }, + { 0, } /* terminate list */ };MODULE_DEVICE_TABLE (pci,parport_serial_pci_tbl);
@@ -550,6 +582,30 @@ static struct pciserial_board pci_parport_serial_boards[] = { .base_baud = 921600, .uart_offset = 0x8, }, + [brainboxes_uc257] = { + .flags = FL_BASE2, + .num_ports = 2, + .base_baud = 115200, + .uart_offset = 8, + }, + [brainboxes_is300] = { + .flags = FL_BASE2, + .num_ports = 1, + .base_baud = 115200, + .uart_offset = 8, + }, + [brainboxes_uc414] = { + .flags = FL_BASE2, + .num_ports = 4, + .base_baud = 115200, + .uart_offset = 8, + }, + [brainboxes_px263] = { + .flags = FL_BASE2, + .num_ports = 4, + .base_baud = 921600, + .uart_offset = 8, + }, };struct parport_serial_private {
Signature · 1 line
2.42.0
Re: [PATCH v2 2/2 RESEND] parport: parport_serial: Add Brainboxes device IDs and geometry
Quoted 8 lines · Cameron Williams
Add device IDs for the Brainboxes UC-203, UC-257, UC-414, UC-475, IS-300/IS-500 and PX-263/PX-295 and define the relevant "geometry" for the cards.
This patch requires part 1 of this series.Signed-off-by Cameron Williams <[email protected]>
Signature · 2 lines
Regards Sudip
PATCH RESEND v2 1/2 parport: parport_serial: Add Brainboxes BAR details
In reply to a message not in the archiveAdd BAR/enum entries for Brainboxes serial/parallel cards.
---
Looks like this slipped through the grate the first time. Cc LKML and stable this time.
v1 - v2:
This is a re-submission for [1] which splits the changes into two patches.
drivers/parport/parport_serial.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/parport/parport_serial.c +8 -0
@@ -65,6 +65,10 @@ enum parport_pc_pci_cards { sunix_5069a, sunix_5079a, sunix_5099a, + brainboxes_uc257, + brainboxes_is300, + brainboxes_uc414, + brainboxes_px263, };/* each element directly indexed from enum list, above */
@@ -158,6 +162,10 @@ static struct parport_pc_pci cards[] = { /* sunix_5069a */ { 1, { { 1, 2 }, } }, /* sunix_5079a */ { 1, { { 1, 2 }, } }, /* sunix_5099a */ { 1, { { 1, 2 }, } }, + /* brainboxes_uc257 */ { 1, { { 3, -1 }, } }, + /* brainboxes_is300 */ { 1, { { 3, -1 }, } }, + /* brainboxes_uc414 */ { 1, { { 3, -1 }, } }, + /* brainboxes_px263 */ { 1, { { 3, -1 }, } }, }; static struct pci_device_id parport_serial_pci_tbl[] = {
Signature · 1 line
2.42.0
Quoted 5 lines · Cameron Williams
Add BAR/enum entries for Brainboxes serial/parallel cards.
Signed-off-by Cameron Williams <[email protected]>
Greg, can you please take this series after the merge window is over.
Signature · 2 lines
Regards Sudip
Greg Kroah-Hartman
maintainerQuoted 10 lines · Sudip Mukherjee
Quoted 5 lines · Cameron Williams
Add BAR/enum entries for Brainboxes serial/parallel cards.
Signed-off-by Cameron Williams <[email protected]>Acked-by Sudip Mukherjee <[email protected]>Greg, can you please take this series after the merge window is over.
Will do, thanks!
greg k-h