aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.c
diff options
context:
space:
mode:
authorKou Ishizaki <kou.ishizaki@toshiba.co.jp>2007-02-20 17:36:14 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-27 04:16:03 -0500
commit3342cf0e59b6e360ae770f8082b062f4db09f3b5 (patch)
treeab31273455341c1f3ccbe86738fdd05fe03069b5 /drivers/net/spider_net.c
parent3cf761ddccb9332218973e17f9b987bb5cae7b69 (diff)
spidernet: spidernet: add support for Celleb
This patch adds or changes some HW specific settings for spider_net on Celleb. Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp> Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r--drivers/net/spider_net.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index fef455694d7a..5368e2797418 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -1,7 +1,8 @@
1/* 1/*
2 * Network device driver for Cell Processor-Based Blade 2 * Network device driver for Cell Processor-Based Blade and Celleb platform
3 * 3 *
4 * (C) Copyright IBM Corp. 2005 4 * (C) Copyright IBM Corp. 2005
5 * (C) Copyright 2006 TOSHIBA CORPORATION
5 * 6 *
6 * Authors : Utz Bacher <utz.bacher@de.ibm.com> 7 * Authors : Utz Bacher <utz.bacher@de.ibm.com>
7 * Jens Osterkamp <Jens.Osterkamp@de.ibm.com> 8 * Jens Osterkamp <Jens.Osterkamp@de.ibm.com>
@@ -1605,6 +1606,11 @@ spider_net_init_card(struct spider_net_card *card)
1605 1606
1606 spider_net_write_reg(card, SPIDER_NET_CKRCTRL, 1607 spider_net_write_reg(card, SPIDER_NET_CKRCTRL,
1607 SPIDER_NET_CKRCTRL_RUN_VALUE); 1608 SPIDER_NET_CKRCTRL_RUN_VALUE);
1609
1610 /* trigger ETOMOD signal */
1611 spider_net_write_reg(card, SPIDER_NET_GMACOPEMD,
1612 spider_net_read_reg(card, SPIDER_NET_GMACOPEMD) | 0x4);
1613
1608} 1614}
1609 1615
1610/** 1616/**