mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
The register offset is within 4K, not 256 bytes, for some QLogic cards.
This commit is contained in:
parent
6322f5abb7
commit
4cc9e3e7cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161270
@ -1127,7 +1127,7 @@ isp_pci_intr(void *arg)
|
||||
|
||||
#define IspVirt2Off(a, x) \
|
||||
(((struct isp_pcisoftc *)a)->pci_poff[((x) & _BLK_REG_MASK) >> \
|
||||
_BLK_REG_SHFT] + ((x) & 0xff))
|
||||
_BLK_REG_SHFT] + ((x) & 0xfff))
|
||||
|
||||
#define BXR2(pcs, off) \
|
||||
bus_space_read_2(pcs->pci_st, pcs->pci_sh, off)
|
||||
|
Loading…
Reference in New Issue
Block a user