#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <linux/arcdevice.h>
Go to the source code of this file.
|
| | module_param (io, int, 0) |
| |
| | module_param (irq, int, 0) |
| |
| | module_param (shmem, int, 0) |
| |
| | module_param_string (device, device, sizeof(device), 0) |
| |
| | MODULE_LICENSE ("GPL") |
| |
| | module_init (com90xx_init) |
| |
| | module_exit (com90xx_exit) |
| |
| | __setup ("com90xx=", com90xx_setup) |
| |
| #define _ADDR_LO (ioaddr+14) |
| #define _COMMAND (ioaddr+1) /* writable, returns random vals on read (?) */ |
| #define _INTMASK (ioaddr+0) /* writable */ |
| #define _STATUS (ioaddr+0) /* readable */ |
| #define ARCNET_TOTAL_SIZE 16 |
| #define BUFFER_SIZE (512) |
| module_exit |
( |
com90xx_exit |
| ) |
|
| module_init |
( |
com90xx_init |
| ) |
|
| module_param |
( |
io |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
| module_param |
( |
irq |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
| module_param |
( |
shmem |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |