Age | Commit message (Collapse) | Author |
|
|
|
|
|
some non-fatal printfs into ifdef debug
|
|
|
|
I've skipped the GNU stuff for now. From Patrick Latifi.
|
|
miod/henning/deraadt
|
|
|
|
krw@ ok
|
|
|
|
during DMA transfers to work correctly with LBA48 drives.
Based on diff from Takeshi Nakayama <tn@catvmics.ne.jp> for NetBSD
with some corrections from FreeBSD ATA driver.
|
|
|
|
|
|
|
|
|
|
by millert
|
|
statically allocated maps.
Significant performance boost on both sparc64 and macppc.
Tested on macppc by drahn@.
ok jason@ drahn@.
|
|
|
|
|
|
|
|
mapped and sync'ed appropriately, and is guaranteed to be in one
memory page.
Eliminate now unused dmamap_cmd and rs_cmd fields.
Fix another error message (adding active command to reset list) so
that it includes the adapter name.
Add missing letoh32() calls to debug code.
The evils of directly mapping *xs->cmd were pointed out by Mickey
during osiop development. In particular, *xs->cmd may start on one
memory page and run into the next. Since the dma logic in most
cards/drivers (including siop) only allocates one address/size pair to
map *xs->cmd, parts of a command could be lost or corrupted.
The large number of 6 byte dma mappings noted long ago by someone
(Henric?). This change reduces the dma mapping activity per i/o by
1/3 to 1/2 and may give a performance boost of some kind.
Successfully tested on i386, sparc64 (ultra30 - thanks Jolan,
blade100), macppc and alpha.
Unfortunately these changes don't fix the Blade1000 siop problems.
**NOTE** If scsi_generic is ever upped to 16 bytes the offsets in
siop.ss must be updated!
|
|
- don't hardcode funrpm sensors number in wb_fanrpm(), instead pass
it as a parameter since WB83697 actually has only 2 sensors, not 3
from Otto Moerbeek <otto@drijf.net>.
|
|
|
|
|
|
|
|
TARST_ASYNC if a bus reset occurred while in TARST_PROBING.
Improve DMA IRQ error message to always display the adapter name.
Correct an indent botch.
All of which doesn't help the Blade1000 boot, though it is now both
less noisy and more informative.
|
|
|
|
|
|
|
|
done with it. This makes "wdcprobe()" consistent with "wdcattach()".
ok grange@
|
|
adapt all bus_space functions to do proper endianness conversion whenever
necessary, except for the raw ones.
This allows us to remove the forced endianness conversions in if_wi.
with help from and ok mickey@
|
|
|
|
|
|
need to advertise the capability; tested by tsar at polarcap dot org
|
|
combination, found on the Tadpole SPARCbook 3 only (later model use the
Power9100 and are already supported).
Untested for lack of hardware and volunteers, but carefully crafted; if it
does not work out of the box, this should be a good starting point.
"worth having in the tree" millert@
|
|
and give be archs a better chance at getting the correct mac address as tested on the mac and hppa where mac has an additional bug w/ the phy bit still remaining and hppa seems fine; jason@ ok
|
|
|
|
a) Set xs->status rather than cmd_tables->status because there will be
no interrupt processing to move it from cmd_tables->status to
xs->status.
b) Set cmd_c.status to correct value (CMDST_SENSE_DONE) when an active
sense command is reset.
c) Don't put a reset command from the ready queue into the free_list
twice, once in siop_scsicmd_end() and once manually.
Condition a) meant that the scsi layer was seeing successfully
completed i/o's (xs->error == XS_NOERROR) when they were in fact reset
and should have had xs->error == XS_TIMEOUT or xs->error == XS_RESET.
This meant lost data on output, and random or zero'ed data on input.
Condition b) meant that the wrong bus_dmamap_sync() was called, though
the actual action was apparently identical.
Condition c) meant that the free_list could become corrupt.
The problem was discovered by pb@ on a heavily loaded server that
experienced timeouts. This fix was tested by pb@ and henric@ to prove
it did not affect normal processing. If nothing else it will provide
better error messages if the problem is ever encountered again.
Probably a good candidate for -stable if pb@ can successfully
reproduce his timeout problems and not have his server crash.
|
|
freebsd does as well
|
|
|
|
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
|
random lockups; tested by brad@ on all models
|
|
cgthree. ok miod.
|
|
ok pb@
|
|
before we switch to wsdisplay, and this can clobber the font image in some
cases, especially lower (<= 1024x768) resolutions.
|
|
ok jason@
|
|
where required and modify existing ones to use a consistant delay(25).
From NetBSD with minor mods.
ok mickey@.
|