Subject: CVS commit: src/sys/arch/prep/pnpbus
To: None <source-changes@NetBSD.org>
From: Tim Rightnour <garbled@netbsd.org>
List: source-changes
Date: 04/26/2006 19:48:01
Module Name:	src
Committed By:	garbled
Date:		Wed Apr 26 19:48:01 UTC 2006

Modified Files:
	src/sys/arch/prep/pnpbus: nvram_pnpbus.c pnpbus.c wdc_pnpbus.c

Log Message:
Support fixes for the Motorola Powerstack E1.
1) The E1 seems to have the int. siop wired to irq 14-level and the internal
   wdc wired to irq 14-edge.  special case and fail the wdc probe on E1's.
2) If we fail to map the NVRAM registers, return, rather than trying to talk
   to them and panic'ing the box.
3) revert my previous "fix" to pnpbus to make irq's default to level.  It
   was wrong, and didn't even fix the powerstack.

With this, we have limited PowerStack E1 support.  The machine cannot
talk to it's IDE controller, and cannot detect it's boot device
automatically, but it does come up and run. Tested with NFS root.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/arch/prep/pnpbus/nvram_pnpbus.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/prep/pnpbus/pnpbus.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/prep/pnpbus/wdc_pnpbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.