Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2003-10-16 11:10:28 -0700
committerStephen Hemminger <shemminger@osdl.org>2003-10-16 11:10:28 -0700
commit6e61d0d3fdf7b3a3f3cca88085b276174785b0f8 (patch)
treee743a19db2d6915051fb43ce276e51d0bb094920
parent754f80fb5810dc2c3878df22aa88404c113e7dce (diff)
[ATM]: sdh should be off by default.
-rw-r--r--drivers/atm/he.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index 253775c1019f..91cb2893aad9 100644
--- a/drivers/atm/he.c
+++ b/drivers/atm/he.c
@@ -157,7 +157,7 @@ static short nvpibits = -1;
static short nvcibits = -1;
static short rx_skb_reserve = 16;
static short irq_coalesce = 1;
-static short sdh = 1;
+static short sdh = 0;
static struct atmdev_ops he_ops =
{
@@ -1547,11 +1547,10 @@ he_start(struct atm_dev *dev)
if (sdh) {
/* this really should be in suni.c but for now... */
-
int val;
val = he_phy_get(he_dev->atm_dev, SUNI_TPOP_APM);
- val = (val & ~SUNI_TPOP_APM_S) | ( 0x2 << SUNI_TPOP_APM_S_SHIFT);
+ val = (val & ~SUNI_TPOP_APM_S) | (SUNI_TPOP_S_SDH << SUNI_TPOP_APM_S_SHIFT);
he_phy_put(he_dev->atm_dev, val, SUNI_TPOP_APM);
}