Is ubcmtp(4) really attaching to uhidev(4)?  I only can see it
attaching to uhub(4).  Do I miss something?


Index: sys/dev/usb/ubcmtp.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/ubcmtp.c,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 ubcmtp.c
--- sys/dev/usb/ubcmtp.c        31 Jul 2020 10:49:33 -0000      1.21
+++ sys/dev/usb/ubcmtp.c        20 Aug 2020 21:14:31 -0000
@@ -47,7 +47,6 @@
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>
 #include <dev/usb/usbdevs.h>
-#include <dev/usb/uhidev.h>
 #include <dev/usb/usbhid.h>
 
 #include <dev/wscons/wsconsio.h>
@@ -328,7 +327,6 @@ struct ubcmtp_softc {
 
        struct ubcmtp_dev       *dev_type;
 
-       struct uhidev           sc_hdev;
        struct usbd_device      *sc_udev;
        struct device           *sc_wsmousedev;
 
Index: share/man/man4/ubcmtp.4
===================================================================
RCS file: /cvs/src/share/man/man4/ubcmtp.4,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 ubcmtp.4
--- share/man/man4/ubcmtp.4     25 May 2019 15:47:46 -0000      1.2
+++ share/man/man4/ubcmtp.4     20 Aug 2020 21:14:31 -0000
@@ -34,7 +34,7 @@
 .Nm ubcmtp
 .Nd Broadcom trackpad mouse
 .Sh SYNOPSIS
-.Cd "ubcmtp*  at uhidev?"
+.Cd "ubcmtp*  at uhub?"
 .Cd "wsmouse* at ubcmtp? mux 0"
 .Sh DESCRIPTION
 The
@@ -42,7 +42,7 @@ The
 driver provides support for Broadcom multi-touch trackpads found on
 newer Apple MacBook, MacBook Pro, and MacBook Air laptops.
 .Sh SEE ALSO
-.Xr uhidev 4 ,
+.Xr uhub 4 ,
 .Xr usb 4 ,
 .Xr wsmouse 4
 .Sh HISTORY
Index: share/man/man4/uhidev.4
===================================================================
RCS file: /cvs/src/share/man/man4/uhidev.4,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 uhidev.4
--- share/man/man4/uhidev.4     25 Aug 2018 20:31:31 -0000      1.10
+++ share/man/man4/uhidev.4     20 Aug 2020 21:14:31 -0000
@@ -36,7 +36,6 @@
 .Nd USB Human Interface Device support
 .Sh SYNOPSIS
 .Cd "uhidev*  at uhub?"
-.Cd "ubcmtp*  at uhidev?"
 .Cd "ucycom*  at uhidev?"
 .Cd "ugold*   at uhidev?"
 .Cd "uhid*    at uhidev?"
@@ -68,7 +67,6 @@ kinds of devices and
 only dispatches data to them based on the report id.
 .Sh SEE ALSO
 .Xr intro 4 ,
-.Xr ubcmtp 4 ,
 .Xr ucycom 4 ,
 .Xr ugold 4 ,
 .Xr uhid 4 ,

Reply via email to