patch-2.3.43 linux/drivers/atm/Makefile

Next file: linux/drivers/atm/ambassador.c
Previous file: linux/drivers/atm/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/drivers/atm/Makefile linux/drivers/atm/Makefile
@@ -34,21 +34,23 @@
 L_OBJS += tneta1570.o suni.o
 endif
 
-ifeq ($(CONFIG_ATM_FORE200),y)
-L_OBJS += fore200.o
-endif
-
 ifeq ($(CONFIG_ATM_NICSTAR),y)
 L_OBJS += nicstar.o
   ifeq ($(CONFIG_ATM_NICSTAR_USE_SUNI),y)
   NEED_SUNI_LX = suni.o
   endif
+  ifeq ($(CONFIG_ATM_NICSTAR_USE_IDT77105),y)
+  NEED_IDT77105_LX = idt77105.o
+  endif
 else
   ifeq ($(CONFIG_ATM_NICSTAR),m)
   M_OBJS += nicstar.o
     ifeq ($(CONFIG_ATM_NICSTAR_USE_SUNI),y)
     NEED_SUNI_MX = suni.o
     endif
+    ifeq ($(CONFIG_ATM_NICSTAR_USE_IDT77105),y)
+    NEED_SUNI_MX = idt77105.o
+    endif
   endif
 endif
 
@@ -68,18 +70,34 @@
   endif
 endif
 
+ifeq ($(CONFIG_ATM_TCP),y)
+L_OBJS += atmtcp.o
+else
+  ifeq ($(CONFIG_ATM_TCP),m)
+  M_OBJS += atmtcp.o
+  endif
+endif
+
+ifeq ($(CONFIG_ATM_IA),y)
+L_OBJS += iphase.o
+NEED_SUNI_LX = suni.o
+else
+ifeq ($(CONFIG_ATM_IA),m)
+  M_OBJS += iphase.o
+  NEED_SUNI_MX = suni.o
+  endif
+endif
+
 ifeq ($(NEED_SUNI_LX),)
   MX_OBJS += $(NEED_SUNI_MX)
 else
   LX_OBJS += $(NEED_SUNI_LX)
 endif
 
-ifeq ($(CONFIG_ATM_TCP),y)
-L_OBJS += atmtcp.o
+ifeq ($(NEED_IDT77105_LX),)
+  MX_OBJS += $(NEED_IDT77105_MX)
 else
-  ifeq ($(CONFIG_ATM_TCP),m)
-  M_OBJS += atmtcp.o
-  endif
+  LX_OBJS += $(NEED_IDT77105_LX)
 endif
 
 EXTRA_CFLAGS=-g

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)