diff options
author | gallatin <gallatin@FreeBSD.org> | 1999-08-10 13:54:50 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 1999-08-10 13:54:50 +0000 |
commit | 0bb326f6282e9e05622c085573d0322f692769bc (patch) | |
tree | ccedf2cc42dc1044a6aa2b0f745ea5a2153fc097 /sys/alpha/pci/tsunamireg.h | |
parent | 3d3f7ca233963d2101fb6d47e77eb4f791a4be55 (diff) | |
download | FreeBSD-src-0bb326f6282e9e05622c085573d0322f692769bc.zip FreeBSD-src-0bb326f6282e9e05622c085573d0322f692769bc.tar.gz |
- detect the number of pchips actually present; don't just assume 2
- support S/G DMA for ISA devices
Diffstat (limited to 'sys/alpha/pci/tsunamireg.h')
-rw-r--r-- | sys/alpha/pci/tsunamireg.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/alpha/pci/tsunamireg.h b/sys/alpha/pci/tsunamireg.h index 9b29828..64e4fcd 100644 --- a/sys/alpha/pci/tsunamireg.h +++ b/sys/alpha/pci/tsunamireg.h @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id: tsunamireg.h,v 1.1 1999/05/26 23:22:03 gallatin Exp $ */ /* * 21271 Chipset registers and constants. @@ -46,6 +46,12 @@ typedef struct { tsunami_reg pwr; /* rw */ } tsunami_cchip; +/* + * cchip csc defines + */ +#define CSC_P1P (1L << 14) /* pchip1 present if this bit is set in + chip->csc */ + typedef struct { tsunami_reg dsc; tsunami_reg str; @@ -68,6 +74,15 @@ typedef struct { tsunami_reg pmoncnt; /* rw */ } tsunami_pchip; +/* + * pchip window defines + */ +#define WINDOW_ENABLE 0x1 +#define WINDOW_DISABLE 0x0 +#define WINDOW_SCATTER_GATHER 0x2 +#define WINDOW_DIRECT_MAPPED 0x0 + + #define KV(pa) ALPHA_PHYS_TO_K0SEG(pa) |