Index: dc395x_trm.c =================================================================== RCS file: /home/cvsroot/dc395/dc395x_trm.c,v retrieving revision 1.79 diff -u -r1.79 dc395x_trm.c --- dc395x_trm.c 2002/03/11 02:34:37 1.79 +++ dc395x_trm.c 2002/03/11 18:58:10 @@ -106,6 +106,7 @@ //* Correctly clean up SG list after REQUEST_SENSE. //* kfree() DCBs on module exit. //* Fix inconsistency SRB_array[] size vs. DC395x_MAX_SRB_CNT +//* 1.38a 02/03/11 KG PAGE_ADDRESS for pre2.4.16 kernels //*********************************************************************** /* ************************************************************************* @@ -387,6 +388,7 @@ # define PCI_DMA_SYNC_SG(hw,sg,n,dir) # define BUS_ADDR(sg) (virt_to_bus((sg).address)) # define CPU_ADDR(sg) ((sg).address) +# define PAGE_ADDRESS(sg) ((sg)->address) # define SET_DIR(dir,pcmd) dir = PCI_DMA_BIDIRECTIONAL #endif