Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci This was able to crash my new alpha consistently...
details: https://anonhg.NetBSD.org/src/rev/e1333645f2c0
branches: trunk
changeset: 511654:e1333645f2c0
user: elric <elric%NetBSD.org@localhost>
date: Sun Jun 24 01:11:08 2001 +0000
description:
This was able to crash my new alpha consistently when I started X.
diffstat:
sys/dev/pci/tga.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 31426ef1bbb8 -r e1333645f2c0 sys/dev/pci/tga.c
--- a/sys/dev/pci/tga.c Sun Jun 24 01:06:02 2001 +0000
+++ b/sys/dev/pci/tga.c Sun Jun 24 01:11:08 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tga.c,v 1.31 2001/02/11 19:34:58 nathanw Exp $ */
+/* $NetBSD: tga.c,v 1.32 2001/06/24 01:11:08 elric Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -604,8 +604,11 @@
return 0;
}
}
- dc->dc_ramdac_intr(dcrc);
- dc->dc_ramdac_intr = NULL;
+ /* if we have something to do, do it */
+ if (dc->dc_ramdac_intr) {
+ dc->dc_ramdac_intr(dcrc);
+ dc->dc_ramdac_intr = NULL;
+ }
TGAWREG(dc, TGA_REG_SISR, 0x00000001);
TGAREGWB(dc, TGA_REG_SISR, 1);
return (1);
Home |
Main Index |
Thread Index |
Old Index