summaryrefslogtreecommitdiff
path: root/sys/dev/firewire/firewirereg.h
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-02-03 07:33:31 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-02-03 07:33:31 +0000
commit48249fe0c8fa01065bd10c670795af4db458846c (patch)
tree6c767b449cd12bf15b57f8a07b115bd932661805 /sys/dev/firewire/firewirereg.h
parent1b978d453beba4dcf9022d6f384128e039cd2229 (diff)
Notes
Diffstat (limited to 'sys/dev/firewire/firewirereg.h')
-rw-r--r--sys/dev/firewire/firewirereg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/firewire/firewirereg.h b/sys/dev/firewire/firewirereg.h
index 7eb9e024e99f..108f967ec231 100644
--- a/sys/dev/firewire/firewirereg.h
+++ b/sys/dev/firewire/firewirereg.h
@@ -298,11 +298,12 @@ struct fw_xfer{
} send, recv;
struct mbuf *mbuf;
STAILQ_ENTRY(fw_xfer) link;
+ struct malloc_type *malloc;
};
void fw_sidrcv __P((struct firewire_comm *, caddr_t, u_int, u_int));
void fw_rcv __P((struct firewire_comm *, caddr_t, u_int, u_int, u_int, u_int));
void fw_xfer_free __P(( struct fw_xfer*));
-struct fw_xfer *fw_xfer_alloc __P((void));
+struct fw_xfer *fw_xfer_alloc __P((struct malloc_type *));
void fw_init __P((struct firewire_comm *));
int fw_tbuf_update __P((struct firewire_comm *, int, int));
int fw_rbuf_update __P((struct firewire_comm *, int, int));
@@ -364,3 +365,4 @@ extern devclass_t firewire_devclass;
#endif /* __alpha__ */
MALLOC_DECLARE(M_FW);
+MALLOC_DECLARE(M_FWXFER);