devices/ccat/module.h
branchstable-1.5
changeset 2638 5995331a55fe
parent 2636 0613017547fe
child 2654 b3f6b3e5ef29
equal deleted inserted replaced
2637:1d9be5716dee 2638:5995331a55fe
    27 #include <linux/kernel.h>
    27 #include <linux/kernel.h>
    28 #include <linux/pci.h>
    28 #include <linux/pci.h>
    29 #include "../ecdev.h"
    29 #include "../ecdev.h"
    30 
    30 
    31 #define DRV_EXTRAVERSION "-ec"
    31 #define DRV_EXTRAVERSION "-ec"
    32 #define DRV_VERSION      "0.13" DRV_EXTRAVERSION
    32 #define DRV_VERSION      "0.14" DRV_EXTRAVERSION
    33 #define DRV_DESCRIPTION  "Beckhoff CCAT Ethernet/EtherCAT Network Driver"
    33 #define DRV_DESCRIPTION  "Beckhoff CCAT Ethernet/EtherCAT Network Driver"
    34 
    34 
    35 #undef pr_fmt
    35 #undef pr_fmt
    36 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
    36 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
    37 
    37 
    38 extern struct ccat_driver eth_eim_driver;
    38 extern const struct ccat_driver eth_eim_driver;
    39 extern struct ccat_driver eth_dma_driver;
    39 extern const struct ccat_driver eth_dma_driver;
    40 extern struct ccat_driver gpio_driver;
    40 extern const struct ccat_driver gpio_driver;
    41 extern struct ccat_driver sram_driver;
    41 extern const struct ccat_driver sram_driver;
    42 extern struct ccat_driver update_driver;
    42 extern const struct ccat_driver update_driver;
    43 
    43 
    44 /**
    44 /**
    45  * CCAT function type identifiers (u16)
    45  * CCAT function type identifiers (u16)
    46  */
    46  */
    47 enum ccat_info_t {
    47 enum ccat_info_t {