Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/eisa.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <asm/io.h>
#include "8390.h"
Go to the source code of this file.
Macros | |
#define | DRV_NAME "smc-ultra32" |
#define | ULTRA32_CMDREG 0 /* Offset to ASIC command register. */ |
#define | ULTRA32_RESET 0x80 /* Board reset, in ULTRA32_CMDREG. */ |
#define | ULTRA32_MEMENB 0x40 /* Enable the shared memory. */ |
#define | ULTRA32_NIC_OFFSET 16 /* NIC register offset from the base_addr. */ |
#define | ULTRA32_IO_EXTENT 32 |
#define | EN0_ERWCNT 0x08 /* Early receive warning count. */ |
#define | ULTRA32_BASE 0xca0 |
#define | ULTRA32_ID 0x1080a34d |
#define | ULTRA32_IDPORT (-0x20) /* 0xc80 */ |
#define | ULTRA32_CFG1 0x04 /* 0xca4 */ |
#define | ULTRA32_CFG2 0x05 /* 0xca5 */ |
#define | ULTRA32_CFG3 (-0x18) /* 0xc88 */ |
#define | ULTRA32_CFG4 (-0x17) /* 0xc89 */ |
#define | ULTRA32_CFG5 (-0x16) /* 0xc8a */ |
#define | ULTRA32_CFG6 (-0x15) /* 0xc8b */ |
#define | ULTRA32_CFG7 0x0d /* 0xcad */ |
Functions | |
struct net_device *__init | ultra32_probe (int unit) |
#define DRV_NAME "smc-ultra32" |
Definition at line 63 of file smc-ultra32.c.
#define EN0_ERWCNT 0x08 /* Early receive warning count. */ |
Definition at line 82 of file smc-ultra32.c.
#define ULTRA32_BASE 0xca0 |
Definition at line 89 of file smc-ultra32.c.
#define ULTRA32_CFG1 0x04 /* 0xca4 */ |
Definition at line 93 of file smc-ultra32.c.
#define ULTRA32_CFG2 0x05 /* 0xca5 */ |
Definition at line 94 of file smc-ultra32.c.
#define ULTRA32_CFG3 (-0x18) /* 0xc88 */ |
Definition at line 95 of file smc-ultra32.c.
#define ULTRA32_CFG4 (-0x17) /* 0xc89 */ |
Definition at line 96 of file smc-ultra32.c.
#define ULTRA32_CFG5 (-0x16) /* 0xc8a */ |
Definition at line 97 of file smc-ultra32.c.
#define ULTRA32_CFG6 (-0x15) /* 0xc8b */ |
Definition at line 98 of file smc-ultra32.c.
#define ULTRA32_CFG7 0x0d /* 0xcad */ |
Definition at line 99 of file smc-ultra32.c.
#define ULTRA32_CMDREG 0 /* Offset to ASIC command register. */ |
Definition at line 77 of file smc-ultra32.c.
#define ULTRA32_ID 0x1080a34d |
Definition at line 90 of file smc-ultra32.c.
#define ULTRA32_IDPORT (-0x20) /* 0xc80 */ |
Definition at line 91 of file smc-ultra32.c.
#define ULTRA32_IO_EXTENT 32 |
Definition at line 81 of file smc-ultra32.c.
#define ULTRA32_MEMENB 0x40 /* Enable the shared memory. */ |
Definition at line 79 of file smc-ultra32.c.
Definition at line 80 of file smc-ultra32.c.
#define ULTRA32_RESET 0x80 /* Board reset, in ULTRA32_CMDREG. */ |
Definition at line 78 of file smc-ultra32.c.
|
read |
Definition at line 114 of file smc-ultra32.c.