diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-21 19:55:14 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-21 19:55:14 +0000 |
commit | 4d00ed48595105f2f08ef55cb2ed68e4c9d33019 (patch) | |
tree | bd88d9892d10f81ddb8f600782d92d423ce19d43 /sys/dev/pci/bktr | |
parent | af86970f0e12b2a86d7027c5cd737661ce2fbd31 (diff) |
fix cut and paste piece in dma programming, caused jumpieness in animation; good diagnose by Kamil Andrusz <wizz@mniam.net>
Diffstat (limited to 'sys/dev/pci/bktr')
-rw-r--r-- | sys/dev/pci/bktr/bktr_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/bktr/bktr_core.c b/sys/dev/pci/bktr/bktr_core.c index 73b5cf7d5a6..1c6607ea9d3 100644 --- a/sys/dev/pci/bktr/bktr_core.c +++ b/sys/dev/pci/bktr/bktr_core.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bktr_core.c,v 1.8 2003/01/15 06:30:35 art Exp $ */ +/* $OpenBSD: bktr_core.c,v 1.9 2003/01/21 19:55:13 mickey Exp $ */ /* $FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp $ */ /* @@ -2886,7 +2886,7 @@ rgb_vbi_prog(bktr_ptr_t bktr, char i_flag, int cols, int rows, int interlace ) *dma_prog++ = (u_int )vtophys(loop_point) ; #else *dma_prog++ = htole32(bktr->dm_prog->dm_segs->ds_addr + - ((void *)loop_point - (void *)dma_prog)); + ((void *)loop_point - (void *)bktr->dma_prog)); #endif *dma_prog++ = htole32(0); /* NULL WORD */ |