| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
|
|
| |
ok mpi@ kspillner@
|
|
|
|
| |
ok miod@
|
|
|
|
| |
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
|
|
|
|
| |
including miod@, oga@, dlg@, matthew@.
|
|
|
|
|
|
|
| |
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.
ok deraadt@ miod@ matthew@ jasper@ macro@
|
|
|
|
|
|
|
|
| |
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
|
|
|
|
|
|
|
|
| |
*scsi_generic. Change xs->cmd[0] references in sii.c to xs->cmd->opcode
and do (caddr_t) arithmetic when copying chunks into the adw adapter
struct.
Found by Matthew Dempsky, diff tweaked and tested by me.
|
|
|
|
|
|
|
| |
low-hanging splbio/splx pairs that are no longer needed and see if
this reveals any hidden scsi flaws.
ok dlg@
|
|
|
|
| |
ok krw@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
void. Use XS_NO_CCB error in the scsi command (xs) to report the
NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE
confusion and untangles the midlayer from the adapter a bit more.
Eyes and some fixes by miod@
There may be some compile issues on little used (i.e. I don't have
any) drivers but the change is mechanical and thus easy to remedy.
ok dlg@
|
|
|
|
|
|
| |
in the drivers just before calling scsi_done().
ok dlg@ beck@
|
| |
|
|
|
|
|
| |
agreed by deraadt@
ok jsing@
|
|
|
|
|
|
| |
as additional argument. This will allow intermediate layers between
scsi devices such as sd and scsi host adapters to take appropriate
action if necessary.
|
|
|
|
|
|
| |
No functional changes.
ok krw@ miod@
|
|
|
|
|
| |
We can now just push unwanted ones back up into the SCSI layer
with NO_CCB like other drivers.
|
|
|
|
| |
"I'm all for it." marco@ "Yeah" deraadt@
|
|
|
|
|
|
| |
commented out, remove it. Unifdef TFS while there.
ok marco@ krw@
|
|
|
|
|
|
|
|
|
| |
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
|
|
| |
polling in splbio/splx.
|
|
|
|
| |
ok miod@ marco@ deraadt@
|
|
|
|
|
|
|
|
| |
to set xs->error to XS_BUSY. So it is pointless and misleading to
set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before
returning TRY_AGAIN_LATER.
No functional change.
|
|
|
|
| |
no change in compiler assembly output.
|
|
|
|
|
|
| |
tested on alpha, i386, powerpc, sparc64, m68k.
ok miod@
|
|
|
|
|
|
|
|
| |
Tom: I did not commit a couple of your changes.
i did not include some punctuation fixes (full stops, etc.)
mnemorable -> mnemonic: i decided memorable was probably better
instrunctions -> instruction: i kept the plural
|
| |
|
|
|
|
| |
defined in scsi_all.h.
|
|
|
|
| |
(Look ma, I might have broken the tree)
|
|
|
|
|
| |
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@
and drahn@.
|
|
|
|
| |
correct order.
|
|
|
|
|
|
|
|
|
|
| |
using *_bus_dmamap_sync() defines that are defined appropriately
depending on __HAS_NEW_BUS_DMAMAP_SYNC.
Most of the code changes are simple reversions to the original NetBSD
code.
Slip in a siop_script_sync() instead of a manually done code section.
|
|
|
|
|
|
|
|
| |
preferences. Having more debugging info available during
fixup of this driver to work on powerpc can't hurt either!
Change adwminphys() to adw_minphys() to make consistant with all
other function names in adw.c.
|
| |
|
| |
|
|
|
|
| |
Move the microcode files to dev/microcode/adw/*.
|
|
|
|
|
|
|
|
| |
Replace last ADV/ASC/Adv, etc. uses with ADW/Adw as appropriate.
Delete comments about non-existant structure members,
correct references to existing structure members to use
correct structure names or typedefs.
|
|
|
|
|
|
|
|
| |
negotiation results on one line, during boot polling only, in same
format as now used in siop.
Move one check for probe INQUIRY commands to poll loop rather than
checking every good I/O twice.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- actually check the returned scsi_status value and act accordingly
instead of ALWAYS returning XS_NOERROR
- always return the scsi status value in xs->status for completed
requests
- no longer reference ccb->xs and ccb->dmamap_xfer if an 'unallocated'
ccb is encountered
- immediately remove the ccb adw_isr_callback is working on from the
pending list, leaving it in limbo until it is put on the free list
just before any return
- 'freeze' a target only when a scsi_status indicating it is busy is
encountered, and 'thaw' a target whenever a bus reset is done or a
request completes
- check done_status, host_status and scsi_status in that order as is
done in the linux driver and was done here until very recently, which
seems cleaner to me. But opinions may vary. The only behaviour change
that should result is that done_status of QD_NO_STATUS no longer
causes a check of host_status values, but is an error causing a
XS_DRIVER_STUFFUP
- produce a more general error message with actual values for
host_status, scsi_status and done_status values, with references to
adw(4) for more details on the error where appropriate (man page
update coming)
- take what seems like appropriate action for all known host_status,
scsi_status and done_status values with more use of XS_RESET where
appropriate
- use adw_reset_bus() instead of AdwResetSCSIBus() in
adw_async_callback() so pending requests are requeued and devices left
unfrozen when this happens
- print an error message with the code # when adw_async_callback is
called with an unknown code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2.7 through the released 2.8.
As NetBSD describes the problem:
DMA failure still arise when AdvanSys U[2]W host adapters
are used in conjunction with Intel 82443BX Host
Bridge/Controller (rev. 0x03).
With a correct sg_cnt, scatter/gather lists with >1 element
no longer reference random(?) memory. Now the mystery
is why this didn't cause more problems on other chipsets.
Installs of 2.7 and 2.8 to a drive on an adw bus now work even
if the motherboard uses the 82443BX.
So many problems from one character ...
|
| |
|
|
|
|
|
|
|
|
| |
information. Left over from old attempt to fit adw with U3W on
floppyxx.fs instead of floppyBxx.fs.
Puts 'sdx at ...' msgs back at the start of their own lines so
the drives can be found during (I)nstall or (U)pgrade!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove #include <vm/vm_param.h>
and #include <vm/pmap.h>
as they are already included with
#include <vm/vm.h>
- more Adv -> Adw, ADV -> ADW adjustments & other
minor formatting corrections
plus:
- put 'Carrier Ready failure!' warning message inside
#ifdef ADW_DEBUG/#endif as it appears under heavy load
but is nothing but a reminder the card was too busy to
notice a 'tickle' from the driver.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
adw.c synched with v1.23 (from v1.14)
adw.h v1.9 ( v1.5 )
adwlib.c v1.17 ( v1.7 )
adwlib.h v1.13 ( v1.7 )
adwmcode.c v1.5 ( v1.2 )
adwmcode.h v1.5 ( v1.2 )
microcode for cards is updated to latest version,
loss of carrier problems are solved in a more
robust manner than before, lots of code cleanup.
first support for upcoming U3W cards added, as
a result of which the driver is now too large
for RAMDISK and has been moved to RAMDISKB.
Most of the work done by dante@ NetBSD.
|
| |
|
| |
|
|
|
|
| |
interrupt context. thorpej@netbsd.org
|
| |
|