svn commit: r259860 - head/sys/dev/isp

2013-12-24 Thread Matt Jacob
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:

svn commit: r254436 - head/share/man/man9

2013-08-16 Thread Matt Jacob
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

svn commit: r247356 - head/sys/dev/isp

2013-02-26 Thread Matt Jacob
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:

svn commit: r247264 - head/sys/dev/isp

2013-02-25 Thread Matt Jacob
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

svn commit: r247266 - head/sys/dev/sym

2013-02-25 Thread Matt Jacob
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

svn commit: r242479 - head/sys/dev/isp

2012-11-02 Thread Matt Jacob
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

svn commit: r242480 - head/sys/dev/isp

2012-11-02 Thread Matt Jacob
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:

svn commit: r240589 - head/sys/dev/isp

2012-09-16 Thread Matt Jacob
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:

svn commit: r240590 - head/sys/dev/isp

2012-09-16 Thread Matt Jacob
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

svn commit: r239502 - head/sys/dev/isp

2012-08-21 Thread Matt Jacob
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:

svn commit: r239330 - head/sys/dev/isp

2012-08-16 Thread Matt Jacob
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:

svn commit: r239213 - head/sys/cam/scsi

2012-08-12 Thread Matt Jacob
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

svn commit: r239218 - head/sys/dev/isp

2012-08-12 Thread Matt Jacob
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

svn commit: r239219 - head/sys/dev/isp

2012-08-12 Thread Matt Jacob
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

svn commit: r239143 - head/sys/dev/isp

2012-08-08 Thread Matt Jacob
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

svn commit: r239010 - head/sys/dev/isp

2012-08-03 Thread Matt Jacob
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

svn commit: r239023 - head/sys/dev/isp

2012-08-03 Thread Matt Jacob
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

svn commit: r238887 - head/sys/dev/isp

2012-07-29 Thread Matt Jacob
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.

svn commit: r238869 - head/sys/dev/isp

2012-07-28 Thread Matt Jacob
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

svn commit: r238870 - head/sys/cam/ctl

2012-07-28 Thread Matt Jacob
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

svn commit: r238437 - head/sys/cam/scsi

2012-07-13 Thread Matt Jacob
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:

svn commit: r237537 - head/sys/dev/isp

2012-06-24 Thread Matt Jacob
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

svn commit: r237544 - head/sys/dev/isp

2012-06-24 Thread Matt Jacob
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:

svn commit: r237329 - head/usr.sbin/mfiutil

2012-06-20 Thread Matt Jacob
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

svn commit: r237210 - head/sys/dev/isp

2012-06-17 Thread Matt Jacob
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

svn commit: r237212 - head/sys/dev/ispfw

2012-06-17 Thread Matt Jacob
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:

svn commit: r237135 - head/sys/dev/isp

2012-06-15 Thread Matt Jacob
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

svn commit: r236426 - head/sys/cam/ctl

2012-06-01 Thread Matt Jacob
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

svn commit: r236427 - in head/sys: conf dev/isp

2012-06-01 Thread Matt Jacob
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

svn commit: r228914 - head/sys/dev/isp

2011-12-27 Thread Matt Jacob
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

svn commit: r227126 - head/sys/dev/isp

2011-11-05 Thread Matt Jacob
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

svn commit: r224856 - head/sys/dev/isp

2011-08-13 Thread Matt Jacob
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

svn commit: r224804 - head/sys/dev/isp

2011-08-12 Thread Matt Jacob
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

svn commit: r224806 - head/sys/cam

2011-08-12 Thread Matt Jacob
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

svn commit: r219471 - head/sys/dev/isp

2011-03-10 Thread Matt Jacob
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:

svn commit: r219282 - head/sys/dev/isp

2011-03-04 Thread Matt Jacob
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:

svn commit: r219241 - head/sys/cam

2011-03-03 Thread Matt Jacob
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

svn commit: r219098 - head/sys/dev/isp

2011-02-28 Thread Matt Jacob
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

svn commit: r215951 - head/sys/dev/isp

2010-11-27 Thread Matt Jacob
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

svn commit: r211529 - head/sys/cam/scsi

2010-08-20 Thread Matt Jacob
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:

svn commit: r211434 - head/sys/cam/scsi

2010-08-17 Thread Matt Jacob
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

svn commit: r211282 - head/sbin/geom/class/multipath

2010-08-13 Thread Matt Jacob
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:

svn commit: r211183 - in head/tools/tools/vhba: . mptest

2010-08-11 Thread Matt Jacob
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

svn commit: r211088 - in head/tools/tools/vhba: . mptest

2010-08-08 Thread Matt Jacob
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)

svn commit: r210943 - head/sys/dev/mpt

2010-08-06 Thread Matt Jacob
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

svn commit: r209704 - head/sbin/geom/class/multipath

2010-07-04 Thread Matt Jacob
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:

svn commit: r208918 - head/sys/cam/scsi

2010-06-08 Thread Matt Jacob
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

svn commit: r208927 - head/sys/geom

2010-06-08 Thread Matt Jacob
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:

svn commit: r208928 - head/sys/cam/scsi

2010-06-08 Thread Matt Jacob
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

svn commit: r208895 - head/sys/dev/isp

2010-06-07 Thread Matt Jacob
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.

svn commit: r208896 - head/sys/cam/scsi

2010-06-07 Thread Matt Jacob
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

svn commit: r208905 - head/sys/cam/scsi

2010-06-07 Thread Matt Jacob
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

svn commit: r208849 - head/sys/dev/isp

2010-06-05 Thread Matt Jacob
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:

svn commit: r208808 - head/sys/dev/isp

2010-06-04 Thread Matt Jacob
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

svn commit: r208809 - head/sys/dev/isp

2010-06-04 Thread Matt Jacob
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

svn commit: r208752 - head/sys/cam

2010-06-02 Thread Matt Jacob
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.

svn commit: r208761 - head/sys/dev/isp

2010-06-02 Thread Matt Jacob
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

svn commit: r208582 - in head/sys: cam cam/ata cam/scsi dev/isp

2010-05-26 Thread Matt Jacob
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

svn commit: r208542 - head/sys/dev/isp

2010-05-25 Thread Matt Jacob
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:

svn commit: r208543 - head/sys/dev/isp

2010-05-25 Thread Matt Jacob
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

svn commit: r208548 - head/sys/dev/isp

2010-05-25 Thread Matt Jacob
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

svn commit: r207933 - head/sys/cam/scsi

2010-05-11 Thread Matt Jacob
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

svn commit: r207938 - head/sys/cam/scsi

2010-05-11 Thread Matt Jacob
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

svn commit: r205993 - head/sys/cam

2010-03-31 Thread Matt Jacob
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

svn commit: r206029 - head/sys/cam/scsi

2010-03-31 Thread Matt Jacob
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

svn commit: r205932 - head/sys/dev/mpt

2010-03-30 Thread Matt Jacob
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

svn commit: r205698 - head/sys/dev/isp

2010-03-26 Thread Matt Jacob
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

svn commit: r205712 - head/sys/dev/isp

2010-03-26 Thread Matt Jacob
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:

svn commit: r205412 - in head: sbin/geom/class/multipath sys/geom/multipath

2010-03-21 Thread Matt Jacob
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

svn commit: r205252 - head/sys/cam/scsi

2010-03-17 Thread Matt Jacob
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

svn commit: r204397 - head/sys/dev/isp

2010-02-26 Thread Matt Jacob
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

svn commit: r204246 - head/sys/dev/isp

2010-02-23 Thread Matt Jacob
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