summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2009-10-13 11:25:49 +0400
committerDavid S. Miller <davem@davemloft.net>2009-10-13 22:48:32 +0400
commitaace495933a981274b6491d71b915165a61defdc (patch)
treec6233d889f8c514f1bab538270676c97dd682739 /include
parentb4efc5610980bc4b65a6cb49b939cf5f7dfa2723 (diff)
downloadlinux-aace495933a981274b6491d71b915165a61defdc.tar.xz
net: smsc911x: allow platform_data to specify mac address
Extend the driver to accept a MAC address specified in platform_data. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/smsc911x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/smsc911x.h b/include/linux/smsc911x.h
index 5241e4fb4eca..7144e8aa1e41 100644
--- a/include/linux/smsc911x.h
+++ b/include/linux/smsc911x.h
@@ -30,6 +30,7 @@ struct smsc911x_platform_config {
unsigned int irq_type;
unsigned int flags;
phy_interface_t phy_interface;
+ unsigned char mac[6];
};
/* Constants for platform_device irq polarity configuration */