]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/atm/he.c
atm: [he] only support suni driver on multimode interfaces
[linux-2.6-omap-h63xx.git] / drivers / atm / he.c
index ffc4a5a419465da6e749a084926b21c69fc2a50b..320320e3dfb35d87d347f74b47889c3d79885916 100644 (file)
@@ -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 */