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
..
2000-06-10 17:53:20 +00:00
2000-06-14 17:53:40 +00:00
2000-06-14 17:53:40 +00:00
2000-06-10 11:06:51 +00:00
1999-11-18 07:22:59 +00:00
2000-06-11 11:54:52 +00:00
2000-05-01 19:54:26 +00:00
2000-06-10 11:09:03 +00:00
2000-06-10 06:41:11 +00:00
2000-01-17 20:49:59 +00:00
2000-05-01 20:32:07 +00:00
2000-01-18 08:38:35 +00:00
2000-05-01 19:54:26 +00:00
2000-03-18 15:13:30 +00:00
2000-06-10 11:14:19 +00:00
2000-05-14 13:47:57 +00:00
2000-06-14 06:41:33 +00:00
2000-06-15 15:23:12 +00:00
2000-05-28 15:59:52 +00:00