Skip to contentSkip to conversation

Serial MUX driver update.

parisc-linux Matthew Wilcox 1 participant 1 message Aug 26, 2002 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Review

Quoted 6 lines · Ryan Bradetich

Update to the serial mux driver.
static struct parisc_device_id mux_tbl[] = {

(quoted diff) +1 -0
 	{ HPHW_A_DIRECT, HVERSION_REV_ANY_ID, 0x015, 0x0000D }, /* Eole CAP/MUX */
+	{ HPHW_A_DIRECT, HVERSION_REV_ANY_ID, 0x044, 0x0000D }, /* Sahp Baat Kiuh AP/MUX */
 	{ 0, }
 };

May I suggest:

static struct parisc_device_id mux_tbl[] = {
	{ HPHW_A_DIRECT, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0000D }, 
	{ 0, }
};

since this driver should work for all MUXes, not just Eole & SBK.

By and large, everyone should have HVERSION_ANY_ID in their parisc_device_id tables. There's some exceptions (ccio, astro, elroy, dino, serial), but most drivers shouldn't need to discriminate on hversion.

Signature · 1 line
Revolutions do not require corporate support.