![]() | |||||||||||||
Messages in this thread Patch in this message |
Hey, Once again, thanks to people messing with the scsi layer, I'm forced to attempt to fix this driver, which it seems I'm the only one using :) Like last time, I cannot confirm that this _works_ as my card is dodgy, but I can confirm that it compiles, and performs exactly as is did before the changes. The changes seems simple enough. thanks, / Brett --- drivers/scsi/qlogicfas.c.bak Wed Feb 20 21:23:11 2002 +++ drivers/scsi/qlogicfas.c Wed Feb 20 21:18:37 2002 @@ -344,6 +344,7 @@ unsigned int reqlen; /* total length of transfer */ struct scatterlist *sglist; /* scatter-gather list pointer */ unsigned int sgcount; /* sg counter */ +char *buf; rtrc(1) j = inb(qbase + 6); @@ -391,7 +392,8 @@ REG0; return ((qabort == 1 ? DID_ABORT : DID_RESET) << 16); } - if (ql_pdma(phase, sglist->address, sglist->length)) + buf = page_address(sglist->page) + sglist->offset; + if (ql_pdma(phase, buf, sglist->length)) break; sglist++; } | ||||||||||||
| Last update: 2005-03-22 12:24 [W:0.167 / U:0.010 seconds] ©2003-2008 Jasper Spaans | |||||||||||||