Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/in.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/hdlc.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <asm/io.h>
#include "hd64572.h"
#include "hd64572.c"
Go to the source code of this file.
Data Structures | |
struct | plx9050 |
struct | port_s |
struct | card_s |
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | DEBUG_RINGS |
#define | PC300_PLX_SIZE 0x80 /* PLX control window size (128 B) */ |
#define | PC300_SCA_SIZE 0x400 /* SCA window size (1 KB) */ |
#define | MAX_TX_BUFFERS 10 |
#define | PC300_CLKSEL_MASK (0x00000004UL) |
#define | PC300_CHMEDIA_MASK(port) (0x00000020UL << ((port) * 3)) |
#define | PC300_CTYPE_MASK (0x00000800UL) |
#define | get_port(card, port) |
Typedefs | |
typedef struct port_s | port_t |
typedef struct card_s | card_t |
Enumerations | |
enum | { PC300_RSV = 1, PC300_X21, PC300_TE } |
Functions | |
MODULE_AUTHOR ("Krzysztof Halasa <khc@pm.waw.pl>") | |
MODULE_DESCRIPTION ("Cyclades PC300 serial port driver") | |
MODULE_LICENSE ("GPL v2") | |
MODULE_DEVICE_TABLE (pci, pc300_pci_tbl) | |
module_param (pci_clock_freq, int, 0444) | |
MODULE_PARM_DESC (pci_clock_freq,"System PCI clock frequency in Hz") | |
module_param (use_crystal_clock, int, 0444) | |
MODULE_PARM_DESC (use_crystal_clock,"Use 24.576 MHz clock instead of PCI clock") | |
module_init (pc300_init_module) | |
module_exit (pc300_cleanup_module) | |
#define DEBUG_RINGS |
Definition at line 43 of file pc300too.c.
#define MAX_TX_BUFFERS 10 |
Definition at line 47 of file pc300too.c.
#define PC300_CHMEDIA_MASK | ( | port | ) | (0x00000020UL << ((port) * 3)) |
Definition at line 55 of file pc300too.c.
#define PC300_CLKSEL_MASK (0x00000004UL) |
Definition at line 54 of file pc300too.c.
#define PC300_CTYPE_MASK (0x00000800UL) |
Definition at line 56 of file pc300too.c.
#define PC300_PLX_SIZE 0x80 /* PLX control window size (128 B) */ |
Definition at line 45 of file pc300too.c.
#define PC300_SCA_SIZE 0x400 /* SCA window size (1 KB) */ |
Definition at line 46 of file pc300too.c.
Definition at line 20 of file pc300too.c.
anonymous enum |
Definition at line 59 of file pc300too.c.
MODULE_AUTHOR | ( | "Krzysztof Halasa <khc@pm.waw.pl>" | ) |
MODULE_DEVICE_TABLE | ( | pci | , |
pc300_pci_tbl | |||
) |
module_exit | ( | pc300_cleanup_module | ) |
module_init | ( | pc300_init_module | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_param | ( | pci_clock_freq | , |
int | , | ||
0444 | |||
) |
module_param | ( | use_crystal_clock | , |
int | , | ||
0444 | |||
) |