[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux kernel 3.2.0-3-amiga misses Cyberstorm 1 SCSI



Finn,
On Thu, 15 Nov 2012, schmitz wrote:

It should be reasonably easy if the new core ESP driver can be convinced to send SCSI command data by programmed I/O (the old drivers set that flag, but it has disappeared from the new core).


The Mac ESP driver has been ported successfully though, and that should have suffered from the same sort of problems really. Maybe it Just Works (tm).

The ESP core uses DMA for just about everything, but it leaves it to the low level driver to implement the actual DMA routines.
I've seen that - the old Amiga drivers only set the DMA start address but no transfer length, no idea whether that will work for command data.
The mac_esp driver uses PIO when running on 660av and 840av Macs since the DMA controller device is a mystery. mac_esp uses PDMA on the other mac models because PIO performance is lousy.

I had to make a couple of changes to the esp core when implementing PIO for mac_esp but it works fine AFAIK.
As long as PIO works in some way in the current core, we can always start the painfully slow way and test the DMA functions based on that.

Thanks,
   Michael


Reply to: