summaryrefslogtreecommitdiffstats
path: root/drivers/net/pasemi_mac.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2008-01-23 13:56:19 -0600
committerDavid S. Miller <davem@davemloft.net>2008-02-03 04:27:53 -0800
commit5cea73b0f7d4d49e276b0c4842465890d00de861 (patch)
tree9d46b61c0c050942a4df9e7dd68c796016ddb746 /drivers/net/pasemi_mac.h
parentc88559539bd16eae4e9056d4734b3fe8a9858c45 (diff)
downloadop-kernel-dev-5cea73b0f7d4d49e276b0c4842465890d00de861.zip
op-kernel-dev-5cea73b0f7d4d49e276b0c4842465890d00de861.tar.gz
pasemi_mac: Add support for changing mac address
Straightforward. It used to be hardcoded and impossible to override with ifconfig. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pasemi_mac.h')
-rw-r--r--drivers/net/pasemi_mac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/pasemi_mac.h b/drivers/net/pasemi_mac.h
index 8bee2a6..39d3259 100644
--- a/drivers/net/pasemi_mac.h
+++ b/drivers/net/pasemi_mac.h
@@ -96,6 +96,8 @@ struct pasemi_mac_buffer {
/* MAC CFG register offsets */
enum {
PAS_MAC_CFG_PCFG = 0x80,
+ PAS_MAC_CFG_ADR0 = 0x8c,
+ PAS_MAC_CFG_ADR1 = 0x90,
PAS_MAC_CFG_TXP = 0x98,
PAS_MAC_IPC_CHNL = 0x208,
};
OpenPOWER on IntegriCloud