Subject: CVS commit: [netbsd-3] src/sys/dev/ata
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 01/27/2006 22:53:45
Module Name:	src
Committed By:	tron
Date:		Fri Jan 27 22:53:45 UTC 2006

Modified Files:
	src/sys/dev/ata [netbsd-3]: wd.c

Log Message:
Pull up following revision(s) (requested by abs in ticket #1132):
	sys/dev/ata/wd.c: revision 1.318
cast 16bit atap_capacity to u_int64_t before << 16. (assigned to
a u_int64_t variable). Fixes 1 to 2 TB disks in qemu. Tested with
1=0000GB and to a lesser extent 2047GB sparse files. For reference
an empty FFS1 filesystem on a 1200GB sparse file uses 19GB of disk.


To generate a diff of this commit:
cvs rdiff -r1.298.2.7 -r1.298.2.8 src/sys/dev/ata/wd.c

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