summaryrefslogtreecommitdiff
path: root/sys/dev/flashvar.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-20 18:15:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-20 18:15:48 +0000
commit873db335f698dc92ad5bb1724185b94b78cadc90 (patch)
tree5d88760d74825983a6db073cbf8f2208063bb6cc /sys/dev/flashvar.h
parentfca02c516c82caf63d1f863db7e8b1b418f4cb66 (diff)
b_cylinder does not need to be set on the callpath down into drivers.
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
Diffstat (limited to 'sys/dev/flashvar.h')
-rw-r--r--sys/dev/flashvar.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/flashvar.h b/sys/dev/flashvar.h
index dccf80d566d..940b3bce320 100644
--- a/sys/dev/flashvar.h
+++ b/sys/dev/flashvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: flashvar.h,v 1.1 2006/11/25 14:32:00 uwe Exp $ */
+/* $OpenBSD: flashvar.h,v 1.2 2007/06/20 18:15:46 deraadt Exp $ */
/*
* Copyright (c) 2005 Uwe Stuehler <uwe@openbsd.org>
@@ -27,8 +27,7 @@ struct flash_ctl_tag {
int (*regx_read_page)(void *, caddr_t, caddr_t);
void (*reg8_write)(void *, int, u_int8_t);
int (*regx_write_page)(void *, caddr_t, caddr_t);
- void (*default_disklabel)(void *, dev_t, struct disklabel *,
- struct cpu_disklabel *);
+ void (*default_disklabel)(void *, dev_t, struct disklabel *);
int (*safe_strategy)(void *, struct buf *);
};