From 6e61d0d3fdf7b3a3f3cca88085b276174785b0f8 Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Thu, 16 Oct 2003 11:10:28 -0700 Subject: [PATCH] [ATM]: sdh should be off by default. --- drivers/atm/he.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 253775c1019fe..91cb2893aad9e 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); } -- 2.53.0