summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/pci/psychovar.h
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2002-02-13 16:07:59 +0000
committertmm <tmm@FreeBSD.org>2002-02-13 16:07:59 +0000
commitaac61c22316c84993e76dc794e18b09402af8f2b (patch)
treed0a99d1ec032581256788cdeced4eacc89aa4ba8 /sys/sparc64/pci/psychovar.h
parent833609e9223a55f49910c7389b516079cf1012da (diff)
downloadFreeBSD-src-aac61c22316c84993e76dc794e18b09402af8f2b.zip
FreeBSD-src-aac61c22316c84993e76dc794e18b09402af8f2b.tar.gz
Merge r1.39 from NetBSD (manage both streaming caches for psycho pairs).
Use explicit bus space accesses instead of mapping the device memory into kva. Fix support for psycho pairs, and catch up with iommu code changes.
Diffstat (limited to 'sys/sparc64/pci/psychovar.h')
-rw-r--r--sys/sparc64/pci/psychovar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sparc64/pci/psychovar.h b/sys/sparc64/pci/psychovar.h
index 0093d07..25ca9c1 100644
--- a/sys/sparc64/pci/psychovar.h
+++ b/sys/sparc64/pci/psychovar.h
@@ -43,7 +43,6 @@ struct psycho_softc {
* PSYCHO register. we record the base physical address of these
* also as it is the base of the entire PSYCHO
*/
- struct psychoreg *sc_regs;
vm_offset_t sc_basepaddr;
/* Interrupt Group Number for this device */
@@ -54,6 +53,8 @@ struct psycho_softc {
bus_space_handle_t sc_bushandle;
bus_dma_tag_t sc_dmatag;
+ bus_addr_t sc_pcictl;
+
int sc_clockfreq;
phandle_t sc_node; /* prom node */
int sc_mode;
OpenPOWER on IntegriCloud