summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vsa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 16:42:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 16:42:20 +0000
commit6b46236c83f9aa5b9cd59b466eeba348ee23825a (patch)
treeef7eca8601ed03d00b5a9a53b3355f66ed478486 /sys/arch/vax/vsa
parentcc20036a151815396b8c4285e8b3b56f0172f1d5 (diff)
final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out. ok otto beck others
Diffstat (limited to 'sys/arch/vax/vsa')
-rw-r--r--sys/arch/vax/vsa/hdc9224.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/vax/vsa/hdc9224.c b/sys/arch/vax/vsa/hdc9224.c
index bf5703cf883..1f797c464c9 100644
--- a/sys/arch/vax/vsa/hdc9224.c
+++ b/sys/arch/vax/vsa/hdc9224.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hdc9224.c,v 1.38 2011/09/19 21:23:42 miod Exp $ */
+/* $OpenBSD: hdc9224.c,v 1.39 2013/06/11 16:42:13 deraadt Exp $ */
/* $NetBSD: hdc9224.c,v 1.16 2001/07/26 15:05:09 wiz Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -141,7 +141,7 @@ struct hdcsoftc {
caddr_t sc_dmabase; /* */
int sc_dmasize;
caddr_t sc_bufaddr; /* Current in-core address */
- daddr64_t sc_diskblk; /* Current block on disk */
+ daddr_t sc_diskblk; /* Current block on disk */
int sc_bytecnt; /* How much left to transfer */
int sc_xfer; /* Current transfer size */
int sc_retries;
@@ -495,7 +495,7 @@ hdcstart(struct hdcsoftc *sc, struct buf *ob)
struct buf *dp, *bp;
int cn, sn, tn, blks;
volatile char ch;
- daddr64_t bn;
+ daddr_t bn;
splassert(IPL_BIO);
@@ -619,7 +619,7 @@ hdc_printgeom(p)
/*
* Return the size of a partition, if known, or -1 if not.
*/
-daddr64_t
+daddr_t
hdsize(dev_t dev)
{
struct hdsoftc *hd;
@@ -760,7 +760,7 @@ hdwrite(dev_t dev, struct uio *uio, int flag)
*
*/
int
-hddump(dev_t dev, daddr64_t daddr, caddr_t addr, size_t size)
+hddump(dev_t dev, daddr_t daddr, caddr_t addr, size_t size)
{
return 0;
}