- FILES:= \
- $(LINUX_DIR)/drivers/net/tulip/tulip.ko \
- $(LINUX_DIR)/drivers/net/tulip/de2104x.ko \
- $(LINUX_DIR)/drivers/net/tulip/de4x5.ko \
- $(LINUX_DIR)/drivers/net/tulip/dmfe.ko \
- $(LINUX_DIR)/drivers/net/tulip/uli526x.ko \
- $(LINUX_DIR)/drivers/net/tulip/winbond-840.ko
+ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
+ FILES:= \
+ $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/tulip.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de2104x.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de4x5.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/dmfe.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/uli526x.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/winbond-840.ko
+ else
+ FILES:= \
+ $(LINUX_DIR)/drivers/net/tulip/tulip.ko \
+ $(LINUX_DIR)/drivers/net/tulip/de2104x.ko \
+ $(LINUX_DIR)/drivers/net/tulip/de4x5.ko \
+ $(LINUX_DIR)/drivers/net/tulip/dmfe.ko \
+ $(LINUX_DIR)/drivers/net/tulip/uli526x.ko \
+ $(LINUX_DIR)/drivers/net/tulip/winbond-840.ko
+ endif