Project

General

Profile

Bug #1970 » 0002-UPROTO_BOOT_KEYBOARD-is-already-defined-in-usb.h-as-.patch

masterblaster, 01/25/2011 11:04 PM

View differences:

sys/dev/usbmisc/ukbd/ukbd.c
#define DPRINTFN(n,x)
#endif
#define UPROTO_BOOT_KEYBOARD 1
#define NKEYCODE 6
struct ukbd_data {
......
if (id
&& id->bInterfaceClass == UICLASS_HID
&& id->bInterfaceSubClass == UISUBCLASS_BOOT
&& id->bInterfaceProtocol == UPROTO_BOOT_KEYBOARD)
&& id->bInterfaceProtocol == UIPROTO_BOOT_KEYBOARD)
return 0; /* found it */
return EINVAL;
(2-2/2)