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.
This commit is contained in:
sekiya 2004-03-25 00:53:58 +00:00
parent 5ea07b7ec3
commit e594b2f3d9
2 changed files with 7 additions and 7 deletions

View File

@ -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 @@ makeoptions TEXTADDR="0x80069000" # entry point
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 @@ pci0 at macepci0 bus 0
# 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

View File

@ -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 @@ lpt_mace_match(parent, match, aux)
struct cfdata *match;
void *aux;
{
return 1;
/* Not A Real Driver(tm) */
return 0;
}
static void