Skip to content

Commit

Permalink
parport: parport_serial: Add Brainboxes BAR details
Browse files Browse the repository at this point in the history
commit 65fde13 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>
  • Loading branch information
geekygamer01 authored and gregkh committed Jan 20, 2024
1 parent 17a8519 commit 3936b54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/parport/parport_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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[] = {
Expand Down

0 comments on commit 3936b54

Please sign in to comment.