Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/bktr Fix broken programming of VSCALE_HI registe...
details: https://anonhg.NetBSD.org/src/rev/9c2187aaa9ff
branches: trunk
changeset: 540817:9c2187aaa9ff
user: toshii <toshii%NetBSD.org@localhost>
date: Wed Dec 25 06:40:27 2002 +0000
description:
Fix broken programming of VSCALE_HI registers in yuv422_prog.
diffstat:
sys/dev/pci/bktr/bktr_core.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r bc0d395e8f0f -r 9c2187aaa9ff sys/dev/pci/bktr/bktr_core.c
--- a/sys/dev/pci/bktr/bktr_core.c Wed Dec 25 06:20:11 2002 +0000
+++ b/sys/dev/pci/bktr/bktr_core.c Wed Dec 25 06:40:27 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bktr_core.c,v 1.25 2002/12/25 06:20:11 toshii Exp $ */
+/* $NetBSD: bktr_core.c,v 1.26 2002/12/25 06:40:27 toshii Exp $ */
/* FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp */
@@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bktr_core.c,v 1.25 2002/12/25 06:20:11 toshii Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bktr_core.c,v 1.26 2002/12/25 06:40:27 toshii Exp $");
#include "opt_bktr.h" /* Include any kernel config options */
@@ -3198,8 +3198,8 @@
OUTB(bktr, BKTR_E_VSCALE_HI, INB(bktr, BKTR_E_VSCALE_HI) & ~0x80); /* clear Ycomb */
OUTB(bktr, BKTR_O_VSCALE_HI, INB(bktr, BKTR_O_VSCALE_HI) & ~0x80);
- OUTB(bktr, BKTR_E_VSCALE_HI, INB(bktr, BKTR_E_VSCALE_HI) | ~0x40); /* set chroma comb */
- OUTB(bktr, BKTR_O_VSCALE_HI, INB(bktr, BKTR_O_VSCALE_HI) | ~0x40);
+ OUTB(bktr, BKTR_E_VSCALE_HI, INB(bktr, BKTR_E_VSCALE_HI) | 0x40); /* set chroma comb */
+ OUTB(bktr, BKTR_O_VSCALE_HI, INB(bktr, BKTR_O_VSCALE_HI) | 0x40);
/* disable gamma correction removal */
OUTB(bktr, BKTR_COLOR_CTL, INB(bktr, BKTR_COLOR_CTL) | BT848_COLOR_CTL_GAMMA);
Home |
Main Index |
Thread Index |
Old Index