> Modified Files: > src/sys/arch/amiga/amiga: device.h > src/sys/arch/amiga/dev: ahsc.c atzsc.c cbiiisc.c grf_cv.c grf_cvreg.h > gtsc.c sbic.c sbicreg.h siop2.c > > Log Message: > Added two new macros to device.h: > amiga_membarrier() enforces a reorder protection on memory read/writes. > amiga_cpu_sync() makes sure the instruction pipelines are flushed. > Both macros may be used in all amiga device drivers for compatibility with > amigappc. For the start I fixed some SCSI drivers. > cbiiisc and ahsc were tested and seem to work really fast with DMA now.
It might be worth to try to switch amiga SCSI drivers to using MI siop(4) and osiop(4) in future... --- Izumi Tsutsui