opnsense-src/sys/dev/isp
Matt Jacob fb1d37adcd Once we have firmware running (if isp_reset) and this is the first time
through, establish what our LUN width is. Unfortunately, we can't ask
the f/w. If we loaded the f/w, we'll now assume we have expanded LUNs
(SCCLUN for fibre channel, just plain 32 LUN for SCSI). If we didn't
load firmware, assume 8 LUNs for SCSI and 1 LUN for Fibre Channel. We
have to assume only one LUN for Fibre Channel because the LUN setting
in Request Queue entries is in different places whether we have SCCLUN
firmware or not, so the only LUN guaranteed to work for both is LUN 0.

Clean up the rest of isp.c so that ISP2100_SCCLUN defines aren't used-
instead use run time determinants based upon isp->isp_maxluns.

After starting firmware, delay 500us to give it a chance to get rolling.

Fix the interrupt service routine to check for both isr && sema being zero
before thinking this was a spurious interrupt.  Following the manuals,
allow for both Mailbox as well as Queue Reponse type interrupts for regular
SCSI.
2000-06-18 04:56:17 +00:00
..
asm_pci.h Update (finally) 1.15.37 to 1.19.03 for the 2100. This allows us to not 2000-04-21 02:01:06 +00:00
isp.c Once we have firmware running (if isp_reset) and this is the first time 2000-06-18 04:56:17 +00:00
isp_freebsd.c Remove all ISP2100_SCCLUN define protected code and replace it with 2000-06-18 04:50:26 +00:00
isp_freebsd.h Roll platform minor number. Force definition of SCSI_ISP_FABRIC 2000-06-18 04:47:12 +00:00
isp_inline.h tighten up printout 2000-01-15 01:43:19 +00:00
isp_pci.c Clean up defines for correct 12160/1080 exclusion. Final 4.0. 2000-02-29 05:48:46 +00:00
isp_target.c Remove all ISP2100_SCCLUN define based code and replace it with runtime 2000-06-18 04:48:28 +00:00
isp_target.h add "disable autodisconnect" flags 2000-06-18 04:44:41 +00:00
isp_tpublic.h Some minor tweaklets. 2000-04-21 02:05:54 +00:00
ispmbox.h add MBOX_GET_RESOURCE_COUNT command 2000-06-18 04:41:14 +00:00
ispreg.h cleanup i_int_X vs. uint_X definitions 2000-06-18 04:43:55 +00:00
ispvar.h Roll core minor version. Set ISP_MAX_LUNS to be off of new isp_maxluns 2000-06-18 04:45:51 +00:00
MAINTAINER add MAINTAINER file for clarity 2000-01-13 18:45:14 +00:00