Patch?: Untested advansys, pci2220i and BusLogic 2.5.6-pre3 scsi drivers, using my scsi.c changes

Patch?: Untested advansys, pci2220i and BusLogic 2.5.6-pre3 scsi drivers, using my scsi.c changes

Post by Adam J. Richte » Fri, 08 Mar 2002 21:30:11



        If anyone is feeling particularly brave or bored, here are
three untested SCSI drivers for linux-2.5.6-pre3 that I hope fix them
for the new DMA mapping requirements.

        These changes use a little facility that I have added to my scsi.c
that provides two flags, by which a scsi host driver can ask the
central scsi code take care of doing DMA mapping for scatter/gather
lists, DMA mapping of sense_buffer, or both.  I have included these
changes for hosts.h and scsi.[ch] in the patch.  I posted a patch
for this facility yesterday, but I have changed it slightly since
then to provide a mechanism by which scsi drivers see all requests
as gather/scatter list, even ones submitted with scsi_request->use_sg=0,
which should further simplify drivers.  This facility makes it a lot
easier to port to the new linux-2.5 DMA mapping requirements, and
makes the drivers smaller.  With approximately 90 scsi drivers,
I think it will make a big difference.

        Anyhow, I would appreciate it if anyone interested would
take a look at this patch or even try it, to help me spot any mistakes.

--
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104

+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

  scsi.diff
54K Download
 
 
 

Patch?: Untested advansys, pci2220i and BusLogic 2.5.6-pre3 scsi drivers, using my scsi.c changes

Post by John Covic » Thu, 21 Mar 2002 00:40:06


Hi.  I have your advansys driver which compiles under 2.5.6, but its
not detecting the tape drive properly, it doesn't give the vendor or
model number and I saw type 18 and 22 and it gives 0 for the ansi
revision.

Any assistance would be appreciated.

--
         John Covici

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Patch?: linux-2.5.6-pre3/drivers/scsi patches for aha152x and aha1740

        I have not tested these drivers in any way (in fact, I cannot
get linux-2.5.6-pre3 to boot right now), but I thought I would post
this preliminary patch in case anyone is interested.  This patch
gets the aha152x and aha1740 scsi drivers in linux-2.5.6-pre3 to
compile.  It requires the changes to scsi.[ch] and hosts.h that
I posted a few hours ago with the pci2220i, advansys and BusLogic
patches.  Anyhow, I thought I would post these patches, in case anyone
wants to comment on them or try them.

--
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104

+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. X startup problem

3. Patch??: linux-2.5.6-pre1/drivers/scsi/advansys.c DMA-mapping fixes

4. KDE nervousness

5. lk 2.5.3-pre3 drivers/scsi/ide-scsi typo

6. limit interface bandwidth

7. Does Buslogic BT-542B SCSI card use Buslogic driver?

8. surfing slow on new redhat 8.0 install please help

9. Two SCSI adapter (Advansys, Buslogic) together under Linux

10. Patch?: Centralized DMA mapping in linux-2.5.6-pre2/drivers/scsi/scsi.c

11. AdvanSys SCSI and non Jav SCSI device

12. change to drivers/scsi/scsi.c as of 1.3.9 causes panic

13. Advansys SCSI driver old verson?