summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/net/if_auereg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/net/if_auereg.h')
-rw-r--r--sys/dev/usb/net/if_auereg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/net/if_auereg.h b/sys/dev/usb/net/if_auereg.h
index f1f7398..4d0843e 100644
--- a/sys/dev/usb/net/if_auereg.h
+++ b/sys/dev/usb/net/if_auereg.h
@@ -55,7 +55,7 @@
/*
* Note that while the ADMtek technically has four endpoints, the control
* endpoint (endpoint 0) is regarded as special by the USB code and drivers
- * don't have direct access to it (we access it using usb2_do_request()
+ * don't have direct access to it (we access it using usbd_do_request()
* when reading/writing registers. Consequently, our endpoint indexes
* don't match those in the ADMtek Pegasus manual: we consider the RX data
* endpoint to be index 0 and work up from there.
@@ -183,7 +183,7 @@ enum {
#define AUE_RXSTAT_DRIBBLE 0x10
#define AUE_RXSTAT_MASK 0x1E
-#define GET_MII(sc) usb2_ether_getmii(&(sc)->sc_ue)
+#define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
struct aue_intrpkt {
uint8_t aue_txstat0;
OpenPOWER on IntegriCloud