Module Name:    src
Committed By:   bsh
Date:           Thu May  3 21:21:09 UTC 2012

Modified Files:
        src/sys/dev: ldvar.h

Log Message:
use uint64_t for sc_disksize512.
fixed the problem with ataraid volumes larger than 2 TiB.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ldvar.h

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

Modified files:

Index: src/sys/dev/ldvar.h
diff -u src/sys/dev/ldvar.h:1.20 src/sys/dev/ldvar.h:1.21
--- src/sys/dev/ldvar.h:1.20	Thu Feb  2 19:43:01 2012
+++ src/sys/dev/ldvar.h	Thu May  3 21:21:08 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: ldvar.h,v 1.20 2012/02/02 19:43:01 tls Exp $	*/
+/*	$NetBSD: ldvar.h,v 1.21 2012/05/03 21:21:08 bsh Exp $	*/
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@ struct ld_softc {
 	int	sc_ncylinders;		/* # cylinders */
 	int	sc_nheads;		/* # heads */
 	int	sc_nsectors;		/* # sectors per track */
-	int	sc_disksize512;
+	uint64_t	sc_disksize512;
 
 	/*
 	 * The following are filled by hardware specific attachment code.

Reply via email to