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

Modified Files:
	src/sys/dev/ata [netbsd-3-0]: 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. 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.