| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
settings you've just sent them and return random values if you follow
the set by a get. This causes problems when you latter run a Tag-enabled
command when you've command tagged mode off.
|
| |
|
|
|
|
| |
printout is now enabled.
|
| |
|
| |
|
|
|
|
|
|
| |
gave yet another internal register layout model for what is
*still* the same architecture. I hope they saved billyuns of gates
'coz otherwise this is *really* annoying.
|
|
|
|
|
|
| |
thwank in register layout goop). A different mboxcmd approach. Some PDB change
infrastructure. Some better management of loopdown/loopup events (keep them
distinct from resource starvation for simq freeze/unfreeze actions).
|
|
|
|
| |
allow us via config options prefer mem space to I/O space.
|
|
|
|
|
|
|
|
|
|
|
|
| |
define. Add a new config flag param (ISP_CFG_NONVRAM) whose intent it is
to cause NVRAM to be ignored. Add ISPASYNC_LOOP_DOWN and ISPASYNC_LOOP_UP
isp_async enums.
Amazingly enough, I did all my scsi_sa work recently without realizing
that I had a broken isp card whose (unchangeable- it's an old old old
isp1020) NVRAM has sync mode enabled, but disconnect/reconnect disabled-
the ISP_CFG_NONVRAM is definitely warranted when you want to bloody well
ignore the NVRAM and set something sensible.
|
| |
|
| |
|
|
|
|
|
| |
events by freezing/unfreezing the simq- nice to have such control at this
level! Do bus resets in attach layer (non-CAM defined code).
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use fast memory timing NVRAM parameter. Clean up and fix establishment
of default target parameters. Don't use NVRAM if are flagged as not to
do so (I had a busted NVRAM setup which I couldn't edit that enabled SYNC
mode but disabled disconnect/reconnect and wide!!). Fix delays after
resets. BUS resets not done in isp_init anymore- relegated to OS
specific outer layers. Fix a buglet where you can get in a loop for
a NULL xs in the completion list in isp_intr. Add in some defines that
can disable fast posting. Add in code for Loop Up/Loop Down events that
call into the outer layers as to what to do.
|
| |
|
|
|
|
|
|
|
| |
the startup code. Implement a call to outer framework function so that
asynchronous events can be handled (e.g., speed negotiation, target mode).
Roll internal release tags.
|
|
|
|
|
|
|
|
|
|
| |
cycle to get rid of the old 1.31 firmware. *@!$&^@&$!&^&^!!!!!
But anyway comment it out and use new SBus 7.55 firmware. We get fast posting
with this as well as 32 luns and target mode support.
(not that this is used yet in FreeBSD, but it's ready for FreeBSD-sparc
whenever it happens....)
|
| |
|
| |
|
|
|
|
|
| |
the BSD DKI. Stop being lazy and finish the defines so MEMCPY becomes bzero
for FreeBSD.
|
|
|
|
|
|
|
|
| |
it's already on for the 2XX0) and detect the broken 1040A FIFO. Change
bzero to MEMZERO (portability with **nux). Use memcpy for same reason.
Finally detect QUEUE FULL conditions and return this as an error that
will get cam_periph_error to do it's 'tagged openings now XXX' dance.
|
| |
|
| |
|
|
|
|
| |
for the 1XX0 cards. That cost > 50% performance.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
suggested compilation cleanups from Eklund. Wire down a hard loop id if we are
not on a platform that has the ability to get to a PCI BIOS (it still will
float to the ID it gets after a LIP but at least we can try). Clarify that the
expanded lun is based upon SCCLUN defines (in f/w).
|
| |
|
| |
|
| |
|
|
|
|
| |
other minro things
|
| |
|
| |
|
|
|
|
| |
one gets compiled in by default. The default is private loop, non-expanded lun.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for possible buffer overflow problems. Replaced most sprintf()'s
with snprintf(); for others cases, added terminating NUL bytes where
appropriate, replaced constants like "16" with sizeof(), etc.
These changes include several bug fixes, but most changes are for
maintainability's sake. Any instance where it wasn't "immediately
obvious" that a buffer overflow could not occur was made safer.
Reviewed by: Bruce Evans <bde@zeta.org.au>
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
Reviewed by: Mike Spengler <mks@networkcs.com>
|
|
|
|
| |
Submitted by: Poul-Henning Kamp <phk@freebsd.org>
|
| |
|
|
|
|
|
| |
at 256. So- to be safe, let's roll back to 64 while we do some more
investigating.
|
| |
|
|
|
|
| |
a contiguous CCB memory allocation).
|
|
|
|
|
| |
that had depended on it for compilation within or without CAM to use
__FreeBSD_version instead).
|
|
|
|
|
| |
char * strings being returned defined in a header file included several
places but only used in one module, is, uh, silly.
|
|
|
|
| |
if target mode is defined (which it isn't, yet).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Change some messages about CCB memory allocation
+ Turn a failure to DMA map all of a transaction due to lack of
ISP queue entries into a requeue operation (instead of the
case where it had been treated the same as a DMA too big
operation).
+ put back splsoftvm around bus_dmamap_load calls.
+ cleanup (and fix a glaring bug) in the and of the dma setup
routine. Also, the dma setup routines either return CMD_QUEUED
(for success) or CMD_COMPLETE (for failure) or CMD_EAGAIN
(for requeuing for resource shortage reasons).
|
| |
|
|
|
|
|
| |
logic for returns from inner layer (just make sure that a CAM_REQ_INPROG
doesn't get xpt_done'd).
|
|
|
|
|
| |
Turn request queue overflow messages into debug messages. Ensure on
isp_restarts that we nullify the xflist array.
|