diff options
author | tmm <tmm@FreeBSD.org> | 2002-01-02 18:27:13 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2002-01-02 18:27:13 +0000 |
commit | cec7ec547befb842623ced03b548a9157a372ecf (patch) | |
tree | 340672f4fc1ef14cda5cb9c13bc47efc91a816f0 /sys/sparc64/pci/psychovar.h | |
parent | f1283775d702bbaa087e2e8e72de588f95648646 (diff) | |
download | FreeBSD-src-cec7ec547befb842623ced03b548a9157a372ecf.zip FreeBSD-src-cec7ec547befb842623ced03b548a9157a372ecf.tar.gz |
Correct the defintion of struct ofw_upa_regs, and use it instead of
struct ofw_nexus_reg. Implement UPA device memory management in the
nexus driver.
Adapt the psycho driver to these changes, and do some minor cleanup work
while being there.
Diffstat (limited to 'sys/sparc64/pci/psychovar.h')
-rw-r--r-- | sys/sparc64/pci/psychovar.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/sparc64/pci/psychovar.h b/sys/sparc64/pci/psychovar.h index 790f361..0093d07 100644 --- a/sys/sparc64/pci/psychovar.h +++ b/sys/sparc64/pci/psychovar.h @@ -40,7 +40,7 @@ struct psycho_softc { device_t sc_dev; /* - * PSYCHO register. we record the base physical address of these + * PSYCHO register. we record the base physical address of these * also as it is the base of the entire PSYCHO */ struct psychoreg *sc_regs; @@ -51,7 +51,8 @@ struct psycho_softc { /* our tags (from parent) */ bus_space_tag_t sc_bustag; - bus_dma_tag_t sc_dmatag; + bus_space_handle_t sc_bushandle; + bus_dma_tag_t sc_dmatag; int sc_clockfreq; phandle_t sc_node; /* prom node */ @@ -61,7 +62,8 @@ struct psycho_softc { struct iommu_state *sc_is; - struct resource *sc_irq[6]; + struct resource *sc_mem_res; + struct resource *sc_irq_res[6]; void *sc_ihand[6]; /* |