]> rtime.felk.cvut.cz Git - lincan.git/commitdiff
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)
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.


No differences found