Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 760a5ab4 authored by Cameron Williams's avatar Cameron Williams Committed by Greg Kroah-Hartman
Browse files

parport: parport_serial: Add Brainboxes BAR details



commit 65fde134b0a4ffe838729f9ee11b459a2f6f2815 upstream.

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

Cc:  <stable@vger.kernel.org>
Signed-off-by: default avatarCameron Williams <cang1@live.co.uk>
Acked-by: default avatarSudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/AS4PR02MB79035155C2D5C3333AE6FA52C4A6A@AS4PR02MB7903.eurprd02.prod.outlook.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e93da893
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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[] = {