summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r--sys/arch/landisk/stand/boot/devs.c4
-rw-r--r--sys/arch/landisk/stand/boot/libsa.h4
-rw-r--r--sys/arch/landisk/stand/xxboot/boot1.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/landisk/stand/boot/devs.c b/sys/arch/landisk/stand/boot/devs.c
index 9c5927b5d24..dd0120e0c07 100644
--- a/sys/arch/landisk/stand/boot/devs.c
+++ b/sys/arch/landisk/stand/boot/devs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: devs.c,v 1.6 2006/11/16 23:12:56 deraadt Exp $ */
+/* $OpenBSD: devs.c,v 1.7 2011/03/13 00:13:53 deraadt Exp $ */
/*
* Copyright (c) 2006 Michael Shalayeff
@@ -90,7 +90,7 @@ blkdevopen(struct open_file *f, ...)
}
int
-blkdevstrategy(void *v, int flag, daddr_t dblk, size_t size, void *buf, size_t *rsize)
+blkdevstrategy(void *v, int flag, daddr32_t dblk, size_t size, void *buf, size_t *rsize)
{
if (flag != F_READ)
diff --git a/sys/arch/landisk/stand/boot/libsa.h b/sys/arch/landisk/stand/boot/libsa.h
index 75a640911ab..fa6158fbce6 100644
--- a/sys/arch/landisk/stand/boot/libsa.h
+++ b/sys/arch/landisk/stand/boot/libsa.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: libsa.h,v 1.3 2006/10/29 14:47:59 drahn Exp $ */
+/* $OpenBSD: libsa.h,v 1.4 2011/03/13 00:13:53 deraadt Exp $ */
/*
* Copyright (c) 2006 Michael Shalayeff
@@ -28,7 +28,7 @@
int readsects(int dev, uint32_t lba, void *buf, size_t size);
int blkdevopen(struct open_file *, ...);
int blkdevclose(struct open_file *);
-int blkdevstrategy(void *, int, daddr_t, size_t, void *, size_t *);
+int blkdevstrategy(void *, int, daddr32_t, size_t, void *, size_t *);
void scif_init(unsigned int);
int scif_getc(void);
void scif_putc(int);
diff --git a/sys/arch/landisk/stand/xxboot/boot1.c b/sys/arch/landisk/stand/xxboot/boot1.c
index ff4394564c3..12391b04d2e 100644
--- a/sys/arch/landisk/stand/xxboot/boot1.c
+++ b/sys/arch/landisk/stand/xxboot/boot1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot1.c,v 1.5 2010/12/06 22:51:46 jasper Exp $ */
+/* $OpenBSD: boot1.c,v 1.6 2011/03/13 00:13:53 deraadt Exp $ */
/* $NetBSD: boot1.c,v 1.1 2006/09/01 21:26:19 uwe Exp $ */
/*-
@@ -44,7 +44,7 @@ static uint32_t bios_sector;
const char *boot1(uint32_t *);
void putstr(const char *str);
int raise(int sig);
-int blkdevstrategy(void *, int, daddr_t, size_t, void *, size_t *);
+int blkdevstrategy(void *, int, daddr32_t, size_t, void *, size_t *);
int blkdevopen(struct open_file *, ...);
int blkdevclose(struct open_file *);
@@ -118,7 +118,7 @@ blkdevclose(struct open_file *f)
}
int
-blkdevstrategy(void *devdata, int flag, daddr_t dblk, size_t size, void *buf, size_t *rsize)
+blkdevstrategy(void *devdata, int flag, daddr32_t dblk, size_t size, void *buf, size_t *rsize)
{
if (flag != F_READ)