|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
718cf2cc |
| 27-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
sys/dev: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error
sys/dev: further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
9c81a61e |
| 19-Mar-2017 |
Alexander Motin <[email protected]> |
Remove hackish code delaying ATIOs to unknown virtual port.
Since we support RQSTYPE_RPT_ID_ACQ, that functionality is only useful in loop mode, which probably doesn't worth having this hack in 2017
Remove hackish code delaying ATIOs to unknown virtual port.
Since we support RQSTYPE_RPT_ID_ACQ, that functionality is only useful in loop mode, which probably doesn't worth having this hack in 2017.
MFC after: 2 weeks
show more ...
|
| #
e2a658cb |
| 19-Mar-2017 |
Alexander Motin <[email protected]> |
Move <= 23xx PDB workaround to generic code.
It is chip-specific and has nothing to do with platform.
MFC after: 2 weeks
|
| #
5a5632c2 |
| 19-Mar-2017 |
Alexander Motin <[email protected]> |
Move 24xx RQSTYPE_NOTIFY handling to generic code.
This code has nothing to do with specific platform.
MFC after: 2 weeks
|
| #
87b04de6 |
| 18-Mar-2017 |
Alexander Motin <[email protected]> |
Reorganize RQSTYPE_NOTIFY handling for chips <= 23xx.
There were two copies of the code: one in generic code was half-broken, and another in platform code was never called. Leave only one in generi
Reorganize RQSTYPE_NOTIFY handling for chips <= 23xx.
There were two copies of the code: one in generic code was half-broken, and another in platform code was never called. Leave only one in generic code and working.
MFC after: 2 weeks
show more ...
|
| #
981ffc4e |
| 18-Mar-2017 |
Alexander Motin <[email protected]> |
Move RQSTYPE_ABTS_RCVD parsing into generic code.
MFC after: 2 weeks
|
| #
15c62456 |
| 18-Mar-2017 |
Alexander Motin <[email protected]> |
Extend nt_lun to full 8 byte.
MFC after: 2 weeks
|
| #
98b08fbe |
| 18-Mar-2017 |
Alexander Motin <[email protected]> |
Remove dead remnants of SPI target.
MFC after: 2 weeks
|
| #
782a8e7c |
| 18-Mar-2017 |
Alexander Motin <[email protected]> |
Use isp_target_put_entry() in places where it can be.
This unifies the code and removes some duplication.
MFC after: 2 weeks
|
| #
44a2a27a |
| 18-Mar-2017 |
Alexander Motin <[email protected]> |
Do some notify acks cleanup.
ISPASYNC_TARGET_NOTIFY_ACK makes no sense without argument.
MFC after: 2 weeks
|
| #
9c2e9bcf |
| 14-Mar-2017 |
Alexander Motin <[email protected]> |
Remove some dead/broken code paths around async handling
MFC after: 2 weeks
|
| #
229203af |
| 12-Mar-2017 |
Alexander Motin <[email protected]> |
Remove code for unsupported FreeBSD versions.
MFC after: 2 weeks
|
| #
a6036a44 |
| 26-Feb-2017 |
Alexander Motin <[email protected]> |
Fix residual length reporting in target mode.
This allows to properly handle cases when target wants to receive or send more data then initiator wants to send or receive. Previously in such cases i
Fix residual length reporting in target mode.
This allows to properly handle cases when target wants to receive or send more data then initiator wants to send or receive. Previously in such cases isp(4) returned CAM_DATA_RUN_ERR, while now it returns resid > 0.
MFC after: 2 weeks
show more ...
|
| #
8290ea90 |
| 22-Feb-2017 |
Alexander Motin <[email protected]> |
Fix multiple problems around LUN disable under load.
- Move private data about ATIOs/INOTs from per-LUN to per-channel data. This allows active commands to continue operation after LUN destruction.
Fix multiple problems around LUN disable under load.
- Move private data about ATIOs/INOTs from per-LUN to per-channel data. This allows active commands to continue operation after LUN destruction. This also simplifies lookup of the data by tag in some situations. - Unify three restart_queue processing implementations. - Complete all ATIOs from restart_queue on LUN disable. - Delete ATIO private data when command completed or aborted, not depending on the ATIO being requeued, that was ugly hack and could never happen. CAM should always call ether XPT_CONT_TARGET_IO with status or XPT_ABORT. - Implement XPT_ABORT for queued ATIOs/INOTs to allow CAM do graceful shutdown, not depending on LUN disable, as it is done in ahd(4)/targ(4). - Unify isp_endcmd() arguments to make it more usable in generic code. - Remove never really used LUN state reference counter.
MFC after: 2 weeks
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
352427b3 |
| 19-May-2016 |
Alexander Motin <[email protected]> |
Add proper reporting for early task management errors.
This covers unknown requests and requests to unknown virtual ports. Previously it "worked" only because of timeout handling on initiator.
|
| #
93d07b9a |
| 18-May-2016 |
Alexander Motin <[email protected]> |
Unify Multi ID target code by reusing isp_find_chan_by_did().
|
| #
d2a2ccbc |
| 13-May-2016 |
Alexander Motin <[email protected]> |
Fix FCP_CMD LENGTH mask in ATIO7 IOCB.
This caused "long IU length (16384) ignored" errors following by others.
MFC after: 2 weeks
|
|
Revision tags: release/10.3.0 |
|
| #
970ceb2f |
| 25-Dec-2015 |
Alexander Motin <[email protected]> |
Unify handles allocation for initiator and target IOCBs.
I am not sure why this was split long ago, but I see no reason for it. At this point this unification just slightly reduces memory usage, but
Unify handles allocation for initiator and target IOCBs.
I am not sure why this was split long ago, but I see no reason for it. At this point this unification just slightly reduces memory usage, but as next step I plan to reuse shared handle space for other IOCB types.
show more ...
|
| #
e2929f5f |
| 24-Nov-2015 |
Alexander Motin <[email protected]> |
Rename ASYNC_LIP_F8 to ASYNC_LIP_NOS_OLS_RECV.
New name better repsents its meaning for modern chips.
|
| #
3e6deb33 |
| 23-Nov-2015 |
Alexander Motin <[email protected]> |
Rip off target mode support for parallel SCSI QLogic adapters.
Hacks to enable target mode there complicated code, while didn't really work. And for outdated hardware fixing it is not really intere
Rip off target mode support for parallel SCSI QLogic adapters.
Hacks to enable target mode there complicated code, while didn't really work. And for outdated hardware fixing it is not really interesting.
Initiator mode tested with Qlogic 1080 adapter is still working fine.
show more ...
|
| #
c5fd36ed |
| 18-Nov-2015 |
Alexander Motin <[email protected]> |
Remove some confusions between loopid and nphdl.
Modern cards in most cases operate abstract port handles, that have no any relation to real loop IDs. Leave loopid used only where it really goes ab
Remove some confusions between loopid and nphdl.
Modern cards in most cases operate abstract port handles, that have no any relation to real loop IDs. Leave loopid used only where it really goes about local loop IDs.
While there, fix few more cases where LUNs were still printed in decimal.
show more ...
|
| #
33d34744 |
| 25-Oct-2015 |
Alexander Motin <[email protected]> |
Deliver INOTs only to enabled virtual ports.
|
| #
6af11b82 |
| 24-Oct-2015 |
Alexander Motin <[email protected]> |
Add PIM_EXTLUNS support to isp(4) driver.
Now 24xx and above chips support full 8-byte LUN address space. Older FC chips may support up to 16K LUNs when firmware allows. Tested in both initiator and
Add PIM_EXTLUNS support to isp(4) driver.
Now 24xx and above chips support full 8-byte LUN address space. Older FC chips may support up to 16K LUNs when firmware allows. Tested in both initiator and target modes for 23xx, 24xx and 25xx.
show more ...
|
| #
c98d2b1f |
| 23-Oct-2015 |
Alexander Motin <[email protected]> |
Add partial support for QUERY TMF to CAM and isp(4).
This change allows to decode respective functions in isp(4) in target mode and pass them through CAM to CTL. Unfortunately neither CAM nor isp(4
Add partial support for QUERY TMF to CAM and isp(4).
This change allows to decode respective functions in isp(4) in target mode and pass them through CAM to CTL. Unfortunately neither CAM nor isp(4) support returning response info for those task management functions now.
On the other side I just have no initiator to test this functionality.
show more ...
|
| #
37a7daac |
| 23-Oct-2015 |
Alexander Motin <[email protected]> |
Improve INOTs handling for 24xx and above chips.
|