oxnas: add testing support for Linux 5.15
Rebase patches and port SATA driver to work with Linux > 5.13. Tested on Shuttle KD-20. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <linux/io.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <linux/version.h>
|
||||
|
||||
static inline void oxnas_register_clear_mask(void __iomem *p, unsigned mask)
|
||||
{
|
||||
@@ -2231,7 +2232,9 @@ static struct scsi_host_template sata_oxnas_sht = {
|
||||
.can_queue = SATA_OXNAS_QUEUE_DEPTH,
|
||||
.sg_tablesize = SATA_OXNAS_MAX_PRD,
|
||||
.dma_boundary = ATA_DMA_BOUNDARY,
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 13, 0)
|
||||
.unchecked_isa_dma = 0,
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user