summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_cdcereg.h
diff options
context:
space:
mode:
authorGerhard Roth <gerhard@cvs.openbsd.org>2023-04-27 08:34:00 +0000
committerGerhard Roth <gerhard@cvs.openbsd.org>2023-04-27 08:34:00 +0000
commit99fc860cfd843f75c9ca3934f01a75cb3aef1fb9 (patch)
tree3807c3df320eac3aa0e8744ed49b2ba19620eb7b /sys/dev/usb/if_cdcereg.h
parentc0ff004b2e2ddd92c5a0dd48eb424bd793ad8843 (diff)
The ASIX AX88179A chipset does not work properly with the axen(4) driver.
For now switch it to cdce(4) until native support is provided by axen(4). ok bentley@ stsp@
Diffstat (limited to 'sys/dev/usb/if_cdcereg.h')
-rw-r--r--sys/dev/usb/if_cdcereg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/if_cdcereg.h b/sys/dev/usb/if_cdcereg.h
index 3ead6a69914..6d08efeec2a 100644
--- a/sys/dev/usb/if_cdcereg.h
+++ b/sys/dev/usb/if_cdcereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cdcereg.h,v 1.7 2016/10/12 21:51:11 fcambus Exp $ */
+/* $OpenBSD: if_cdcereg.h,v 1.8 2023/04/27 08:33:59 gerhard Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000-2003 Bill Paul <wpaul@windriver.com>
@@ -40,9 +40,12 @@
struct cdce_type {
struct usb_devno cdce_dev;
+ u_int16_t cdce_rev;
u_int16_t cdce_flags;
#define CDCE_CRC32 1
#define CDCE_SWAPUNION 2
+#define CDCE_MATCHREV 4
+ int cdce_cfgno;
};
struct cdce_softc;