diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-11-12 18:04:07 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-11-12 18:04:07 +0000 |
commit | 83460e80b7d5a287de80361fe233568696ec5aaf (patch) | |
tree | 1518f37c1ce7813ace90dbc75b264f7f4647a80d /sys/dev/pci/hifn7751var.h | |
parent | 888ff30ee66bd6d1eb3332cd95fce06c9a516445 (diff) |
Don't abuse bus_dma(9) API by using dmamap->dm_* to hold results from
bus_dmamem_* operations; instead, store them in softc. This allows
the driver to get through autoconf on sparc64 (ok, well it fails the
ram test because of endian issues... but it's a start).
Diffstat (limited to 'sys/dev/pci/hifn7751var.h')
-rw-r--r-- | sys/dev/pci/hifn7751var.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/hifn7751var.h b/sys/dev/pci/hifn7751var.h index 9445c3a4294..bee92088acc 100644 --- a/sys/dev/pci/hifn7751var.h +++ b/sys/dev/pci/hifn7751var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hifn7751var.h,v 1.39 2001/11/05 17:25:58 art Exp $ */ +/* $OpenBSD: hifn7751var.h,v 1.40 2001/11/12 18:04:06 jason Exp $ */ /* * Invertex AEON / Hifn 7751 driver @@ -142,6 +142,8 @@ struct hifn_softc { struct hifn_dma *sc_dma; bus_dmamap_t sc_dmamap; + bus_dma_segment_t sc_dmasegs[1]; + int sc_dmansegs; int32_t sc_cid; int sc_maxses; int sc_ramsize; |