diff options
author | Chas Williams <chas@cmf.nrl.navy.mil> | 2008-06-16 17:17:31 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-16 17:17:31 -0700 |
commit | 059e3779b59527150e1d1942026ec149192cbf77 (patch) | |
tree | ff3ee9a9f7c5cfdb948863cd3e5c48e0a5063ae0 /drivers/atm/he.c | |
parent | d6c1d704ab5d2e13bebb096e415156a9c54a3d32 (diff) | |
download | linux-059e3779b59527150e1d1942026ec149192cbf77.tar.bz2 |
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.c | 3 |
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 */ |