aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire/fwmem.h
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2002-11-12 13:49:17 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2002-11-12 13:49:17 +0000
commitf90ce7b12514174adf79b1df5c30a23e73ffedce (patch)
tree0f409a0e1702593261601f3352848df6be7f0e07 /sys/dev/firewire/fwmem.h
parent5e2a411f2d21539b9b3e83244ac96005e3e21ded (diff)
downloadsrc-f90ce7b12514174adf79b1df5c30a23e73ffedce.tar.gz
src-f90ce7b12514174adf79b1df5c30a23e73ffedce.zip
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.
Notes
Notes: svn path=/head/; revision=106810
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 753fbd5c1886..5f395081f22e 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;