summaryrefslogtreecommitdiff
path: root/sys/dev/isa
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/dev/isa
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/dev/isa')
-rw-r--r--sys/dev/isa/fd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c
index f7e8830537c..a2598549c9a 100644
--- a/sys/dev/isa/fd.c
+++ b/sys/dev/isa/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.93 2013/05/30 16:15:02 deraadt Exp $ */
+/* $OpenBSD: fd.c,v 1.94 2013/06/11 16:42:15 deraadt Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
@@ -103,7 +103,7 @@ struct fd_softc {
struct fd_type *sc_deftype; /* default type descriptor */
struct fd_type *sc_type; /* current type descriptor */
- daddr64_t sc_blkno; /* starting block number */
+ daddr_t sc_blkno; /* starting block number */
int sc_bcount; /* byte count left */
int sc_opts; /* user-set options */
int sc_skip; /* bytes already transferred */
@@ -620,7 +620,7 @@ fdclose(dev_t dev, int flags, int fmt, struct proc *p)
return (0);
}
-daddr64_t
+daddr_t
fdsize(dev_t dev)
{
/* Swapping to floppies would not make sense. */
@@ -628,7 +628,7 @@ fdsize(dev_t dev)
}
int
-fddump(dev_t dev, daddr64_t blkno, caddr_t va, size_t size)
+fddump(dev_t dev, daddr_t blkno, caddr_t va, size_t size)
{
/* Not implemented. */
return ENXIO;