#include <linux/delay.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <asm/pdc.h>
#include <asm/page.h>
#include <asm/io.h>
#include <asm/hardware.h>
#include "gsc.h"
Go to the source code of this file.
#define _8MB 0x00800000UL |
#define CUJO_FIREHAWK_ADDR F_EXTEND(0xf1604000UL) |
#define CUJO_FIREHAWK_BADPAGE 0x01607000UL |
#define CUJO_RAVEN_ADDR F_EXTEND(0xf1000000UL) |
#define CUJO_RAVEN_BADPAGE 0x01003000UL |
#define DINO_BRDG_FEAT 0x820 |
#define DINO_BRIDGE_ALIGN 0x100000 |
#define DINO_CFG_TOK |
( |
|
bus, |
|
|
|
dfn, |
|
|
|
pos |
|
) |
| ((u32) ((bus)<<16 | (dfn)<<8 | (pos))) |
#define DINO_CONFIG_DATA 0x068 |
#define DINO_DAMODE 0x80c |
#define DINO_FIX_UNASSIGNED_INTERRUPTS |
#define DINO_GSC2X_CONFIG 0x7b4 |
#define DINO_IO_ADDR_EN 0x060 |
#define DINO_IO_COMMAND 0x030 |
#define DINO_IO_CONTROL 0x038 |
#define DINO_IO_DATA 0x06c |
#define DINO_IO_ERR_INFO 0x044 |
#define DINO_IO_FBB_EN 0x05c |
#define DINO_IO_GSC_ERR_RESP 0x040 |
#define DINO_IO_PCI_ERR_RESP 0x048 |
#define DINO_IO_STATUS 0x034 |
#define DINO_IODC_ADDR 0x008 |
#define DINO_IODC_DATA_0 0x008 |
#define DINO_IODC_DATA_1 0x008 |
#define DINO_IRQS 11 /* bits 0-10 are architected */ |
#define DINO_IRR_MASK 0x5ff /* only 10 bits are implemented */ |
#define DINO_MASK_IRQ |
( |
|
x | ) |
(1<<(x)) |
#define DINO_MEM_DATA 0x070 /* Dino 3.x only */ |
#define DINO_PCI_ADDR 0x064 |
#define DINO_PCICMD 0x810 |
#define DINO_PCIROR 0x824 |
#define DINO_PCISTS 0x814 |
#define DINO_PCIWOR 0x828 |
Value:
{ \
spin_lock_irqsave(&(
DINO_DEV(
d)->dinosaur_pen), flags); \
\
\
spin_unlock_irqrestore(&(
DINO_DEV(
d)->dinosaur_pen), flags); \
}
Definition at line 255 of file dino.c.
Value:
{ \
spin_lock_irqsave(&(
DINO_DEV(
d)->dinosaur_pen), flags); \
\
\
spin_unlock_irqrestore(&(
DINO_DEV(
d)->dinosaur_pen), flags); \
}
Definition at line 273 of file dino.c.
#define DINO_TOC_ADDR 0x020 |
#define is_cujo |
( |
|
id | ) |
((id)->hversion == 0x682) |