| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Approved by: re (implicit)
This commit was manufactured to restore the state of the 7.3-RELEASE image.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Remove redundant zeroing of tmf_req which Coverity Prevent(tm) complains
about. [2]
Submitted by: Christoph Mallon [1]
Found with: Coverity Prevent(tm) [2]
CID: 2496 [2]
Notes:
svn path=/stable/7/; revision=197344
|
| |
|
|
|
|
|
|
| |
Use MPT_MAX_LUNS as maximium number of LUNs, not 7, for SAS and FC cases.
This matches Linux driver behavior (except SPI case).
Notes:
svn path=/stable/7/; revision=196032
|
| |
|
|
|
|
|
| |
recovery thread.
Notes:
svn path=/stable/7/; revision=192975
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the whole initiator mode part of mpt(4) endian-clean,
specifically SPI controllers now also work in big-endian
machines and some conversions relevant for FC and SAS
controllers as well as support for ILP32 machines which all
were omitted in previous attempts are now also implemented.
The IOCTL-interface is intentionally left (and where needed
actually changed) to be completely little-endian as otherwise
we would have to add conversion code for every possible
configuration page to mpt(4), which didn't seem the right
thing to do, neither did converting only half of the user-
interface to the native byte order.
This change was tested on amd64 (SAS+SPI), i386 (SAS) and
sparc64 (SAS+SPI). Due to lack of the necessary hardware
the target mode code is still left to be made endian-clean.
Reviewed by: scottl
Notes:
svn path=/stable/7/; revision=189999
|
| |
|
|
|
|
|
| |
Restore multi-release tradition of the driver.
Notes:
svn path=/stable/7/; revision=189998
|
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=181277
|
| |
|
|
|
|
|
| |
properly initialized.
Notes:
svn path=/stable/7/; revision=181276
|
| |
|
|
|
|
|
| |
monitoring kthread of the mpt(4) driver.
Notes:
svn path=/stable/7/; revision=180920
|
| |
|
|
|
|
|
| |
in the request buffer.
Notes:
svn path=/stable/7/; revision=180669
|
| |
|
|
|
|
|
| |
handler.
Notes:
svn path=/stable/7/; revision=180666
|
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=180057
|
| |
|
|
|
|
|
|
|
| |
date: 2008/05/10 01:27:23; author: delphij; state: Exp; lines: +6 -0
Add support for LSI 1078DE (ServeRAID-AR10is SAS/SATA Controller)
Notes:
svn path=/stable/7/; revision=179271
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
date: 2007/11/03 17:33:41; author: scottl; state: Exp; lines: +2 -1
Ever since the module registration system was introduced to this driver,
it's been printing out scary messages about "Unhanded Event Notify Frame"
that are needlessly worrisome to users. Change this warning to only print
out at an elevated debugging level.
Approved by: re (kensmith)
Notes:
svn path=/stable/7/; revision=174621
|
| |
|
|
|
|
|
|
|
|
| |
date: 2007/10/12 06:03:43; author: kevlo; state: Exp; lines: +3 -3
Spelling fix for interupt -> interrupt
Approved by: re (kensmith)
Notes:
svn path=/stable/7/; revision=174620
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/stable/7/; revision=172809
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the mfi(4) LSI MegaSAS RAID card. Looking at the Linux driver for the
mpt(4) it should be 0x0062 and not 0x0060. Tested with an mfi card
of this device id.
Approved by: re (bmah)
Reviewed by: scottl
MFC after: 3 days
Notes:
svn path=/head/; revision=172219
|
| |
|
|
|
|
|
|
|
|
| |
error recovery.
Approved by: re
Found by: kan
Notes:
svn path=/head/; revision=171842
|
| |
|
|
| |
Notes:
svn path=/head/; revision=170924
|
| |
|
|
|
|
|
|
|
|
| |
now takes a device_t to be the parent of the bus that is being created.
Most SIMs have been updated with a reasonable argument, but a few exceptions
just pass NULL for now. This argument isn't used yet and the newbus
integration likely won't be ready until after 7.0-RELEASE.
Notes:
svn path=/head/; revision=170872
|
| |
|
|
| |
Notes:
svn path=/head/; revision=170276
|
| |
|
|
| |
Notes:
svn path=/head/; revision=170271
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mpt.h:
Add support for reading extended configuration pages.
mpt_cam.c:
Do a top level topology scan on the SAS controller. If any SATA
device are discovered in this scan, send a passthrough FIS to set
the write cache. This is controllable through the following
tunable at boot:
hw.mpt.enable_sata_wc:
-1 = Do not configure, use the controller default
0 = Disable the write cache
1 = Enable the write cache
The default is -1. This tunable is just a hack and may be
deprecated in the future.
Turning on the write cache alleviates the write performance problems with
SATA that many people have observed. It is not recommend for those who
value data reliability! I cannot stress this strongly enough. However,
it is useful in certain circumstances, and it brings the performence in line
with what a generic SATA controller running under the FreeBSD ATA driver
provides (and the ATA driver has had the WC enabled by default for years).
Notes:
svn path=/head/; revision=170252
|
| |
|
|
| |
Notes:
svn path=/head/; revision=170251
|
| |
|
|
|
|
|
|
| |
Obtained from: 99% of the work done by Scott Long.
MFC after: 3 days
Notes:
svn path=/head/; revision=169293
|
| |
|
|
|
|
|
| |
couple of associated error checks.
Notes:
svn path=/head/; revision=168831
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
use to synchornize and protect all data objects that are used for that
SIM. Drivers that are not yet MPSAFE register Giant and operate as
usual. RIght now, no drivers are MPSAFE, though a few will be changed
in the coming week as this work settles down.
The driver API has changed, so all CAM drivers will need to be recompiled.
The userland API has not changed, so tools like camcontrol do not need to
be recompiled.
Notes:
svn path=/head/; revision=168752
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=168470
|
| |
|
|
| |
Notes:
svn path=/head/; revision=167426
|
| |
|
|
|
|
|
| |
multi-release support.
Notes:
svn path=/head/; revision=166935
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many
Approved by: re@
Notes:
svn path=/head/; revision=166901
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
attachment of new devices that arrive (and we notice them
via async Fibre Channel events). We've always had the
right thing (of sorts) happen when devices go away- this
is the corollary function that makes multipath failover
actually work.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=166897
|
| |
|
|
| |
Notes:
svn path=/head/; revision=166721
|
| |
|
|
|
|
|
| |
a problem, but caused annoying messages.
Notes:
svn path=/head/; revision=166227
|
| |
|
|
|
|
|
| |
Some code to make diffs with RELENG_6 easier.
Notes:
svn path=/head/; revision=165814
|
| |
|
|
|
|
|
| |
closer to __FreeBSD_version comparison for this.
Notes:
svn path=/head/; revision=165808
|
| |
|
|
|
|
|
|
| |
non-CAM_NEW_TRAN code) to make diffs to previous FreeBSD
versions more manageable.
Notes:
svn path=/head/; revision=165274
|
| |
|
|
|
|
|
|
|
| |
PR: 106536
Suggested by: Norikatsu Shigemura
MFC after: 3 days
Notes:
svn path=/head/; revision=165058
|
| |
|
|
|
|
|
| |
the ENDIAN defines are consistent between mpt.h and mpt.c.
Notes:
svn path=/head/; revision=164998
|
| |
|
|
| |
Notes:
svn path=/head/; revision=164990
|
| |
|
|
| |
Notes:
svn path=/head/; revision=164907
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
read wasn't flagging the SYNC mode was enabled. The temp
values for offset and sync period were uint8_t, but were
being assigned and shifted from a uint32_t value.
This didn't show up in testing because a random number
of 1030 cards set a bit that says "honor BIOS negotiation",
which means this whole code path was skipped.
This should clear up at least some of the negotation
issues that have been seen.
Notes:
svn path=/head/; revision=164846
|
| |
|
|
|
|
|
| |
the number of attached devices is 16 bits wide, not 8 bits wide.
Notes:
svn path=/head/; revision=164838
|
| |
|
|
|
|
|
|
|
| |
Fix things to use the LSI-Logic Fusion Library mask and shift names for
offset and sync, no matter how awkward they are, in preference to just
plain numbers.
Notes:
svn path=/head/; revision=164837
|
| |
|
|
| |
Notes:
svn path=/head/; revision=164417
|
| |
|
|
| |
Notes:
svn path=/head/; revision=164416
|
| |
|
|
|
|
|
|
| |
pending list and set the state back to free prior to calling mpt_reset
so we don't panic at a later point.
Notes:
svn path=/head/; revision=164415
|
| |
|
|
|
|
|
| |
commit broke things.
Notes:
svn path=/head/; revision=164349
|
| |
|
|
|
|
|
|
|
| |
This allows us to play nicely on SANs when we have target mode
enabled in f/w but have neither the scsi_targbh enabled or
scsi_targ with a target enabled.
Notes:
svn path=/head/; revision=164348
|
| |
|
|
|
|
|
|
|
|
|
| |
different cards (SAS, 4Gb FC), MSI seems to work with
the cards.
This was of some concern because some PCI cards
claim to work with MSI but don't.
Notes:
svn path=/head/; revision=164326
|