1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

Increase CISS_MAX_PHYSTGT to 256 so that it matches what the controller might

give us.  Without this, certain data structures get sized incorrectly, leading
to a panic on certain cards that want to use high-value target numbers.
This commit is contained in:
Scott Long 2009-09-16 22:52:20 +00:00
parent 68961d1200
commit c7241f65ad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197260

View File

@ -176,7 +176,7 @@ struct ciss_pdrive
#define CISS_PHYSICAL_SHIFT 5
#define CISS_PHYSICAL_BASE (1 << CISS_PHYSICAL_SHIFT)
#define CISS_MAX_PHYSTGT 15
#define CISS_MAX_PHYSTGT 256
#define CISS_IS_PHYSICAL(bus) (bus >= CISS_PHYSICAL_BASE)
#define CISS_CAM_TO_PBUS(bus) (bus - CISS_PHYSICAL_BASE)