summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_axereg.h
diff options
context:
space:
mode:
authorCan Erkin Acar <canacar@cvs.openbsd.org>2015-05-17 02:44:39 +0000
committerCan Erkin Acar <canacar@cvs.openbsd.org>2015-05-17 02:44:39 +0000
commit18e7f73b9c21d699d87642497d669f2852f14f72 (patch)
treed015eae45f33bb37830bbf202ccbc4218a9f6d19 /sys/dev/usb/if_axereg.h
parentb898fc4540ce9cbde9d07f26544e56696949312f (diff)
Read ethernet address from EEPROM on AX88772B based on FreeBSD
ok djm@ jsg@
Diffstat (limited to 'sys/dev/usb/if_axereg.h')
-rw-r--r--sys/dev/usb/if_axereg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/usb/if_axereg.h b/sys/dev/usb/if_axereg.h
index 3af57ebfcd2..f7ec264e5af 100644
--- a/sys/dev/usb/if_axereg.h
+++ b/sys/dev/usb/if_axereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_axereg.h,v 1.24 2013/05/31 15:20:49 yuo Exp $ */
+/* $OpenBSD: if_axereg.h,v 1.25 2015/05/17 02:44:38 canacar Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000-2003
@@ -187,6 +187,9 @@
#define AXE_CONFIG_NO 1
#define AXE_IFACE_IDX 0
+/* EEPROM Map */
+#define AXE_EEPROM_772B_NODEID 0x04
+
/*
* The interrupt endpoint is currently unused
* by the ASIX part.