CAN support for TS_CAN1 (Technologic Systems)
I am testing CAN using a TS_CAN1 PC-104 card on an x86 Nano-7240. It appears that none of the existing SJA1000 drivers support this hardware so I created a new driver module from rtcan_isa.c and modified it to work with the TS_CAN1 hardware. I am working with linux-2.6.27.7 and xenomai-2.4.6.1 and have added the new source module rtcan_tscan1.c to the ksrc/drivers/can/sja1000 directory. When I rerun prepare-kernel.sh it creates the link for the new module in the linux kernel source tree, but there is no checkbox in the kernel configuration.
How do I add the new module to the kernel configuration options?
--John
Quoted 3 lines · John
I am testing CAN using a
TS_CAN1PC-104 card on an x86 Nano-7240. It appears that none of the existing SJA1000 drivers support this hardware so I created a new driver module fromrtcan_isa.cand modified it to work with theTS_CAN1hardware. I am working with linux-2.6.27.7 and xenomai-2.4.6.1 and have added the new source modulertcan_tscan1.cto the ksrc/drivers/can/sja1000 directory. When I rerunprepare-kernel.shit creates the link for the new module in the linux kernel source tree, but there is no checkbox in the kernel configuration.How do I add the new module to the kernel configuration options?
You need to add Kconfig options to
http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/drivers/can/sja1000/Kconfig
Wolfgang,
Thank you. That got it into the linux kernel config. I also had to edit the xenomai Makefile in ksrc/drivers/can/sja1000 to get the new module to build and install.
--John
-----Original Message-----
From: Wolfgang Grandegger [mailto:[email protected]]
Sent: Thursday, January 01, 2009 3:41 AM
To: Charlton, John
Cc: [email protected]
Subject: Re: [Xenomai-help] CAN support for TS_CAN1 (Technologic Systems)
Quoted 3 lines · John
I am testing CAN using a
TS_CAN1PC-104 card on an x86 Nano-7240. It appears that none of the existing SJA1000 drivers support this hardware so I created a new driver module fromrtcan_isa.cand modified it to work with theTS_CAN1hardware. I am working with linux-2.6.27.7 and xenomai-2.4.6.1 and have added the new source modulertcan_tscan1.cto the ksrc/drivers/can/sja1000 directory. When I rerunprepare-kernel.shit creates the link for the new module in the linux kernel source tree, but there is no checkbox in the kernel configuration.How do I add the new module to the kernel configuration options?
You need to add Kconfig options to
http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/drivers/can/sja1000/Kconfig
Wolfgang,