diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-06-23 19:19:50 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-06-23 19:19:50 +0000 |
commit | 741fb47166c6a7ffa0aea3684329acedb201ef7c (patch) | |
tree | df291a449f6b43d6f8b78223da879573128524d4 /sys/scsi/sdvar.h | |
parent | 7c2aff00e72485ff4505521e9f198b4583a51cab (diff) |
Implement disk sizes > 2^32-1. Code modelled on NetBSD.
Tested, tweaked and ok otto@
Diffstat (limited to 'sys/scsi/sdvar.h')
-rw-r--r-- | sys/scsi/sdvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sdvar.h b/sys/scsi/sdvar.h index e44cfb2a6aa..b82666ba5f2 100644 --- a/sys/scsi/sdvar.h +++ b/sys/scsi/sdvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sdvar.h,v 1.10 2006/12/12 02:44:36 krw Exp $ */ +/* $OpenBSD: sdvar.h,v 1.11 2007/06/23 19:19:49 krw Exp $ */ /* $NetBSD: sdvar.h,v 1.7 1998/08/17 00:49:03 mycroft Exp $ */ /*- @@ -74,8 +74,8 @@ struct sd_softc { u_long cyls; /* number of cylinders */ u_long sectors; /* number of sectors/track */ u_long blksize; /* number of bytes/sector */ - u_long disksize; /* total number sectors */ u_long rot_rate; /* rotational rate, in RPM */ + daddr64_t disksize; /* total number sectors */ } params; struct buf buf_queue; void *sc_sdhook; /* our shutdown hook */ |