Skip to contentSkip to conversation

CAN support for TS_CAN1 (Technologic Systems)

Xenomai-help Charlton, John 2 participants 3 messages Dec 31, 2008 – Jan 5, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · John

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?

You need to add Kconfig options to

http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/drivers/can/sja1000/Kconfig

Wolfgang,

#2 lore raw

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_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?

You need to add Kconfig options to

http://www.rts.uni-hannover.de/xenomai/lxr/source/ksrc/drivers/can/sja1000/Kconfig

Wolfgang,