diff options
Diffstat (limited to 'drivers/net/smsc911x.h')
-rw-r--r-- | drivers/net/smsc911x.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/smsc911x.h b/drivers/net/smsc911x.h index 016360c65ce2..52f38e12a879 100644 --- a/drivers/net/smsc911x.h +++ b/drivers/net/smsc911x.h | |||
@@ -394,4 +394,15 @@ | |||
394 | #define LPA_PAUSE_ALL (LPA_PAUSE_CAP | \ | 394 | #define LPA_PAUSE_ALL (LPA_PAUSE_CAP | \ |
395 | LPA_PAUSE_ASYM) | 395 | LPA_PAUSE_ASYM) |
396 | 396 | ||
397 | /* | ||
398 | * Provide hooks to let the arch add to the initialisation procedure | ||
399 | * and to override the source of the MAC address. | ||
400 | */ | ||
401 | #define SMSC_INITIALIZE() do {} while (0) | ||
402 | #define smsc_get_mac(dev) smsc911x_read_mac_address((dev)) | ||
403 | |||
404 | #ifdef CONFIG_SMSC911X_ARCH_HOOKS | ||
405 | #include <asm/smsc911x.h> | ||
406 | #endif | ||
407 | |||
397 | #endif /* __SMSC911X_H__ */ | 408 | #endif /* __SMSC911X_H__ */ |