Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev use uint64_t for sc_disksize512.
details: https://anonhg.NetBSD.org/src/rev/eaac637a87ba
branches: trunk
changeset: 779109:eaac637a87ba
user: bsh <bsh%NetBSD.org@localhost>
date: Thu May 03 21:21:08 2012 +0000
description:
use uint64_t for sc_disksize512.
fixed the problem with ataraid volumes larger than 2 TiB.
diffstat:
sys/dev/ldvar.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d312aa595091 -r eaac637a87ba sys/dev/ldvar.h
--- a/sys/dev/ldvar.h Thu May 03 19:07:13 2012 +0000
+++ b/sys/dev/ldvar.h Thu May 03 21:21:08 2012 +0000
@@ -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 @@
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.
Home |
Main Index |
Thread Index |
Old Index