summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/serial/usb_serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/serial/usb_serial.h')
-rw-r--r--sys/dev/usb/serial/usb_serial.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/serial/usb_serial.h b/sys/dev/usb/serial/usb_serial.h
index 8fdf988..d003bf1 100644
--- a/sys/dev/usb/serial/usb_serial.h
+++ b/sys/dev/usb/serial/usb_serial.h
@@ -64,6 +64,7 @@
#include <sys/serial.h>
#include <sys/fcntl.h>
#include <sys/sysctl.h>
+#include <sys/timepps.h>
/* Module interface related macros */
#define UCOM_MODVER 1
@@ -155,6 +156,8 @@ struct ucom_softc {
struct ucom_cfg_task sc_line_state_task[2];
struct ucom_cfg_task sc_status_task[2];
struct ucom_param_task sc_param_task[2];
+ /* pulse capturing support, PPS */
+ struct pps_state sc_pps;
/* Used to set "UCOM_FLAG_GP_DATA" flag: */
struct usb_proc_msg *sc_last_start_xfer;
const struct ucom_callback *sc_callback;
OpenPOWER on IntegriCloud