Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/bootmem.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/io.h>
#include <linux/arcdevice.h>
Go to the source code of this file.
Macros | |
#define | VERSION "arcnet: RIM I (entirely mem-mapped) support\n" |
#define | BUFFER_SIZE (512) |
#define | MIRROR_SIZE (BUFFER_SIZE*4) |
#define | _INTMASK (ioaddr+0) /* writable */ |
#define | _STATUS (ioaddr+0) /* readable */ |
#define | _COMMAND (ioaddr+1) /* writable, returns random vals on read (?) */ |
#define | _RESET (ioaddr+8) /* software reset (on read) */ |
#define | _MEMDATA (ioaddr+12) /* Data port for IO-mapped memory */ |
#define | _ADDR_HI (ioaddr+15) /* Control registers for said */ |
#define | _ADDR_LO (ioaddr+14) |
#define | _CONFIG (ioaddr+2) /* Configuration register */ |
#define | ASTATUS() readb(_STATUS) |
#define | ACOMMAND(cmd) writeb((cmd),_COMMAND) |
#define | AINTMASK(msk) writeb((msk),_INTMASK) |
#define | SETCONF() writeb(lp->config,_CONFIG) |
Functions | |
module_param (node, int, 0) | |
module_param (io, int, 0) | |
module_param (irq, int, 0) | |
module_param_string (device, device, sizeof(device), 0) | |
MODULE_LICENSE ("GPL") | |
__setup ("arcrimi=", arcrimi_setup) | |
Definition at line 68 of file arc-rimi.c.
#define _ADDR_LO (ioaddr+14) |
Definition at line 69 of file arc-rimi.c.
Definition at line 65 of file arc-rimi.c.
#define _CONFIG (ioaddr+2) /* Configuration register */ |
Definition at line 70 of file arc-rimi.c.
#define _INTMASK (ioaddr+0) /* writable */ |
Definition at line 63 of file arc-rimi.c.
Definition at line 67 of file arc-rimi.c.
Definition at line 66 of file arc-rimi.c.
#define _STATUS (ioaddr+0) /* readable */ |
Definition at line 64 of file arc-rimi.c.
Definition at line 76 of file arc-rimi.c.
#define BUFFER_SIZE (512) |
Definition at line 59 of file arc-rimi.c.
#define MIRROR_SIZE (BUFFER_SIZE*4) |
Definition at line 60 of file arc-rimi.c.
Definition at line 40 of file arc-rimi.c.
__setup | ( | ) |
MODULE_LICENSE | ( | "GPL" | ) |