From c7a771a0b516ae54c622fda89e3391aca4f44337 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Thu, 10 Dec 2015 01:17:30 +0000 Subject: [PATCH] Guess NVRAM address for 16Gbps Qlogic cards. I have feeling this approach is wrong, but it works for me so far and it is better then nothing. --- sys/dev/isp/isp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index a140ddb33ea..d39401147d2 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -7920,7 +7920,9 @@ isp_rd_2400_nvram(ispsoftc_t *isp, uint32_t addr, uint32_t *rp) uint32_t base = 0x7ffe0000; uint32_t tmp = 0; - if (IS_25XX(isp)) { + if (IS_26XX(isp)) { + base = 0x7fe7c000; /* XXX: Observation, may be wrong. */ + } else if (IS_25XX(isp)) { base = 0x7ff00000 | 0x48000; } ISP_WRITE(isp, BIU2400_FLASH_ADDR, base | addr);