Added option for VME bus support
authorwentasah <wentasah>
Tue, 27 Apr 2004 16:56:55 +0000 (16:56 +0000)
committerwentasah <wentasah>
Tue, 27 Apr 2004 16:56:55 +0000 (16:56 +0000)
lincan/include/can_sysdep.h
lincan/src/Makefile.omk

index f8499d1..7117044 100644 (file)
@@ -33,7 +33,7 @@
 #ifdef CONFIG_PCI
 #define CAN_ENABLE_PCI_SUPPORT
 #endif
 #ifdef CONFIG_PCI
 #define CAN_ENABLE_PCI_SUPPORT
 #endif
-#ifdef CONFIG_VME_some_option_there
+#ifdef CONFIG_OC_LINCAN_VME
 #define CAN_ENABLE_VME_SUPPORT
 #endif
 #endif
 #define CAN_ENABLE_VME_SUPPORT
 #endif
 #endif
index c130e33..553c73c 100644 (file)
@@ -2,7 +2,7 @@ lincan_cards_NAMES = pip pccan smartcan nsi cc_can104 \
                pc_i03 pcm3680 aim104 m437 pcccan ssv \
                bfadcan pikronisa kv_pcican msmcan unican virtual template
 
                pc_i03 pcm3680 aim104 m437 pcccan ssv \
                bfadcan pikronisa kv_pcican msmcan unican virtual template
 
-default_CONFIG = CONFIG_OC_LINCAN=y CONFIG_OC_LINCANRTL=n
+default_CONFIG = CONFIG_OC_LINCAN=y CONFIG_OC_LINCANRTL=n CONFIG_OC_LINCANVME=n
 default_CONFIG += CONFIG_OC_LINCAN_PORTIO_ONLY=n CONFIG_OC_LINCAN_MEMIO_ONLY=n
 default_CONFIG += $(foreach n, $(lincan_cards_NAMES), CONFIG_OC_LINCAN_CARD_$(n)=y)
 
 default_CONFIG += CONFIG_OC_LINCAN_PORTIO_ONLY=n CONFIG_OC_LINCAN_MEMIO_ONLY=n
 default_CONFIG += $(foreach n, $(lincan_cards_NAMES), CONFIG_OC_LINCAN_CARD_$(n)=y)
 
@@ -16,8 +16,8 @@ LOCAL_CONFIG_H = lincan_config.h
 ifeq ($(CONFIG_OC_LINCAN),y)
 
 rtlinux_INCLUDES = -I $(srcdir)/../include -I .
 ifeq ($(CONFIG_OC_LINCAN),y)
 
 rtlinux_INCLUDES = -I $(srcdir)/../include -I .
-kernel_INCLUDES = -I $(srcdir)/../include -I .
-#kernel_INCLUDES += -DCAN_DEBUG
+kernel_INCLUDES = -I $(srcdir)/../include -I . -g
+kernel_INCLUDES += -DCAN_DEBUG
 kernel_INCLUDES += -DWITH_DEVFS_FS
 
 lincan_cards_SOURCES = $(lincan_cards_SELECTED:%=%.c)
 kernel_INCLUDES += -DWITH_DEVFS_FS
 
 lincan_cards_SOURCES = $(lincan_cards_SELECTED:%=%.c)