diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-09-22 22:12:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-09-22 22:12:46 +0000 |
commit | cbfe53647e23e1ec9eb393d4716a2493ea70e874 (patch) | |
tree | cbcb43993ee11357f99af6cb8eed17f7d2537609 /sys/dev/ata/wdvar.h | |
parent | d1243ba8ce6a798b9298f8d2c2cb737608c5c2e8 (diff) |
KNF of mlarkin's code, requested by him. Some improvements to the interface
for talking to the disk driver snuck in.
ok mlarkin
Diffstat (limited to 'sys/dev/ata/wdvar.h')
-rw-r--r-- | sys/dev/ata/wdvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/wdvar.h b/sys/dev/ata/wdvar.h index 6a118c423f5..b89e7b1c3c8 100644 --- a/sys/dev/ata/wdvar.h +++ b/sys/dev/ata/wdvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wdvar.h,v 1.17 2011/06/06 01:59:49 matthew Exp $ */ +/* $OpenBSD: wdvar.h,v 1.18 2011/09/22 22:12:45 deraadt Exp $ */ /* $NetBSD: wdvar.h,v 1.3 1998/11/11 19:38:27 bouyer Exp $ */ /* @@ -104,7 +104,7 @@ struct wd_softc { #define READY 10 int wdc_ata_bio(struct ata_drive_datas*, struct ata_bio*); -int wd_hibernate_io(dev_t dev, daddr_t blkno, caddr_t addr, size_t size, +int wd_hibernate_io(dev_t dev, daddr_t blkno, vaddr_t addr, size_t size, int wr, void *page); void wddone(void *); |