1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/dev/isp
Matt Jacob 181640a81c Clarify issues about whether we have SCCLUN (65535 luns) or non-SCCLUN (16
luns) firmware for the Fibre Channel cards.

We used to assume that if we didn't download firmware, we couldn't know
what the firmware capability with respect to SCCLUNs is- and it's important
because the lun field changes in the request queue entry based upon which
firmware it is.

At any rate, we *do* get back firmware attributes in mailbox register 6
when we do ABOUT FIRMWARE for all 2200/2300 cards- and for 2100 cards
with at least 1.17.0 firmware. So- we now assume non-SCCLUN behaviour
for 2100 cards with firmware < 1.17.0- and we check the firmware attributes
for other cards (loaded firmware or not).

This also allows us to get rid of the crappy test of isp_maxluns > 16-
we simply can check firmware attributes for SCCLUN behaviour.

This required an 'oops' fix to the outgoing mailbox count field for
ABOUT FIRMWARE for FC cards.

Also- while here, hardwire firmware revisions for loaded code for SBus
cards. Apparently the 1.35 or 1.37 f/w we've been loading into isp1000
just doesn't report firmware revisions out to mailbox regs 1, 2 and 3
like everyone else. Grumble. Not that this fix hardly matters for FreeBSD.

MFC after:	4 weeks
2001-09-03 03:09:48 +00:00
..
isp_freebsd.c Add 2 Gigabit Fibre Channel support (2300 && 2312 cards). This required 2001-08-31 21:39:04 +00:00
isp_freebsd.h Add 2 Gigabit Fibre Channel support (2300 && 2312 cards). This required 2001-08-31 21:39:04 +00:00
isp_inline.h Macroize request/response in/out queue pointer access. 2001-07-04 18:52:23 +00:00
isp_ioctl.h Spring MegaChange #1. 2001-05-28 21:20:43 +00:00
isp_pci.c Add 2 Gigabit Fibre Channel support (2300 && 2312 cards). This required 2001-08-31 21:39:04 +00:00
isp_target.c Spring MegaChange #1. 2001-05-28 21:20:43 +00:00
isp_target.h Add a microcomment about how you'd use ispds64_t or ispdlist_t 2001-07-04 18:51:06 +00:00
isp_tpublic.h Spring MegaChange #1. 2001-05-28 21:20:43 +00:00
isp.c Clarify issues about whether we have SCCLUN (65535 luns) or non-SCCLUN (16 2001-09-03 03:09:48 +00:00
ispmbox.h Add 2 Gigabit Fibre Channel support (2300 && 2312 cards). This required 2001-08-31 21:39:04 +00:00
ispreg.h Add 2 Gigabit Fibre Channel support (2300 && 2312 cards). This required 2001-08-31 21:39:04 +00:00
ispvar.h Add some more firmware revision macros. Add firmware attributes field 2001-09-03 03:03:32 +00:00