summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/fwmem.h
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2002-11-12 13:49:17 +0000
committersimokawa <simokawa@FreeBSD.org>2002-11-12 13:49:17 +0000
commitf4a7469d8f1d6af1519d7d94b8e9876ed5657e78 (patch)
tree0f409a0e1702593261601f3352848df6be7f0e07 /sys/dev/firewire/fwmem.h
parent6262082ff1b2d4efaf99f2da470893aa14b8c159 (diff)
downloadFreeBSD-src-f4a7469d8f1d6af1519d7d94b8e9876ed5657e78.zip
FreeBSD-src-f4a7469d8f1d6af1519d7d94b8e9876ed5657e78.tar.gz
Use struct fw_device in fwmem.c
- specify fwmem target by EUI64. - fw_noderesolve returns struct fw_device rather than dst. - include struct firewire_comm in struct fw_device.
Diffstat (limited to 'sys/dev/firewire/fwmem.h')
-rw-r--r--sys/dev/firewire/fwmem.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/dev/firewire/fwmem.h b/sys/dev/firewire/fwmem.h
index 753fbd5..5f39508 100644
--- a/sys/dev/firewire/fwmem.h
+++ b/sys/dev/firewire/fwmem.h
@@ -34,10 +34,13 @@
* $FreeBSD$
*/
-struct fw_xfer *fwmem_read_quad(struct firewire_comm *, u_int8_t, int,
- u_int16_t, u_int32_t, void (*)(struct fw_xfer *));
-struct fw_xfer *fwmem_read_block(struct firewire_comm *, u_int8_t, int,
- u_int16_t, u_int32_t, int, void (*)(struct fw_xfer *));
+struct fw_xfer *fwmem_read_quad(struct fw_device *, caddr_t, u_int8_t,
+ u_int16_t, u_int32_t, void (*)(struct fw_xfer *));
+struct fw_xfer *fwmem_write_quad(struct fw_device *, caddr_t, u_int8_t,
+ u_int16_t, u_int32_t, u_int32_t, void (*)(struct fw_xfer *));
+struct fw_xfer *fwmem_read_block(struct fw_device *, caddr_t, u_int8_t,
+ u_int16_t, u_int32_t, int, void (*)(struct fw_xfer *));
+
d_open_t fwmem_open;
d_close_t fwmem_close;
d_ioctl_t fwmem_ioctl;
OpenPOWER on IntegriCloud