patch-2.4.23 linux-2.4.23/drivers/ieee1394/highlevel.h
Next file: linux-2.4.23/drivers/ieee1394/ieee1394-ioctl.h
Previous file: linux-2.4.23/drivers/ieee1394/highlevel.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/ieee1394/highlevel.h
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.22/drivers/ieee1394/highlevel.h linux-2.4.23/drivers/ieee1394/highlevel.h
@@ -45,14 +45,14 @@
* packet header (first quadlet, CRCs are missing). You may get called
* for channel/host combinations you did not request. */
void (*iso_receive) (struct hpsb_host *host, int channel,
- quadlet_t *data, unsigned int length);
+ quadlet_t *data, size_t length);
/* A write request was received on either the FCP_COMMAND (direction =
* 0) or the FCP_RESPONSE (direction = 1) register. The cts arg
* contains the cts field (first byte of data).
*/
void (*fcp_request) (struct hpsb_host *host, int nodeid, int direction,
- int cts, u8 *data, unsigned int length);
+ int cts, u8 *data, size_t length);
struct list_head hl_list;
@@ -78,9 +78,9 @@
will send the response itself
*/
int (*read) (struct hpsb_host *host, int nodeid, quadlet_t *buffer,
- u64 addr, unsigned int length, u16 flags);
+ u64 addr, size_t length, u16 flags);
int (*write) (struct hpsb_host *host, int nodeid, int destid,
- quadlet_t *data, u64 addr, unsigned int length, u16 flags);
+ quadlet_t *data, u64 addr, size_t length, u16 flags);
/* Lock transactions: write results of ext_tcode operation into
* *store. */
@@ -116,9 +116,9 @@
u64 addr, octlet_t data, octlet_t arg, int ext_tcode, u16 flags);
void highlevel_iso_receive(struct hpsb_host *host, void *data,
- unsigned int length);
+ size_t length);
void highlevel_fcp_request(struct hpsb_host *host, int nodeid, int direction,
- void *data, unsigned int length);
+ void *data, size_t length);
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)