Update ppscsi for 2.6.24 changes.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com>

---
 drivers/scsi/ppscsi.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- a/drivers/scsi/ppscsi.c
+++ b/drivers/scsi/ppscsi.c
@@ -58,6 +58,7 @@
 #include <linux/spinlock.h>
 #include <linux/ioport.h>
 #include <linux/workqueue.h>
+#include <linux/scatterlist.h>
 
 #include <linux/parport.h>
 
@@ -484,7 +485,7 @@ static void ppsc_update_sg (PHA *pha)
 	if ((!pha->cur_len) && pha->sg_count) {
 		pha->sg_count--;
 		pha->sg_list++;
-		pha->cur_buf = page_address(pha->sg_list->page) + pha->sg_list->offset;
+		pha->cur_buf = sg_virt(pha->sg_list);
 		pha->cur_len = pha->sg_list->length;
 	}
 }
@@ -571,7 +572,7 @@ static void ppsc_engine (PHA *pha)
 					pha->sg_count--;
 					pha->sg_list =
 						(struct scatterlist *)pha->cur_cmd->request_buffer;
-					pha->cur_buf = page_address(pha->sg_list->page) + pha->sg_list->offset;
+					pha->cur_buf = sg_virt(pha->sg_list);
 					pha->cur_len = pha->sg_list->length;
 				} else {
 					pha->cur_buf = pha->cur_cmd->request_buffer;
