summaryrefslogtreecommitdiffstats
path: root/drivers/atm/he.c
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2008-06-16 17:17:31 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-16 17:17:31 -0700
commit059e3779b59527150e1d1942026ec149192cbf77 (patch)
treeff3ee9a9f7c5cfdb948863cd3e5c48e0a5063ae0 /drivers/atm/he.c
parentd6c1d704ab5d2e13bebb096e415156a9c54a3d32 (diff)
downloadlinux-059e3779b59527150e1d1942026ec149192cbf77.tar.gz
linux-059e3779b59527150e1d1942026ec149192cbf77.tar.bz2
linux-059e3779b59527150e1d1942026ec149192cbf77.zip
atm: [he] only support suni driver on multimode interfaces
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/he.c')
-rw-r--r--drivers/atm/he.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/atm/he.c b/drivers/atm/he.c
index ffc4a5a41946..320320e3dfb3 100644
--- a/drivers/atm/he.c
+++ b/drivers/atm/he.c
@@ -1542,7 +1542,8 @@ he_start(struct atm_dev *dev)
/* initialize framer */
#ifdef CONFIG_ATM_HE_USE_SUNI
- suni_init(he_dev->atm_dev);
+ if (he_isMM(he_dev))
+ suni_init(he_dev->atm_dev);
if (he_dev->atm_dev->phy && he_dev->atm_dev->phy->start)
he_dev->atm_dev->phy->start(he_dev->atm_dev);
#endif /* CONFIG_ATM_HE_USE_SUNI */