tnt has uploaded this change for review. (
https://gerrit.osmocom.org/c/dahdi-linux/+/36693?usp=email )
Change subject: icE1usb: Update ice1usb_proto.h
......................................................................
icE1usb: Update ice1usb_proto.h
Change-Id: I17a1bbf27cfb423ba09146e2cc57b585d511ec49
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
---
M drivers/dahdi/icE1usb/ice1usb_proto.h
1 file changed, 18 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/dahdi-linux refs/changes/93/36693/1
diff --git a/drivers/dahdi/icE1usb/ice1usb_proto.h
b/drivers/dahdi/icE1usb/ice1usb_proto.h
index 3170d55..ee1c307 100644
--- a/drivers/dahdi/icE1usb/ice1usb_proto.h
+++ b/drivers/dahdi/icE1usb/ice1usb_proto.h
@@ -16,8 +16,14 @@
/*! returns a bit-mask of optional device capabilities (see enum e1usb_dev_capability)
*/
#define ICE1USB_DEV_GET_CAPABILITIES 0x01
+
+/*! returns a string describing the firmware version */
#define ICE1USB_DEV_GET_FW_BUILD 0x02
+/*! performs an I2C register access (read/write depends on direction) */
+#define ICE1USB_DEV_I2C_REG_ACCESS 0x10
+
+
enum e1usb_dev_capability {
/*! Does this board have a GPS-DO */
ICE1USB_DEV_CAP_GPSDO,
@@ -65,6 +71,7 @@
uint8_t mode; /*!< Current configured operating mode */
struct e1usb_gpsdo_tune tune; /*!< Current VCXO tuning values */
uint32_t freq_est; /*!< Latest frequency estimate measurement */
+ int16_t err_acc; /*!< Accumulated error (since fw icE1usb-fw-0.3 commit cfb8b0b7)
*/
} __attribute__((packed));
@@ -136,6 +143,7 @@
#define ICE1USB_ERR_F_ALIGN_ERR 0x01
#define ICE1USB_ERR_F_LOS 0x02
#define ICE1USB_ERR_F_RAI 0x04
+#define ICE1USB_ERR_F_AIS 0x08
struct ice1usb_irq_err {
/* 16-bit little-endian counters */
--
To view, visit
https://gerrit.osmocom.org/c/dahdi-linux/+/36693?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: I17a1bbf27cfb423ba09146e2cc57b585d511ec49
Gerrit-Change-Number: 36693
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-MessageType: newchange