#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/io.h>
#include "softing.h"
Go to the source code of this file.
|
int | softing_netdev_rx (struct net_device *netdev, const struct can_frame *msg, ktime_t ktime) |
|
int | softing_enable_irq (struct softing *card, int enable) |
|
| DEV_ATTR_RO (serial, id.serial) |
|
| DEV_ATTR_RO_STR (firmware, pdat->app.fw) |
|
| DEV_ATTR_RO (firmware_version, id.fw_version) |
|
| DEV_ATTR_RO_STR (hardware, pdat->name) |
|
| DEV_ATTR_RO (hardware_version, id.hw_version) |
|
| DEV_ATTR_RO (license, id.license) |
|
| DEV_ATTR_RO (frequency, id.freq) |
|
| DEV_ATTR_RO (txpending, tx.pending) |
|
| module_platform_driver (softing_driver) |
|
| MODULE_ALIAS ("platform:softing") |
|
| MODULE_DESCRIPTION ("Softing DPRAM CAN driver") |
|
| MODULE_AUTHOR ("Kurt Van Dijck <[email protected]>") |
|
| MODULE_LICENSE ("GPL v2") |
|
#define DEV_ATTR_RO |
( |
|
name, |
|
|
|
member |
|
) |
| |
#define DEV_ATTR_RO_STR |
( |
|
name, |
|
|
|
member |
|
) |
| |
#define TX_ECHO_SKB_MAX (((TXMAX+1)/2)-1) |
DEV_ATTR_RO |
( |
serial |
, |
|
|
id. |
serial |
|
) |
| |
DEV_ATTR_RO |
( |
license |
, |
|
|
id. |
license |
|
) |
| |
DEV_ATTR_RO |
( |
txpending |
, |
|
|
tx. |
pending |
|
) |
| |
DEV_ATTR_RO_STR |
( |
firmware |
, |
|
|
pdat->app. |
fw |
|
) |
| |
DEV_ATTR_RO_STR |
( |
hardware |
, |
|
|
pdat-> |
name |
|
) |
| |
MODULE_ALIAS |
( |
"platform:softing" |
| ) |
|
MODULE_DESCRIPTION |
( |
"Softing DPRAM CAN driver" |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_platform_driver |
( |
softing_driver |
| ) |
|