From 072020c0220b4f9e57a99020e86f0ba1658c7b86 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 8 Apr 2020 14:39:33 +0000 Subject: [PATCH] qla2x00t-32gbit: Port to Linux kernel v5.5 (backport r8764 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8855 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t-32gbit/qla_mr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qla2x00t-32gbit/qla_mr.c b/qla2x00t-32gbit/qla_mr.c index 4a9d3149f..623518e7b 100644 --- a/qla2x00t-32gbit/qla_mr.c +++ b/qla2x00t-32gbit/qla_mr.c @@ -788,8 +788,7 @@ qlafx00_iospace_config(struct qla_hw_data *ha) goto iospace_error_exit; } - ha->cregbase = - ioremap_nocache(pci_resource_start(ha->pdev, 0), BAR0_LEN_FX00); + ha->cregbase = ioremap(pci_resource_start(ha->pdev, 0), BAR0_LEN_FX00); if (!ha->cregbase) { ql_log_pci(ql_log_fatal, ha->pdev, 0x0128, "cannot remap MMIO (%s), aborting\n", pci_name(ha->pdev)); @@ -809,8 +808,7 @@ qlafx00_iospace_config(struct qla_hw_data *ha) goto iospace_error_exit; } - ha->iobase = - ioremap_nocache(pci_resource_start(ha->pdev, 2), BAR2_LEN_FX00); + ha->iobase = ioremap(pci_resource_start(ha->pdev, 2), BAR2_LEN_FX00); if (!ha->iobase) { ql_log_pci(ql_log_fatal, ha->pdev, 0x012b, "cannot remap MMIO (%s), aborting\n", pci_name(ha->pdev));