Subject: PR/36628 CVS commit: src/sys/arch/alpha
To: None <tsutsui@NetBSD.org, gnats-admin@netbsd.org,>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: netbsd-bugs
Date: 07/22/2007 02:15:08
The following reply was made to PR port-alpha/36628; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36628 CVS commit: src/sys/arch/alpha
Date: Sun, 22 Jul 2007 02:14:40 +0000 (UTC)
Module Name: src
Committed By: tsutsui
Date: Sun Jul 22 02:14:40 UTC 2007
Modified Files:
src/sys/arch/alpha/eisa: eisa_machdep.c
src/sys/arch/alpha/include: eisa_machdep.h
src/sys/arch/alpha/jensenio: jensenio.c
src/sys/arch/alpha/pci: sio.c
Log Message:
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
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/alpha/eisa/eisa_machdep.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/alpha/include/eisa_machdep.h
cvs rdiff -r1.13 -r1.14 src/sys/arch/alpha/jensenio/jensenio.c
cvs rdiff -r1.40 -r1.41 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.