Commit 6e61d0d3 authored by Chas Williams's avatar Chas Williams Committed by Stephen Hemminger

[ATM]: sdh should be off by default.

parent 754f80fb
...@@ -157,7 +157,7 @@ static short nvpibits = -1; ...@@ -157,7 +157,7 @@ static short nvpibits = -1;
static short nvcibits = -1; static short nvcibits = -1;
static short rx_skb_reserve = 16; static short rx_skb_reserve = 16;
static short irq_coalesce = 1; static short irq_coalesce = 1;
static short sdh = 1; static short sdh = 0;
static struct atmdev_ops he_ops = static struct atmdev_ops he_ops =
{ {
...@@ -1547,11 +1547,10 @@ he_start(struct atm_dev *dev) ...@@ -1547,11 +1547,10 @@ he_start(struct atm_dev *dev)
if (sdh) { if (sdh) {
/* this really should be in suni.c but for now... */ /* this really should be in suni.c but for now... */
int val; int val;
val = he_phy_get(he_dev->atm_dev, SUNI_TPOP_APM); 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); he_phy_put(he_dev->atm_dev, val, SUNI_TPOP_APM);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment