aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bfin_mac.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-01-30 03:52:25 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-03 07:28:49 -0500
commit6893ff1c7eeac73e2c3267e4270bdb64ec427a31 (patch)
tree2e0b900a4fffad815aed63fc86623dbec0dbc65f /drivers/net/bfin_mac.c
parent2fb9d6f5a39d7753d2d2cc286079a94e92440bcd (diff)
EMAC driver: ADSP-BF52x arch/mach support
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bfin_mac.c')
-rw-r--r--drivers/net/bfin_mac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index ed935e1baa26..e9bd05916774 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -42,7 +42,7 @@
42#define DRV_NAME "bfin_mac" 42#define DRV_NAME "bfin_mac"
43#define DRV_VERSION "1.1" 43#define DRV_VERSION "1.1"
44#define DRV_AUTHOR "Bryan Wu, Luke Yang" 44#define DRV_AUTHOR "Bryan Wu, Luke Yang"
45#define DRV_DESC "Blackfin BF53[67] on-chip Ethernet MAC driver" 45#define DRV_DESC "Blackfin BF53[67] BF527 on-chip Ethernet MAC driver"
46 46
47MODULE_AUTHOR(DRV_AUTHOR); 47MODULE_AUTHOR(DRV_AUTHOR);
48MODULE_LICENSE("GPL"); 48MODULE_LICENSE("GPL");
@@ -752,7 +752,7 @@ static void bf537mac_enable(void)
752 752
753#if defined(CONFIG_BFIN_MAC_RMII) 753#if defined(CONFIG_BFIN_MAC_RMII)
754 opmode |= RMII; /* For Now only 100MBit are supported */ 754 opmode |= RMII; /* For Now only 100MBit are supported */
755#ifdef CONFIG_BF_REV_0_2 755#if (defined(CONFIG_BF537) || defined(CONFIG_BF536)) && CONFIG_BF_REV_0_2
756 opmode |= TE; 756 opmode |= TE;
757#endif 757#endif
758#endif 758#endif
@@ -994,7 +994,7 @@ static int __init bf537mac_probe(struct net_device *dev)
994 /* register irq handler */ 994 /* register irq handler */
995 if (request_irq 995 if (request_irq
996 (IRQ_MAC_RX, bf537mac_interrupt, IRQF_DISABLED | IRQF_SHARED, 996 (IRQ_MAC_RX, bf537mac_interrupt, IRQF_DISABLED | IRQF_SHARED,
997 "BFIN537_MAC_RX", dev)) { 997 "EMAC_RX", dev)) {
998 printk(KERN_WARNING DRV_NAME 998 printk(KERN_WARNING DRV_NAME
999 ": Unable to attach BlackFin MAC RX interrupt\n"); 999 ": Unable to attach BlackFin MAC RX interrupt\n");
1000 return -EBUSY; 1000 return -EBUSY;