[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/42186 CVS commit: [netbsd-4] src
The following reply was made to PR port-sparc/42186; it has been noted by GNATS.
From: Manuel Bouyer <bouyer%netbsd.org@localhost>
Subject: PR/42186 CVS commit: [netbsd-4] src
Date: Wed, 27 Jan 2010 20:59:46 +0000
Module Name: src
Committed By: bouyer
Date: Wed Jan 27 20:59:46 UTC 2010
src/distrib/sparc/ramdisk [netbsd-4]: dot.profile
src/sys/arch/sparc/sparc [netbsd-4]: auxreg.h
src/sys/arch/sparc/stand/common [netbsd-4]: promdev.c
Pull up following revision(s) (requested by tsutsui in ticket #1379):
sys/arch/sparc/sparc/auxreg.h: revision 1.13
distrib/sparc/ramdisk/dot.profile: revision 1.20
sys/arch/sparc/stand/common/promdev.c: revision 1.23
Don't try to read disklabel to check FS_RAID on floppy boot since
reopening floppy could cause Data Access Exception later.
Fixes PR port-sparc/42186, ok'ed by mrg@.
Use /dev/fd0a rather than /dev/rfd0a to read instfs.tgz image from floppy.
It looks newer (appearred after 1.6) gzip tries to read less than DEV_BSIZE
(to check header?) so we can't use raw device directly.
(note sparc bootfs ramdisk doesn't have dd(1))
Workaround for PR port-sparc/42193, and would also fix PR install/28734.
Explicitly clear AUXIO4M_FTC bit in FTC_FLIP macro used on
pseudo-dma for floppy, as well as AUXIO4C_FTC bit for sun4c.
A comment in the macro says AUXIO4M_FTC bit is auto-clear,
but my two SS20s (including compatible) with 150MHz hyperSPARCs
get data_overrun without it, and no bad side effect on SS5
(works with and without this change).
Closes PR port-sparc/42516, which is the last one of a bunch of
floppy issue on NetBSD/sparc since NetBSD 2.0 days. See
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r126.96.36.199 src/distrib/sparc/ramdisk/dot.profile
cvs rdiff -u -r1.12 -r188.8.131.52 src/sys/arch/sparc/sparc/auxreg.h
cvs rdiff -u -r184.108.40.206 -r220.127.116.11 src/sys/arch/sparc/stand/common/promdev.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |