diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-09-14 12:41:10 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-09-14 12:41:10 +0000 |
commit | 6628dbed45791a16fab8528ffb1cfb65a9e6651c (patch) | |
tree | 00e9d45bd2d9a316f97a810105f9723f97cf2a40 /sys/dev/usb/if_axenreg.h | |
parent | 1b32d2741c47b017f79041012c71d975abb17ff0 (diff) |
Always set the MAC address when initializing the chip.
Make "# ifconfig axen0 lladdr" work.
ok stsp@, dlg@
Diffstat (limited to 'sys/dev/usb/if_axenreg.h')
-rw-r--r-- | sys/dev/usb/if_axenreg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/if_axenreg.h b/sys/dev/usb/if_axenreg.h index 13c9f2ec540..8de2c6d5097 100644 --- a/sys/dev/usb/if_axenreg.h +++ b/sys/dev/usb/if_axenreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axenreg.h,v 1.5 2015/07/16 00:17:40 yuo Exp $ */ +/* $OpenBSD: if_axenreg.h,v 1.6 2016/09/14 12:41:09 mpi Exp $ */ /* * Copyright (c) 2013 Yojiro UO <yuo@openbsd.org>. All right reserved. @@ -182,6 +182,7 @@ /* 6byte cmd */ #define AXEN_CMD_MAC_READ_ETHER 0x6001 +#define AXEN_CMD_MAC_WRITE_ETHER 0x6101 #define AXEN_CMD_MAC_NODE_ID 0x10 /* 8byte cmd */ |