Bug #1970 » 0002-UPROTO_BOOT_KEYBOARD-is-already-defined-in-usb.h-as-.patch
| 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; 
   | 
||
- « Previous
 - 1
 - 2
 - Next »