Fix GENERIC_MOUSE_ENTRY.
Submitted by: Graham Wheeler <gram@cequrux.com> and gibbs
This commit is contained in:
parent
eba53b965a
commit
fc581b6bf6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63951
@ -293,7 +293,7 @@ static struct {
|
||||
{ MOUSE_MODEL_GENERIC,
|
||||
0xc0, MOUSE_PS2_PACKETSIZE, NULL, },
|
||||
};
|
||||
#define GENERIC_MOUSE_ENTRY 7
|
||||
#define GENERIC_MOUSE_ENTRY ((sizeof(vendortype) / sizeof(*vendortype)) - 1)
|
||||
|
||||
/* device driver declarateion */
|
||||
static device_method_t psm_methods[] = {
|
||||
|
@ -293,7 +293,7 @@ static struct {
|
||||
{ MOUSE_MODEL_GENERIC,
|
||||
0xc0, MOUSE_PS2_PACKETSIZE, NULL, },
|
||||
};
|
||||
#define GENERIC_MOUSE_ENTRY 7
|
||||
#define GENERIC_MOUSE_ENTRY ((sizeof(vendortype) / sizeof(*vendortype)) - 1)
|
||||
|
||||
/* device driver declarateion */
|
||||
static device_method_t psm_methods[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user