parport: parport_serial: Add Brainboxes BAR details

commit 65fde134b0 upstream.

Add BAR/enum entries for Brainboxes serial/parallel cards.

Cc:  <stable@vger.kernel.org>
Signed-off-by: Cameron Williams <cang1@live.co.uk>
Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/AS4PR02MB79035155C2D5C3333AE6FA52C4A6A@AS4PR02MB7903.eurprd02.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Cameron Williams 2023-11-02 21:07:05 +00:00 committed by Greg Kroah-Hartman
parent 5cf604ee53
commit 72095a5430

View file

@ -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[] = {