]> rtime.felk.cvut.cz Git - lincan.git/commitdiff
Merge branch 'master' into can-usb1
authorppisa <pisa@cmp.felk.cvut.cz>
Tue, 11 Nov 2008 12:06:22 +0000 (13:06 +0100)
committerppisa <pisa@cmp.felk.cvut.cz>
Tue, 11 Nov 2008 12:06:22 +0000 (13:06 +0100)
1  2 
lincan/src/Makefile.omk
lincan/src/boardlist.c

diff --combined lincan/src/Makefile.omk
index 72d28119624a903bb4a65fe81623fd214ee3a7a6,2d80d9a717c87b7682785402a9bf25b759f25046..29e0ba4da2dcfdd5fa2163130756654faf83eb61
@@@ -1,8 -1,8 +1,8 @@@
  lincan_cards_NAMES = pip pccan smartcan nsi cc_can104 ems_cpcpci \
                pc_i03 pcm3680 aim104 m437 pcccan ssv bfadcan gensja1000io pikronisa eb8245 \
 -              kv_pcican msmcan oscar adlink7841 pcan_pci esdpci200 unican virtual template
 +              kv_pcican msmcan oscar adlink7841 pcan_pci esdpci200 unican usbcan virtual template
  
- lincan_morecards_NAMES = hms30c7202_can ns_dev_can ipci165 pimx1 tscan1 nsi_canpci sh7760
+ lincan_morecards_NAMES = hms30c7202_can ns_dev_can ipci165 pimx1 tscan1 ts7kv nsi_canpci sh7760
  
  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
@@@ -37,10 -37,6 +37,10 @@@ ifeq ($(CONFIG_OC_LINCAN_CARD_sh7760),y
  lincan_cards_SOURCES += sh7760.c
  endif
  
 +ifeq ($(CONFIG_OC_LINCAN_CARD_usbcan),y)
 +lincan_cards_SOURCES += kthread.c
 +endif
 +
  ifneq ($(filter hms30c7202_can ns_dev_can,$(lincan_cards_SELECTED)),)
  $(warning Not finished C_CAN support requested)
  lincan_cards_SOURCES += c_can.c c_can_irq.c
diff --combined lincan/src/boardlist.c
index 0c2696ac64fea3df7acfe564e80c4ab68894188d,86f332ed878c374fd4895d4e1eeb3633d0ee558d..d7cf342df4f9da82ac5228751decd034e17eda7f
@@@ -41,11 -41,11 +41,12 @@@ extern int pcan_dongle_register(struct 
  extern int eb8245_register(struct hwspecops_t *hwspecops);
  extern int adlink7841_register(struct hwspecops_t *hwspecops);
  extern int tscan1_register(struct hwspecops_t *hwspecops);
+ extern int tscan1mmio_register(struct hwspecops_t *hwspecops);
  extern int ts7kv_register(struct hwspecops_t *hwspecops);
  extern int ns_dev_register(struct hwspecops_t *hwspecops);
  extern int hms30c7202_register(struct hwspecops_t *hwspecops);
  extern int nsi_canpci_register(struct hwspecops_t *hwspecops);
 +extern int usbcan_register(struct hwspecops_t *hwspecops);
  extern int pcan_pci_register(struct hwspecops_t *hwspecops);
  extern int esdpci200_register(struct hwspecops_t *hwspecops);
  extern int sh7760_register(struct hwspecops_t *hwspecops);
@@@ -148,6 -148,9 +149,9 @@@ const struct boardtype_t can_boardtypes
      #endif
      #if defined(CONFIG_OC_LINCAN_CARD_tscan1)
        {"tscan1", tscan1_register, 1},
+       {"tscan1mmio", tscan1mmio_register, 1},
+     #endif
+     #if defined(CONFIG_OC_LINCAN_CARD_ts7kv)
        {"ts7kv",  ts7kv_register, 1},
      #endif
      #if defined(CONFIG_OC_LINCAN_CARD_ns_dev_can)
      #endif
      #if defined(CONFIG_OC_LINCAN_CARD_pcan_pci)&&defined(CAN_ENABLE_PCI_SUPPORT)
        {"pcan_pci", pcan_pci_register, 0},
 +    #endif
 +    #if defined(CONFIG_OC_LINCAN_CARD_usbcan)
 +      {"usbcan", usbcan_register, 0},
      #endif
        {NULL}
  };