Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips The lpt driver doesn't play nicely with the...
details: https://anonhg.NetBSD.org/src/rev/13fb6bb0d303
branches: trunk
changeset: 559869:13fb6bb0d303
user: sekiya <sekiya%NetBSD.org@localhost>
date: Thu Mar 25 00:53:58 2004 +0000
description:
The lpt driver doesn't play nicely with the serial ports -- they share the
same interrupt, and something isn't quite right with the mace interrupt
dispatcher. Disable for now.
Pointed out by Tillman Hodgson and confirmed by ozone on port-sgimips.
diffstat:
sys/arch/sgimips/conf/GENERIC32_IP3x | 6 +++---
sys/arch/sgimips/mace/lpt_mace.c | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r 3118e6e5cb3e -r 13fb6bb0d303 sys/arch/sgimips/conf/GENERIC32_IP3x
--- a/sys/arch/sgimips/conf/GENERIC32_IP3x Thu Mar 25 00:23:49 2004 +0000
+++ b/sys/arch/sgimips/conf/GENERIC32_IP3x Thu Mar 25 00:53:58 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC32_IP3x,v 1.5 2004/01/19 03:26:14 sekiya Exp $
+# $NetBSD: GENERIC32_IP3x,v 1.6 2004/03/25 00:53:58 sekiya Exp $
#
# GENERIC32_IP3x machine description file
#
@@ -28,7 +28,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC32_IP3x-$Revision: 1.5 $"
+#ident "GENERIC32_IP3x-$Revision: 1.6 $"
maxusers 32
@@ -163,7 +163,7 @@
# MACE devices
#mec0 at mace0 offset 0x280000 intr 3
pckbc0 at mace0 offset 0x320000 intr 5
-lpt0 at mace0 offset 0x380000 intr 4 intrmask 0x000f0000
+#lpt0 at mace0 offset 0x380000 intr 4 intrmask 0x000f0000
com0 at mace0 offset 0x390000 intr 4 intrmask 0x03f00000
com1 at mace0 offset 0x398000 intr 4 intrmask 0xfc000000
mcclock0 at mace0 offset 0x3a0000
diff -r 3118e6e5cb3e -r 13fb6bb0d303 sys/arch/sgimips/mace/lpt_mace.c
--- a/sys/arch/sgimips/mace/lpt_mace.c Thu Mar 25 00:23:49 2004 +0000
+++ b/sys/arch/sgimips/mace/lpt_mace.c Thu Mar 25 00:53:58 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lpt_mace.c,v 1.2 2004/01/19 10:28:28 sekiya Exp $ */
+/* $NetBSD: lpt_mace.c,v 1.3 2004/03/25 00:53:58 sekiya Exp $ */
/*
* Copyright (c) 2003 Christopher SEKIYA
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lpt_mace.c,v 1.2 2004/01/19 10:28:28 sekiya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lpt_mace.c,v 1.3 2004/03/25 00:53:58 sekiya Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -79,8 +79,8 @@
struct cfdata *match;
void *aux;
{
-
- return 1;
+ /* Not A Real Driver(tm) */
+ return 0;
}
static void
Home |
Main Index |
Thread Index |
Old Index