Author: mjacob
Date: Wed Dec 25 04:51:56 2013
New Revision: 259860
URL: http://svnweb.freebsd.org/changeset/base/259860
Log:
Harvest one no longer used constant string.
Remove another and place it into play in the
normally ifdef protected zone it would be used
int.
Noticed by:
Author: mjacob
Date: Sat Aug 17 01:17:51 2013
New Revision: 254436
URL: http://svnweb.freebsd.org/changeset/base/254436
Log:
Correct sentence syntax too.
Modified:
head/share/man/man9/sleep.9
Modified: head/share/man/man9/sleep.9
Author: mjacob
Date: Tue Feb 26 21:37:12 2013
New Revision: 247356
URL: http://svnweb.freebsd.org/changeset/base/247356
Log:
Remove redundant xpt_alloc_ccb in isp_target_thread that was causing leakage.
Pointed out by: Sascha Wildner of DragonFly BSD
MFC after:1 week
Modified:
Author: mjacob
Date: Mon Feb 25 11:22:54 2013
New Revision: 247264
URL: http://svnweb.freebsd.org/changeset/base/247264
Log:
Turn off fast posting for the ISP2100- I'd forgotten that it actually
might have been enabled for them- now that we use all 32 bits of handle.
Fast Posting doesn't
Author: mjacob
Date: Mon Feb 25 14:06:24 2013
New Revision: 247266
URL: http://svnweb.freebsd.org/changeset/base/247266
Log:
Don't try and negotiate sync mode if either period or offset are zero.
PR: kern/163064
Partially Submitted by: Peter p...@citylink.dinoex.sub.org
Author: mjacob
Date: Fri Nov 2 14:37:21 2012
New Revision: 242479
URL: http://svn.freebsd.org/changeset/base/242479
Log:
Don't allow for more than one segment for the control space since
we're not set up to deal with that.
MFC after:1 week
Modified:
head/sys/dev/isp/isp_pci.c
Author: mjacob
Date: Fri Nov 2 14:38:57 2012
New Revision: 242480
URL: http://svn.freebsd.org/changeset/base/242480
Log:
Don't allow for more than one segment for the control space since
we're not set up to deal with that.
X-MFC:242479
MFC after:1 week
Modified:
Author: mjacob
Date: Mon Sep 17 02:49:02 2012
New Revision: 240589
URL: http://svn.freebsd.org/changeset/base/240589
Log:
Add some edits to the changed comments so that they make more sense.
MFC after:1 day
Modified:
head/sys/dev/isp/isp_freebsd.c
Modified:
Author: mjacob
Date: Mon Sep 17 02:50:16 2012
New Revision: 240590
URL: http://svn.freebsd.org/changeset/base/240590
Log:
Minor correction.
MFC after:1 day
Modified:
head/sys/dev/isp/isp_freebsd.c
Modified: head/sys/dev/isp/isp_freebsd.c
Author: mjacob
Date: Tue Aug 21 16:18:11 2012
New Revision: 239502
URL: http://svn.freebsd.org/changeset/base/239502
Log:
Remove dependence on MAXPHYS.
MFC after:1 month
Modified:
head/sys/dev/isp/isp_freebsd.h
head/sys/dev/isp/isp_pci.c
head/sys/dev/isp/isp_sbus.c
Modified:
Author: mjacob
Date: Thu Aug 16 15:32:16 2012
New Revision: 239330
URL: http://svn.freebsd.org/changeset/base/239330
Log:
On lun disable, complete all INOTs and ATIOs with CAM_REQ_ABORTED.
Reviewed by: ken (silently), chuck
MFC after:3 weeks
Modified:
Author: mjacob
Date: Sun Aug 12 17:01:07 2012
New Revision: 239213
URL: http://svn.freebsd.org/changeset/base/239213
Log:
1. Remove SEN support. I doubt there are any working examples
of this hardware still running (close to twenty years now).
2. Quiesece and use ENC_VLOG instead of
Author: mjacob
Date: Sun Aug 12 20:45:47 2012
New Revision: 239218
URL: http://svn.freebsd.org/changeset/base/239218
Log:
Fix an oops where we wiped out DMA maps. Don't allocate extended
command space for anything less than a 2300.
MFC after:1 month
X-MFC:238869
Author: mjacob
Date: Sun Aug 12 20:49:25 2012
New Revision: 239219
URL: http://svn.freebsd.org/changeset/base/239219
Log:
Remove extraneous newline.
MFC after:1 month
Modified:
head/sys/dev/isp/isp.c
Modified: head/sys/dev/isp/isp.c
Author: mjacob
Date: Wed Aug 8 18:24:33 2012
New Revision: 239143
URL: http://svn.freebsd.org/changeset/base/239143
Log:
More rototilling with target mode in an attemp to get multiple
CCB at a time outstanding reliable. It's not there yet, but this
is the direction to go in so might as
Author: mjacob
Date: Fri Aug 3 14:25:35 2012
New Revision: 239010
URL: http://svn.freebsd.org/changeset/base/239010
Log:
Oops. We only do allocate room for extended commands
and responses for 2300 cards are newer.
Sponsored by: Spectralogic
Noticed by: Our Friend Manfred
MFC
Author: mjacob
Date: Sat Aug 4 00:00:30 2012
New Revision: 239023
URL: http://svn.freebsd.org/changeset/base/239023
Log:
Add detach logic to SBus variant.
Obtained from:Marius
MFC after:1 month
Modified:
head/sys/dev/isp/isp_sbus.c
Modified: head/sys/dev/isp/isp_sbus.c
Author: mjacob
Date: Sun Jul 29 14:21:42 2012
New Revision: 238887
URL: http://svn.freebsd.org/changeset/base/238887
Log:
Grr.!$()!$$ I missed checking this in even though I *did* run
a tinderbox myself and caught the error.
Change to isp_send_cmd needs a final ecmd argument.
Author: mjacob
Date: Sat Jul 28 20:06:29 2012
New Revision: 238869
URL: http://svn.freebsd.org/changeset/base/238869
Log:
---
MISC CHANGES
Add a new async event- ISP_TARGET_NOTIFY_ACK, that will guarantee
eventual delivery of a NOTIFY ACK. This is tons better than just
Author: mjacob
Date: Sat Jul 28 20:08:14 2012
New Revision: 238870
URL: http://svn.freebsd.org/changeset/base/238870
Log:
Handle a case where we had an SRR that pushed back the
data pointer. This is a temp fix that resubmits the
command, adjusted, so that the backend can fetch the
data
Author: mjacob
Date: Sat Jul 14 02:59:11 2012
New Revision: 238437
URL: http://svn.freebsd.org/changeset/base/238437
Log:
The call to disk_resize causes a panic if DIAGNOSTIC is set.
Coping with that while the finest minds of our generation
figure out why.
Modified:
Author: mjacob
Date: Sun Jun 24 17:30:54 2012
New Revision: 237537
URL: http://svn.freebsd.org/changeset/base/237537
Log:
Clean up multi-id mode so it's driven by the f/w loaded,
not by some hint setting. Do more preparations for FC-Tape.
Clean up resource counting for 24XX or later
Author: mjacob
Date: Mon Jun 25 03:06:29 2012
New Revision: 237544
URL: http://svn.freebsd.org/changeset/base/237544
Log:
Unbreak register tests for parallel SCSI.
You can't overwrite registers 7 and 8.
MFC after:3 days
Modified:
head/sys/dev/isp/isp.c
Modified:
Author: mjacob
Date: Wed Jun 20 17:20:25 2012
New Revision: 237329
URL: http://svn.freebsd.org/changeset/base/237329
Log:
Fix ARM compilation issue.
X-MFC: 237260
Modified:
head/usr.sbin/mfiutil/mfi_drive.c
Modified: head/usr.sbin/mfiutil/mfi_drive.c
Author: mjacob
Date: Sun Jun 17 21:39:40 2012
New Revision: 237210
URL: http://svn.freebsd.org/changeset/base/237210
Log:
Prepare for FC-Tape support. This involved doing a lot of little cleanups
and crosschecks against firmware documentation. We now check and report
FC firmware attributes
Author: mjacob
Date: Sun Jun 17 21:47:24 2012
New Revision: 237212
URL: http://svn.freebsd.org/changeset/base/237212
Log:
Roll to the latest 2400/2500 firmware available from the public QLogic
website.
Sponsored by: Spectralogic
MFC after:1 week
Modified:
Author: mjacob
Date: Fri Jun 15 15:28:15 2012
New Revision: 237135
URL: http://svn.freebsd.org/changeset/base/237135
Log:
If debug values were set, the default from tval floated
down and triggered an attempt to set multiple virtual
ports whether you wanted them or not.
MFC after:3
Author: mjacob
Date: Fri Jun 1 23:24:56 2012
New Revision: 236426
URL: http://svn.freebsd.org/changeset/base/236426
Log:
Print FC PortID as a hex number. This makes it easy to
figure out domain, etc..
Zero ATIO and INOTify allocations. It makes for much
less guesswork when looking at
Author: mjacob
Date: Fri Jun 1 23:29:48 2012
New Revision: 236427
URL: http://svn.freebsd.org/changeset/base/236427
Log:
Clean up and complete the incomplete deferred enable code.
Make the default role NONE if target mode is selected. This
allows ctl(8) to switch to/from target mode via
Author: mjacob
Date: Tue Dec 27 14:59:24 2011
New Revision: 228914
URL: http://svn.freebsd.org/changeset/base/228914
Log:
Fix target mode compilation issues that arose after a change
in the sense data structures.
MFC after:1 week
Modified:
head/sys/dev/isp/isp_freebsd.c
Author: mjacob
Date: Sun Nov 6 00:44:40 2011
New Revision: 227126
URL: http://svn.freebsd.org/changeset/base/227126
Log:
Implement the sysctl's for fibre channel that are listed in the man page.
MFC after:3 days
Modified:
head/sys/dev/isp/isp_freebsd.c
Author: mjacob
Date: Sat Aug 13 23:34:17 2011
New Revision: 224856
URL: http://svn.freebsd.org/changeset/base/224856
Log:
Most of these changes to isp are to allow for isp.ko unloading.
We also revive loop down freezes. We also externaliz within isp
isp_prt_endcmd so something outside the
Author: mjacob
Date: Fri Aug 12 19:51:28 2011
New Revision: 224804
URL: http://svn.freebsd.org/changeset/base/224804
Log:
Fixes zombie device and loop down timers so that they work more than
once. Use taskqueues to do the actual work.
Fix an offset line.
Fix isp_prt so that prints
Author: mjacob
Date: Fri Aug 12 20:09:38 2011
New Revision: 224806
URL: http://svn.freebsd.org/changeset/base/224806
Log:
Fixes for sure bus reference miscounting and potential device and
target reference miscounts. It also adds a helper function to get
the current reference counts for
Author: mjacob
Date: Thu Mar 10 23:53:01 2011
New Revision: 219471
URL: http://svn.freebsd.org/changeset/base/219471
Log:
Add support QLE220 card- an 2500 lookalike.
Obtained mostly from: Roman Konstantin
MFC after:1 week
Modified:
head/sys/dev/isp/isp_pci.c
Modified:
Author: mjacob
Date: Sat Mar 5 00:59:34 2011
New Revision: 219282
URL: http://svn.freebsd.org/changeset/base/219282
Log:
Flush both reads *and* writes to registers.
Obtained from:Miod Vallat in OpenBSD
MFC after:1 week
Modified:
head/sys/dev/isp/isp_freebsd.h
Modified:
Author: mjacob
Date: Thu Mar 3 18:28:21 2011
New Revision: 219241
URL: http://svn.freebsd.org/changeset/base/219241
Log:
Don't automatically send a START UNIT to sequential access devices-
this might cause them to load the tape unintentionally.
Reviewed by: gibbs
MFC after:1
Author: mjacob
Date: Mon Feb 28 15:58:30 2011
New Revision: 219098
URL: http://svn.freebsd.org/changeset/base/219098
Log:
Sync FreeBSD ISP with mercurial tree. Minor changes having to do with
a macro for minima.
Modified:
head/sys/dev/isp/isp.c
head/sys/dev/isp/isp_freebsd.c
Author: mjacob
Date: Sat Nov 27 20:33:08 2010
New Revision: 215951
URL: http://svn.freebsd.org/changeset/base/215951
Log:
Partially revert 208119. We were overwriting tunable settings.
Obtained from:Oleg Sharoyko
MFC after:1 week
Modified:
head/sys/dev/isp/isp_freebsd.c
Author: mjacob
Date: Fri Aug 20 17:20:05 2010
New Revision: 211529
URL: http://svn.freebsd.org/changeset/base/211529
Log:
Revert r211434. Offline discussions have convinced me that this should
be left alone for now.
Modified:
head/sys/cam/scsi/scsi_da.c
Modified:
Author: mjacob
Date: Tue Aug 17 17:11:15 2010
New Revision: 211434
URL: http://svn.freebsd.org/changeset/base/211434
Log:
Now is as good a time as any to find out if we induce breakage
by issueing aborts for any pending commands when we're decommssioning
a disk.
MFC after:3 months
Author: mjacob
Date: Fri Aug 13 15:17:19 2010
New Revision: 211282
URL: http://svn.freebsd.org/changeset/base/211282
Log:
Avoid a memory leak.
Submitted by: Dmitry Luhtionov via Alexander Motin
MFC after:1 week
Modified:
head/sbin/geom/class/multipath/geom_multipath.c
Modified:
Author: mjacob
Date: Wed Aug 11 17:25:14 2010
New Revision: 211183
URL: http://svn.freebsd.org/changeset/base/211183
Log:
Consistently set us to be SPC3 for our inquiry data.
For mptest, add delays to I/O that simulate real disks better. This
also allows us to simulate what happens when
Author: mjacob
Date: Mon Aug 9 00:36:22 2010
New Revision: 211088
URL: http://svn.freebsd.org/changeset/base/211088
Log:
Add a multipath oriented test.
Added:
head/tools/tools/vhba/mptest/
head/tools/tools/vhba/mptest/Makefile (contents, props changed)
Author: mjacob
Date: Fri Aug 6 17:27:00 2010
New Revision: 210943
URL: http://svn.freebsd.org/changeset/base/210943
Log:
Figure which is the IO and MEM bars- do not assume that they are in
a fixed order.
PR: 149220
Obtained from:John Baldwin
MFC after:1 month
Author: mjacob
Date: Sun Jul 4 22:17:56 2010
New Revision: 209704
URL: http://svn.freebsd.org/changeset/base/209704
Log:
Fix the clear function which has been broken for a bit.
MFC after:1 week
Modified:
head/sbin/geom/class/multipath/geom_multipath.c
Modified:
Author: mjacob
Date: Tue Jun 8 17:44:49 2010
New Revision: 208918
URL: http://svn.freebsd.org/changeset/base/208918
Log:
One byte off for scsi_target_group cdb.
MFC after:2 weeks
Modified:
head/sys/cam/scsi/scsi_all.h
Modified: head/sys/cam/scsi/scsi_all.h
Author: mjacob
Date: Tue Jun 8 22:40:02 2010
New Revision: 208927
URL: http://svn.freebsd.org/changeset/base/208927
Log:
Try and narrow the gap in which you act on an event that has been canceled.
Obtained from:Jaako Heinonen
MFC after:1 month
Modified:
Author: mjacob
Date: Tue Jun 8 22:46:44 2010
New Revision: 208928
URL: http://svn.freebsd.org/changeset/base/208928
Log:
Rearrange how things are done to avoid dereferencing stale pointers in
the case of immediate unconfigure after configure. Hold the periph an
extra count while we have
Author: mjacob
Date: Mon Jun 7 17:39:36 2010
New Revision: 208895
URL: http://svn.freebsd.org/changeset/base/208895
Log:
Fix XPT_GET_TRAN_SETTING for FC which has been broken for while so that
it will figure out the correct target to handle index and be able to find
things like WWPN, etc.
Author: mjacob
Date: Mon Jun 7 17:41:34 2010
New Revision: 208896
URL: http://svn.freebsd.org/changeset/base/208896
Log:
Do a minor amount of stylifying. Also, get a Fibre Channel WWPN if one exists
for a da unit and create a sysctl OID for it.
Modified:
head/sys/cam/scsi/scsi_da.c
Author: mjacob
Date: Tue Jun 8 05:14:18 2010
New Revision: 208905
URL: http://svn.freebsd.org/changeset/base/208905
Log:
Make additional definitions up to and including SPC-4. Add in definitions
for REPORT and SET TARGET PORT GROUP commands (foundations for future work).
Regularize
Author: mjacob
Date: Sat Jun 5 20:37:40 2010
New Revision: 208849
URL: http://svn.freebsd.org/changeset/base/208849
Log:
Be more specific about which CDB length we're going to use. Not really a
likely
bug but we might as well be clearer.
Found with: Coverity Prevent(tm)
CID:
Author: mjacob
Date: Sat Jun 5 00:55:21 2010
New Revision: 208808
URL: http://svn.freebsd.org/changeset/base/208808
Log:
I was getting panics in sleepq_add for the second sleep in isp_kthread.
I don't know why- but it occurred to me in looking at the second sleep
is that all I want is a
Author: mjacob
Date: Sat Jun 5 00:56:15 2010
New Revision: 208809
URL: http://svn.freebsd.org/changeset/base/208809
Log:
Make the internal target SPC2 (so REPORT LUNS can be tested).
Give the NIL inquiry data real values other than just plain 0x7f
in the first byte.
MFC after:2
Author: mjacob
Date: Wed Jun 2 18:06:32 2010
New Revision: 208752
URL: http://svn.freebsd.org/changeset/base/208752
Log:
Protect periph drivers list and rearrange things to minimize the chance of
stepping oneself during probing.
Don't blindly decrement a periph probe count.
Author: mjacob
Date: Wed Jun 2 23:31:27 2010
New Revision: 208761
URL: http://svn.freebsd.org/changeset/base/208761
Log:
Various minor and not so minor fixes suggested by Coverity.
In at least one case, it's amazing that target mode worked at all.
Found by: Coverity.
MFC after:2
Author: mjacob
Date: Wed May 26 22:49:42 2010
New Revision: 208582
URL: http://svn.freebsd.org/changeset/base/208582
Log:
Add a new primitive, XPT_SCAN_TGT, to cover the range between scanning a
whole bus (XPT_SCAN_BUS) and a single lun on that bus (XPT_SCAN_LUN).
It's less resource
Author: mjacob
Date: Tue May 25 16:46:29 2010
New Revision: 208542
URL: http://svn.freebsd.org/changeset/base/208542
Log:
Treat PRLI the same as PLOGI and make a database entry for it (target mode).
Obtained from:Ken Merry
MFC after:One Month
Modified:
Author: mjacob
Date: Tue May 25 16:50:35 2010
New Revision: 208543
URL: http://svn.freebsd.org/changeset/base/208543
Log:
Remove extra break left by hand editing.
X-MFC: 208542
MFC after:One Month
Modified:
head/sys/dev/isp/isp_freebsd.c
Modified: head/sys/dev/isp/isp_freebsd.c
Author: mjacob
Date: Tue May 25 20:19:45 2010
New Revision: 208548
URL: http://svn.freebsd.org/changeset/base/208548
Log:
Don't leak CCBs for every ABORT.
Submitted by: Ken Merry
MFC after:One week
Modified:
head/sys/dev/isp/isp_freebsd.c
Modified: head/sys/dev/isp/isp_freebsd.c
Author: mjacob
Date: Tue May 11 22:22:01 2010
New Revision: 207933
URL: http://svn.freebsd.org/changeset/base/207933
Log:
Deal sensibly with more than 26 sg devices. It isn't a complete
solution.
Sponsored by: Panasas
MFC after:1 week
Modified:
head/sys/cam/scsi/scsi_sg.c
Author: mjacob
Date: Tue May 11 22:51:13 2010
New Revision: 207938
URL: http://svn.freebsd.org/changeset/base/207938
Log:
Pick up the right change, not it's close cousin. The one
previously submitted was wrong.
Point hat: mjacob
X-MFC: 207933
MFC after:1 week
Author: mjacob
Date: Wed Mar 31 17:47:57 2010
New Revision: 205993
URL: http://svn.freebsd.org/changeset/base/205993
Log:
For unhandled actions in xpt_action_default, remember to call
xpt_done for queued requests. This solves the problem of
indefinite hangs for unspecified transports when
Author: mjacob
Date: Thu Apr 1 01:49:43 2010
New Revision: 206029
URL: http://svn.freebsd.org/changeset/base/206029
Log:
Add a couple missing basic mode page codes.
MFC after:1 week
Modified:
head/sys/cam/scsi/scsi_all.h
Modified: head/sys/cam/scsi/scsi_all.h
Author: mjacob
Date: Tue Mar 30 20:39:57 2010
New Revision: 205932
URL: http://svn.freebsd.org/changeset/base/205932
Log:
nit: xpt_bus_deregister has to be called with the sim lock held.
MFC after:1 month
Modified:
head/sys/dev/mpt/mpt_cam.c
Modified: head/sys/dev/mpt/mpt_cam.c
Author: mjacob
Date: Fri Mar 26 15:13:31 2010
New Revision: 205698
URL: http://svn.freebsd.org/changeset/base/205698
Log:
Clean up some printing stuff so that we can have a bit finer control
on debug output. Add a new platform function requirement to allow
for printing based upon the ITL
Author: mjacob
Date: Fri Mar 26 20:22:18 2010
New Revision: 205712
URL: http://svn.freebsd.org/changeset/base/205712
Log:
D'oh- isp_handle_index' logic was reversed (not used in FreeBSD).
MFC after:1 week
Modified:
head/sys/dev/isp/isp_library.c
Modified:
Author: mjacob
Date: Sun Mar 21 15:02:47 2010
New Revision: 205412
URL: http://svn.freebsd.org/changeset/base/205412
Log:
Add 'rotate' and 'getactive' verbs to provide some control and information
about what the currently active path is.
Sponsored by: Panasas
MFC after:1 month
Author: mjacob
Date: Wed Mar 17 18:53:58 2010
New Revision: 205252
URL: http://svn.freebsd.org/changeset/base/205252
Log:
We actually can generate a host number.
MFC after:1 month
Modified:
head/sys/cam/scsi/scsi_sg.c
Modified: head/sys/cam/scsi/scsi_sg.c
Author: mjacob
Date: Sat Feb 27 05:41:23 2010
New Revision: 204397
URL: http://svn.freebsd.org/changeset/base/204397
Log:
Revamp the pieces of some of the stuff I forgot to do when shifting to
32 bit handles. The RIO (reduced interrupt operation) and fast posting
for the parallel SCSI cards
Author: mjacob
Date: Tue Feb 23 14:35:44 2010
New Revision: 204246
URL: http://svn.freebsd.org/changeset/base/204246
Log:
xpt_rescan only honors a wildcard in the target field. Revert the previous
change and have isp_make_here scan the whole bus which will then scan all
luns.
I think
72 matches
Mail list logo