]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/smsc911x.h
iwlwifi: Legacy isr only used by legacy devices
[net-next-2.6.git] / drivers / net / smsc911x.h
index 016360c65ce2ded5afe129f91139a9582fbef485..52f38e12a879db9d344fb80f169f05eba31fa860 100644 (file)
 #define LPA_PAUSE_ALL                  (LPA_PAUSE_CAP | \
                                         LPA_PAUSE_ASYM)
 
+/*
+ * Provide hooks to let the arch add to the initialisation procedure
+ * and to override the source of the MAC address.
+ */
+#define SMSC_INITIALIZE()              do {} while (0)
+#define smsc_get_mac(dev)              smsc911x_read_mac_address((dev))
+
+#ifdef CONFIG_SMSC911X_ARCH_HOOKS
+#include <asm/smsc911x.h>
+#endif
+
 #endif                         /* __SMSC911X_H__ */