On Tue, 4 Jun 2019, Michael Schmitz wrote:
Hi Finn,
On 3/06/19 7:40 PM, Finn Thain wrote:
There are several other drivers that contain pieces of assembler code.
Does any driver contain assembler code for multiple architectures? I was trying to avoid that -- though admittedly I don't yet have actual code for the PDMA implementation for mac_scsi for Nubus PowerMacs.
I've seen that once, for one of the ESP drivers that were supported on both m68k and ppc (APUS, PPC upgrade to Amiga computers). But that driver was removed long ago (after 2.6?).
In that case, the assembly file did reside in drivers/scsi/. That still appears to be current practice (see drivers/scsi/arm/acornscsi-io.S).
The presence of that file would be an argument for adding drivers/scsi/m68k/. This seems to be begging the question.
Since there's no clear policy, I'll combine the two files and avoid the question for now.