Subject: CVS commit: src/sys/dev/scsipi
To: None <source-changes@NetBSD.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 10/20/2006 07:11:50
Module Name:	src
Committed By:	scw
Date:		Fri Oct 20 07:11:50 UTC 2006

Modified Files:
	src/sys/dev/scsipi: scsipi_base.c scsipiconf.h sd.c

Log Message:
Validate the sector size returned by READ CAPACITY. If it looks bogus
print a warning and fallback to a suitable default.

Fixes a problem on hp700 reported by skrll@


To generate a diff of this commit:
cvs rdiff -r1.139 -r1.140 src/sys/dev/scsipi/scsipi_base.c
cvs rdiff -r1.104 -r1.105 src/sys/dev/scsipi/scsipiconf.h
cvs rdiff -r1.252 -r1.253 src/sys/dev/scsipi/sd.c

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