moused: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
parent
2c1b8eb29d
commit
de1a17db89
@ -3013,7 +3013,7 @@ pnpparse(pnpid_t *id, char *buf, int len)
|
|||||||
id->revision = ((buf[1] & 0x3f) << 6) | (buf[2] & 0x3f);
|
id->revision = ((buf[1] & 0x3f) << 6) | (buf[2] & 0x3f);
|
||||||
debug("PnP rev %d.%02d", id->revision / 100, id->revision % 100);
|
debug("PnP rev %d.%02d", id->revision / 100, id->revision % 100);
|
||||||
|
|
||||||
/* EISA vender and product ID */
|
/* EISA vendor and product ID */
|
||||||
id->eisaid = &buf[3];
|
id->eisaid = &buf[3];
|
||||||
id->neisaid = 7;
|
id->neisaid = 7;
|
||||||
|
|
||||||
@ -3053,7 +3053,7 @@ pnpparse(pnpid_t *id, char *buf, int len)
|
|||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* PnP COM spec prior to v0.96 allowed '*' in this field,
|
* PnP COM spec prior to v0.96 allowed '*' in this field,
|
||||||
* it's not allowed now; just igore it.
|
* it's not allowed now; just ignore it.
|
||||||
*/
|
*/
|
||||||
if (buf[j] == '*')
|
if (buf[j] == '*')
|
||||||
++j;
|
++j;
|
||||||
|
Loading…
Reference in New Issue
Block a user