freebsd-nq/sys/dev
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
..
advansys Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
agp Release resources properly in detach. 2000-06-10 17:53:20 +00:00
aha Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
ahb Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
aic Unused include: #include "aic.h" 2000-06-10 11:06:51 +00:00
aic7xxx Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
amd Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
amr The AMI MegaRAID's internal memory map conflicts with scatter/gather 2000-06-10 19:22:39 +00:00
an Oops, nearly forgot to commit this one. Use correct register names, or 2000-05-28 16:38:28 +00:00
ar Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
ata Add disk_enumerate() for finding names of disks. Vinum and libh will 2000-06-15 20:30:53 +00:00
atkbdc Manipulate with AltGR Led (really CapsLock Led) only in K_XLATE mode, because 2000-05-28 12:43:24 +00:00
awi We always provide the bpf hooks. Remove #include "bpf.h"/NBPF. 2000-06-10 07:16:14 +00:00
bktr Use the correct register names. s/PCI_MAP_REG_START/PCIR_MAPS/ 2000-05-28 15:48:48 +00:00
buslogic Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
cardbus Sync to latest cardbusdevs file 1999-11-18 07:22:59 +00:00
ccd Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
cs Move code to handle BPF and bridging for incoming Ethernet packets out 2000-05-14 02:18:43 +00:00
cy Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
dc Add support for the Accton EN1217. 2000-06-11 11:54:52 +00:00
de Use the correct name for the PCI command register (PCIR_COMMAND). Don't 2000-05-28 16:06:56 +00:00
dec Add missing $FreeBSD$ 2000-05-01 19:54:26 +00:00
dgb Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
dpt Use correct register values. This one was in aic7xxx and advansys too. 2000-05-28 15:50:40 +00:00
ed ed_ioctl() can be called from ifpromisc() after the card has been removed, 2000-06-01 21:55:49 +00:00
eisa Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
en Ahhrggg. Put the test for the compat shims AFTER the file that includes 2000-03-27 20:24:02 +00:00
ep Move code to handle BPF and bridging for incoming Ethernet packets out 2000-05-14 02:18:43 +00:00
ex Unused include: #include "ex.h" 2000-06-10 11:09:03 +00:00
fb Unused include: #include "fb.h" 2000-06-10 06:41:11 +00:00
fdc Step down a level and issue format requests with a struct bio instead 2000-05-06 07:01:47 +00:00
fe Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
fxp Move code to handle BPF and bridging for incoming Ethernet packets out 2000-05-14 02:18:43 +00:00
hea Remove un-needed #include's. 2000-01-17 20:49:59 +00:00
hfa Ensure that DMA mappings are freed in error situations. 2000-01-15 21:01:04 +00:00
ic Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
ida Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
ie Move code to handle BPF and bridging for incoming Ethernet packets out 2000-05-14 02:18:43 +00:00
iicbus Allow these drivers to be detached. 2000-06-16 07:20:29 +00:00
isp Once we have firmware running (if isp_reset) and this is the first time 2000-06-18 04:56:17 +00:00
ispfw Add in (separate files for different board's firmware) new files for ispfw 2000-06-18 04:37:44 +00:00
joy Add ADS7182 as a known Joystick. 2000-01-18 08:38:35 +00:00
kbd Manipulate with AltGR Led (really CapsLock Led) only in K_XLATE mode, because 2000-05-28 12:43:24 +00:00
lmc Adjust to accomodate recent changes to the rcvdata and rcvmsg 2000-05-01 03:31:58 +00:00
lnc Unused includes: #include "pci.h" and #include "lnc.h" 2000-06-10 11:13:39 +00:00
mc146818 Add missing $FreeBSD$ 2000-05-01 19:54:26 +00:00
mca Set the RF_SHAREABLE flage when we allocate an IRQ. 2000-03-13 11:43:53 +00:00
mcd Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
md Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
mii Don't bother checking the link state in dcphy_status() if the interface 2000-06-05 19:37:15 +00:00
mlx Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
mse - `Newbus'ified the driver. 2000-03-18 15:13:30 +00:00
musycc The very feeble beginnings of a driver for the LanMedia LMC1504 card. 2000-06-11 19:09:47 +00:00
pccard Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
pcf Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
pci Nuke the useless chip driver. It gets in the way when you want to load 2000-06-09 16:00:29 +00:00
pcic Add ACTIONTECH #define for plug and play. Also add PnP support to NEWCARD 2000-05-29 02:44:33 +00:00
pdq Uh, ya, sure this almost compiled for __bsdi__. NOT! 2000-05-21 05:33:40 +00:00
ppbus Unused include: #include "pps.h" 2000-06-10 11:14:19 +00:00
ppc Port ppc driver to alpha. 2000-05-14 13:47:57 +00:00
ray Suck out all of the current and desired n/w parameters. 2000-06-11 13:57:59 +00:00
rc Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
rp - Eliminate rpread(). Call generic ttyread(). (cf rev 1.33) 2000-06-12 15:21:59 +00:00
scd Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
sf Use the correct register name. s/PCI_COMMAND_STATUS_REG/PCIR_COMMAND/ 2000-05-28 16:13:43 +00:00
si Always leave SP_DCEN on (monitor DCD). Otherwise the firmware *really* 2000-01-25 16:45:54 +00:00
sio Add option ALT_BREAK_TO_DEBUGGER. 2000-06-14 06:41:33 +00:00
sk - Call mii_pollstat() after we bring up the link on a 1000baseTX card 2000-06-06 02:56:37 +00:00
smbus Remove unneeded #include <sys/kernel.h> 2000-04-29 15:36:14 +00:00
sn Move code to handle BPF and bridging for incoming Ethernet packets out 2000-05-14 02:18:43 +00:00
snp Unstaticize this driver. You can have as many snoop devices as you can 2000-04-02 00:35:37 +00:00
sound replace a line erroneously removed in 1.28, should fix xmms 2000-06-17 19:29:40 +00:00
speaker Don't use struct buf for random small temporary buffers. 2000-05-05 09:05:39 +00:00
sr Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
streams Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
sym Fix a problem of user settings from TEKRAM NVRAM 2000-06-13 20:17:41 +00:00
syscons Argh. This is what I get for trying to do too many things at once. 2000-06-10 10:32:43 +00:00
ti Use the correct register name. s/PCI_COMMAND_STATUS_REG/PCIR_COMMAND/ 2000-05-28 16:13:43 +00:00
twe Initial import of a driver for the 3ware Escalade family of ATA RAID 2000-05-24 23:35:23 +00:00
tx Avoid double-call to bpf_mtap(). This is now handled in ether_input(). 2000-05-24 00:05:44 +00:00
usb Inverted error messages. 2000-06-15 15:23:12 +00:00
vinum start_object: Set the revive length correctly. 2000-06-07 03:34:18 +00:00
vn Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
vr Use the correct register name. s/PCI_COMMAND_STATUS_REG/PCIR_COMMAND/ 2000-05-28 16:13:43 +00:00
vx Warn that this as an oldpci device.. 2000-05-28 15:59:52 +00:00
wi Move code to handle BPF and bridging for incoming Ethernet packets out 2000-05-14 02:18:43 +00:00
wl Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
xe Add support for the modem side of the 56k combo card. 2000-05-30 05:42:57 +00:00