[PATCH]: create function with right arguments for sbp2

From: Juan Quintela (quintela@mandrakesoft.com)
Date: Sat Jan 04 2003 - 18:03:29 EST


Hi
        The prototypes for this two functions was changed, but not the
        definitions. This fix is at least needed for compiling, I
        don't have the hardware and haven't tested it.
        Looking at the 2.4.21-pre2 changed, it looks good.

Later, Juan.

diff -urNp --exclude-from=/home/mitica/quintela/config/misc/dontdiff t2/drivers/ieee1394/sbp2.c t1/drivers/ieee1394/sbp2.c
--- t2/drivers/ieee1394/sbp2.c 2002-12-31 18:10:52.000000000 +0100
+++ t1/drivers/ieee1394/sbp2.c 2003-01-03 19:50:21.000000000 +0100
@@ -1511,7 +1511,7 @@ static void sbp2_remove_device(struct sb
  * physical dma in hardware). Mostly just here for debugging...
  */
 static int sbp2_handle_physdma_write(struct hpsb_host *host, int nodeid, int destid, quadlet_t *data,
- u64 addr, unsigned int length)
+ u64 addr, unsigned int length, u16 flags)
 {
 
         /*
@@ -1527,7 +1527,7 @@ static int sbp2_handle_physdma_write(str
  * physical dma in hardware). Mostly just here for debugging...
  */
 static int sbp2_handle_physdma_read(struct hpsb_host *host, int nodeid, quadlet_t *data,
- u64 addr, unsigned int length)
+ u64 addr, unsigned int length, u16 flags)
 {
 
         /*

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:26 EST