patch-2.4.7 linux/drivers/ieee1394/highlevel.h

Next file: linux/drivers/ieee1394/hosts.c
Previous file: linux/drivers/ieee1394/highlevel.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/drivers/ieee1394/highlevel.h linux/drivers/ieee1394/highlevel.h
@@ -76,8 +76,8 @@
         /* These functions have to implement block reads for themselves. */
         int (*read) (struct hpsb_host *host, int nodeid, quadlet_t *buffer,
                      u64 addr, unsigned int length);
-        int (*write) (struct hpsb_host *host, int nodeid, quadlet_t *data,
-                      u64 addr, unsigned int length);
+        int (*write) (struct hpsb_host *host, int nodeid, int destid,
+		      quadlet_t *data, u64 addr, unsigned int length);
 
         /* Lock transactions: write results of ext_tcode operation into
          * *store. */
@@ -91,13 +91,14 @@
 void init_hpsb_highlevel(void);
 
 void highlevel_add_host(struct hpsb_host *host);
+void highlevel_add_one_host(struct hpsb_host *host);
 void highlevel_remove_host(struct hpsb_host *host);
 void highlevel_host_reset(struct hpsb_host *host);
 
 int highlevel_read(struct hpsb_host *host, int nodeid, quadlet_t *buffer,
                    u64 addr, unsigned int length);
-int highlevel_write(struct hpsb_host *host, int nodeid, quadlet_t *data,
-                    u64 addr, unsigned int length);
+int highlevel_write(struct hpsb_host *host, int nodeid, int destid,
+		    quadlet_t *data, u64 addr, unsigned int length);
 int highlevel_lock(struct hpsb_host *host, int nodeid, quadlet_t *store,
                    u64 addr, quadlet_t data, quadlet_t arg, int ext_tcode);
 int highlevel_lock64(struct hpsb_host *host, int nodeid, octlet_t *store,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)