summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_maloreg.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-10-08 22:08:13 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-10-08 22:08:13 +0000
commit231290ef49be6a60783cb14afca240c2e5309d47 (patch)
treece6446cbde929d8eb6dc6f541ab45fa95ba54273 /sys/dev/pcmcia/if_maloreg.h
parent1ba463ac783eac3fbf4898b27bcdcf07bd8aa37d (diff)
Make pcmcia malo(4) work with trunk(4) by:
Setting interface ethernet address from link level address. Adding firmware command to set ethernet address.
Diffstat (limited to 'sys/dev/pcmcia/if_maloreg.h')
-rw-r--r--sys/dev/pcmcia/if_maloreg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/if_maloreg.h b/sys/dev/pcmcia/if_maloreg.h
index c4311d44a79..92a8310adf3 100644
--- a/sys/dev/pcmcia/if_maloreg.h
+++ b/sys/dev/pcmcia/if_maloreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_maloreg.h,v 1.14 2007/08/09 14:50:06 mglocker Exp $ */
+/* $OpenBSD: if_maloreg.h,v 1.15 2007/10/08 22:08:12 mglocker Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@ -62,6 +62,7 @@
#define MALO_CMD_TXPOWER 0x001e
#define MALO_CMD_ANTENNA 0x0020
#define MALO_CMD_MACCTRL 0x0028
+#define MALO_CMD_MACADDR 0x004d
#define MALO_CMD_ASSOC 0x0050
#define MALO_CMD_80211D 0x005b
#define MALO_CMD_BGSCAN_CONFIG 0x006b