0002-UPROTO_BOOT_KEYBOARD-is-already-defined-in-usb.h-as-.patch

masterblaster, 01/25/2011 11:04 PM

Download (1.03 KB)

View differences:

sys/dev/usbmisc/ukbd/ukbd.c
90 90
#define DPRINTFN(n,x)
91 91
#endif
92 92

  
93
#define UPROTO_BOOT_KEYBOARD 1
94

  
95 93
#define NKEYCODE 6
96 94

  
97 95
struct ukbd_data {
......
1424 1422
	if (id
1425 1423
	    && id->bInterfaceClass == UICLASS_HID
1426 1424
	    && id->bInterfaceSubClass == UISUBCLASS_BOOT
1427
	    && id->bInterfaceProtocol == UPROTO_BOOT_KEYBOARD)
1425
	    && id->bInterfaceProtocol == UIPROTO_BOOT_KEYBOARD)
1428 1426
		return 0;	/* found it */
1429 1427

  
1430 1428
	return EINVAL;
1431
-