|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/kernel.h>#include <linux/capability.h>#include <linux/slab.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 | plx9052 |
| struct | port_s |
| struct | card_s |
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | DEBUG_RINGS |
| #define | PCI200SYN_PLX_SIZE 0x80 /* PLX control window size (128b) */ |
| #define | PCI200SYN_SCA_SIZE 0x400 /* SCA window size (1Kb) */ |
| #define | MAX_TX_BUFFERS 10 |
| #define | CLOCK_BASE pci_clock_freq |
| #define | get_port(card, port) (&card->ports[port]) |
| #define | sca_flush(card) (sca_in(IER0, card)); |
| #define | memcpy_toio new_memcpy_toio |
Typedefs | |
| typedef struct port_s | port_t |
| typedef struct card_s | card_t |
Functions | |
| MODULE_AUTHOR ("Krzysztof Halasa <khc@pm.waw.pl>") | |
| MODULE_DESCRIPTION ("Goramo PCI200SYN serial port driver") | |
| MODULE_LICENSE ("GPL v2") | |
| MODULE_DEVICE_TABLE (pci, pci200_pci_tbl) | |
| module_param (pci_clock_freq, int, 0444) | |
| MODULE_PARM_DESC (pci_clock_freq,"System PCI clock frequency in Hz") | |
| module_init (pci200_init_module) | |
| module_exit (pci200_cleanup_module) | |
| #define CLOCK_BASE pci_clock_freq |
Definition at line 47 of file pci200syn.c.
| #define DEBUG_RINGS |
Definition at line 40 of file pci200syn.c.
| #define MAX_TX_BUFFERS 10 |
Definition at line 44 of file pci200syn.c.
| #define memcpy_toio new_memcpy_toio |
Definition at line 115 of file pci200syn.c.
| #define PCI200SYN_PLX_SIZE 0x80 /* PLX control window size (128b) */ |
Definition at line 42 of file pci200syn.c.
| #define PCI200SYN_SCA_SIZE 0x400 /* SCA window size (1Kb) */ |
Definition at line 43 of file pci200syn.c.
Definition at line 17 of file pci200syn.c.
| MODULE_AUTHOR | ( | "Krzysztof Halasa <khc@pm.waw.pl>" | ) |
| MODULE_DEVICE_TABLE | ( | pci | , |
| pci200_pci_tbl | |||
| ) |
| module_exit | ( | pci200_cleanup_module | ) |
| module_init | ( | pci200_init_module | ) |
| MODULE_LICENSE | ( | "GPL v2" | ) |
| module_param | ( | pci_clock_freq | , |
| int | , | ||
| 0444 | |||
| ) |
1.8.2