diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-09-11 16:10:00 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-09-11 16:10:00 +0000 |
commit | 9ac843e6f4236e4300c4d2570c5ebe9e18238e8f (patch) | |
tree | 2a7bca5e5c0d7047c7b26edeaf75b858d95d7171 /sys/arch/sun3/dev/si_obio.c | |
parent | ce37394e6c73504e7cadb58f6bc353002c793508 (diff) |
activate sun3 SCSI DVMA
Diffstat (limited to 'sys/arch/sun3/dev/si_obio.c')
-rw-r--r-- | sys/arch/sun3/dev/si_obio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sun3/dev/si_obio.c b/sys/arch/sun3/dev/si_obio.c index 42b0a69d9da..8787786723a 100644 --- a/sys/arch/sun3/dev/si_obio.c +++ b/sys/arch/sun3/dev/si_obio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: si_obio.c,v 1.7 1997/04/29 13:09:25 kstailey Exp $ */ +/* $OpenBSD: si_obio.c,v 1.8 1997/09/11 16:09:59 kstailey Exp $ */ /* $NetBSD: si_obio.c,v 1.7 1996/11/20 18:57:00 gwr Exp $ */ /*- @@ -135,7 +135,7 @@ struct cfattach si_obio_ca = { /* Options. Interesting values are: 1,3,7 */ /* XXX: Using 1 for now to mask a (pmap?) bug not yet found... */ -int si_obio_options = 0; /* XXX */ +int si_obio_options = 1; /* XXX */ static int @@ -255,13 +255,13 @@ si_obio_dma_setup(ncr_sc) data_pa = dvma_kvtopa(dh->dh_dvma, sc->sc_adapter_type); data_pa += (ncr_sc->sc_dataptr - dh->dh_addr); if (data_pa & 1) - panic("si_dma_start: bad pa=0x%x", data_pa); + panic("si_dma_start: bad pa=0x%lx", data_pa); xlen = ncr_sc->sc_datalen; sc->sc_reqlen = xlen; /* XXX: or less? */ #ifdef DEBUG if (si_debug & 2) { - printf("si_dma_setup: dh=%p, pa=0x%lx, xlen=%d\n", + printf("si_dma_setup: dh=%p, pa=0x%lx, xlen=0x%x\n", dh, data_pa, xlen); } #endif |