Subject: CVS commit: [netbsd-4] src/sys/arch/alpha
To: None <source-changes@NetBSD.org>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: source-changes
Date: 08/21/2007 20:00:29
Module Name: src
Committed By: liamjfoy
Date: Tue Aug 21 20:00:29 UTC 2007
Modified Files:
src/sys/arch/alpha/alpha [netbsd-4]: dec_2000_300.c
src/sys/arch/alpha/eisa [netbsd-4]: eisa_machdep.c
src/sys/arch/alpha/include [netbsd-4]: eisa_machdep.h
src/sys/arch/alpha/jensenio [netbsd-4]: jensenio.c jensenio_intr.c
lpt_jensenio.c
src/sys/arch/alpha/pci [netbsd-4]: sio.c
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #815):
sys/arch/alpha/pci/sio.c: revision 1.41
sys/arch/alpha/eisa/eisa_machdep.c: revision 1.6
sys/arch/alpha/jensenio/jensenio.c: revision 1.14
sys/arch/alpha/jensenio/jensenio_intr.c: revision 1.6
sys/arch/alpha/include/eisa_machdep.h: revision 1.8
sys/arch/alpha/alpha/dec_2000_300.c: revision 1.14
sys/arch/alpha/jensenio/lpt_jensenio.c: revision 1.6
Avoid NULL pointer dereference in MD device_register() function.
Fixes a part of PR port-alpha/36628.
Backout changes on lpt_jensenio.c rev 1.2.
lpt at jensenio doesn't seem to have a specific interrupt vector
but uses a normal EISA interrupt.
Fixes another part of PR port-alpha/36628 and PR port-alpha/20386.
More fixes for Jensen, reported and tested by Christoph Franzen
in PR port-alpha/36628:
- make jensenio_eisa_maxslots() return 8 (instead of 16) since
EISA config for slot 8-15 on jensen could return invalid values
- pass eisa_chipset_tag_t to eisa_init() and check eisa_maxslots()
on probing EISA config space
- pass M_ZERO to malloc(9) and make sure malloc(9) doesn't fail
- fix typo in a debug printf, add more debug printfs, and
use #ifdef EISA_DEBUG to enable them
- cast uint8_t value to uint32_t before shift more than 8 bits
- check buffer region on reading compressed data from EISA config space
Check a correct value on a sanity check in jensenio_eisa_intr_map().
Fixes yet another bug on Jensen found on tracking PR port-alpha/36628.
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.11.18.1 src/sys/arch/alpha/alpha/dec_2000_300.c
cvs rdiff -r1.5 -r1.5.58.1 src/sys/arch/alpha/eisa/eisa_machdep.c
cvs rdiff -r1.7 -r1.7.76.1 src/sys/arch/alpha/include/eisa_machdep.h
cvs rdiff -r1.13 -r1.13.24.1 src/sys/arch/alpha/jensenio/jensenio.c
cvs rdiff -r1.5 -r1.5.24.1 src/sys/arch/alpha/jensenio/jensenio_intr.c
cvs rdiff -r1.5 -r1.5.58.1 src/sys/arch/alpha/jensenio/lpt_jensenio.c
cvs rdiff -r1.40 -r1.40.24.1 src/sys/arch/alpha/pci/sio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.