Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Side-load dev/hid/hid.h to restore the previous ...



details:   https://anonhg.NetBSD.org/src/rev/2036392d3a7a
branches:  trunk
changeset: 324685:2036392d3a7a
user:      maya <maya%NetBSD.org@localhost>
date:      Sun Jul 15 18:36:51 2018 +0000

description:
Side-load dev/hid/hid.h to restore the previous visibility of macros
like HUP_GENERIC_DESKTOP.

This header is user-visible and used by third party code. with this
change we don't need to modify pkgsrc/emulators/vice to know about
new headers in -current. Other users probably exist.

ok xtos.

diffstat:

 sys/dev/usb/usbhid.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 8534c0fdb93c -r 2036392d3a7a sys/dev/usb/usbhid.h
--- a/sys/dev/usb/usbhid.h      Sun Jul 15 18:00:14 2018 +0000
+++ b/sys/dev/usb/usbhid.h      Sun Jul 15 18:36:51 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbhid.h,v 1.17 2017/12/10 17:03:07 bouyer Exp $       */
+/*     $NetBSD: usbhid.h,v 1.18 2018/07/15 18:36:51 maya Exp $ */
 /*     $FreeBSD: src/sys/dev/usb/usbhid.h,v 1.7 1999/11/17 22:33:51 n_hibma Exp $ */
 
 /*
@@ -35,6 +35,8 @@
 #ifndef _DEV_USB_USBHID_H_
 #define _DEV_USB_USBHID_H_
 
+#include <dev/hid/hid.h>
+
 #define UR_GET_HID_DESCRIPTOR  0x06
 #define  UDESC_HID             0x21
 #define  UDESC_REPORT          0x22



Home | Main Index | Thread Index | Old Index