]> rtime.felk.cvut.cz Git - lincan.git/commit
TS-CAN1 and TS-7KV support separated and updated. Needs testing. sf-ocera-lincan/HEAD sf-ocera-lincan/master
authorppisa <ppisa>
Sun, 9 Nov 2008 13:24:07 +0000 (13:24 +0000)
committerppisa <ppisa>
Sun, 9 Nov 2008 13:24:07 +0000 (13:24 +0000)
commit5f3731f0f3ee5b9b2b7e475a01cca9411ba27415
tree1d3b0fc248680c9982040b55d18746865c519d04
parent8d06c4e166846c170775c086d1565a0e281d6dbc
TS-CAN1 and TS-7KV support separated and updated. Needs testing.

The "tscan1" and "ts7kv" board support shares minimal amount of functions.
The "ts7kv" support is moved to separate file now and is inclussion
into final build is controlled by separate option from "config.omk" file

  CONFIG_OC_LINCAN_CARD_tscan1=y
  CONFIG_OC_LINCAN_CARD_ts7kv=y

The both sources share "tsxxx_base" module parameter still
but solution is not elegant and use of different parameter
names is considered.

The "tscan1" seems to be used in MM I/O configurations on arm.
The the "tscan1mmio" hardware options has been included,
but there should be used ioremap() for MM I/O case.
But code found at Technologic Systems doesnot use it
 ftp://ftp.embeddedarm.com/pc104-peripherals/ts-can1/ts-7800-linuxr26/ocera-lincan-src.tar.gz
so I have not changed it.

The "ts7kv" is still I/O based only. May it be, that best
and simplest solution is to compile it with can_inb/can_outb
for x86 and with can_reab/can_writeb for ARM.

The code requires testing before prepared release.
lincan/include/ts7kv.h [new file with mode: 0644]
lincan/include/tscan1.h
lincan/src/Makefile.omk
lincan/src/boardlist.c
lincan/src/ts7kv.c [new file with mode: 0644]
lincan/src/tscan1.c