|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/module.h>#include <linux/interrupt.h>#include <linux/netdevice.h>#include <linux/delay.h>#include <linux/io.h>#include <linux/can/dev.h>#include <linux/of_platform.h>#include <asm/prom.h>#include "sja1000.h"Go to the source code of this file.
Macros | |
| #define | DRV_NAME "sja1000_of_platform" |
| #define | SJA1000_OFP_CAN_CLOCK (16000000 / 2) |
| #define | SJA1000_OFP_OCR OCR_TX0_PULLDOWN |
| #define | SJA1000_OFP_CDR (CDR_CBP | CDR_CLK_OFF) |
Functions | |
| MODULE_AUTHOR ("Wolfgang Grandegger <[email protected]>") | |
| MODULE_DESCRIPTION ("Socket-CAN driver for SJA1000 on the OF platform bus") | |
| MODULE_LICENSE ("GPL v2") | |
| MODULE_DEVICE_TABLE (of, sja1000_ofp_table) | |
| module_platform_driver (sja1000_ofp_driver) | |
| #define DRV_NAME "sja1000_of_platform" |
Definition at line 49 of file sja1000_of_platform.c.
| #define SJA1000_OFP_CAN_CLOCK (16000000 / 2) |
Definition at line 55 of file sja1000_of_platform.c.
| #define SJA1000_OFP_CDR (CDR_CBP | CDR_CLK_OFF) |
Definition at line 58 of file sja1000_of_platform.c.
| #define SJA1000_OFP_OCR OCR_TX0_PULLDOWN |
Definition at line 57 of file sja1000_of_platform.c.
| MODULE_AUTHOR | ( | "Wolfgang Grandegger <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | of | , |
| sja1000_ofp_table | |||
| ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
| module_platform_driver | ( | sja1000_ofp_driver | ) |
1.8.2