Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci there is at least one VGA chip (Silicon Motion L...
details: https://anonhg.NetBSD.org/src/rev/ac9cfdf69db9
branches: trunk
changeset: 533743:ac9cfdf69db9
user: drochner <drochner%NetBSD.org@localhost>
date: Mon Jul 08 19:48:37 2002 +0000
description:
there is at least one VGA chip (Silicon Motion Lynx EM+) where fast scrolling
by moving the display offset pointer doesn't work
diffstat:
sys/dev/pci/vga_pci.c | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diffs (50 lines):
diff -r 98714d9ade8b -r ac9cfdf69db9 sys/dev/pci/vga_pci.c
--- a/sys/dev/pci/vga_pci.c Mon Jul 08 19:45:28 2002 +0000
+++ b/sys/dev/pci/vga_pci.c Mon Jul 08 19:48:37 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vga_pci.c,v 1.16 2002/07/02 18:17:30 drochner Exp $ */
+/* $NetBSD: vga_pci.c,v 1.17 2002/07/08 19:48:37 drochner Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vga_pci.c,v 1.16 2002/07/02 18:17:30 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vga_pci.c,v 1.17 2002/07/08 19:48:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -89,15 +89,13 @@
vga_pci_mmap,
};
-#if 0 /* caught by the more general rule below */
static const struct {
int id;
int quirks;
} vga_pci_quirks[] = {
- {PCI_ID_CODE(PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RAGE_XL_AGP),
- VGA_QUIRK_ONEFONT},
+ {PCI_ID_CODE(PCI_VENDOR_SILMOTION, PCI_PRODUCT_SILMOTION_LYNX_EMP),
+ VGA_QUIRK_NOFASTSCROLL},
};
-#endif
static const struct {
int vid;
@@ -112,13 +110,11 @@
{
int i;
-#if 0
for (i = 0; i < sizeof(vga_pci_quirks) / sizeof (vga_pci_quirks[0]);
i++) {
if (vga_pci_quirks[i].id == pa->pa_id)
return (vga_pci_quirks[i].quirks);
}
-#endif
for (i = 0; i < sizeof(vga_pci_vquirks) / sizeof (vga_pci_vquirks[0]);
i++) {
if (vga_pci_vquirks[i].vid == PCI_VENDOR(pa->pa_id))
Home |
Main Index |
Thread Index |
Old Index