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: di

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: r253371 - stable/9/sys/dev/isp

2013-07-15 Thread Matt Jacob
Author: mjacob Date: Mon Jul 15 20:33:54 2013 New Revision: 253371 URL: http://svnweb.freebsd.org/changeset/base/253371 Log: MFC of 253330 When fiddling with options of which registers to copy out for a mailbox command and which registers to copy back in when the command completes, the

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

2013-07-13 Thread Matt Jacob
Author: mjacob Date: Sat Jul 13 21:24:25 2013 New Revision: 253330 URL: http://svnweb.freebsd.org/changeset/base/253330 Log: When fiddling with options of which registers to copy out for a mailbox command and which registers to copy back in when the command completes, the bits being set need

svn commit: r248831 - stable/9/sys/dev/sym

2013-03-28 Thread Matt Jacob
Author: mjacob Date: Thu Mar 28 14:25:09 2013 New Revision: 248831 URL: http://svnweb.freebsd.org/changeset/base/248831 Log: MFC 247266 Don't try and negotiate sync mode if either period or offset are zero. Modified: stable/9/sys/dev/sym/sym_hipd.c Directory Properties: stable/9/sys/

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: 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 MFC after:1 month Modif

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 pas

svn commit: r242920 - stable/9/sys/dev/isp

2012-11-12 Thread Matt Jacob
Author: mjacob Date: Mon Nov 12 14:34:46 2012 New Revision: 242920 URL: http://svnweb.freebsd.org/changeset/base/242920 Log: MFC 242479,242480: Force segments to 1 for mapping control spaces. Modified: stable/9/sys/dev/isp/isp_pci.c stable/9/sys/dev/isp/isp_sbus.c Directory Properties:

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: head/sys

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 Mod

svn commit: r240769 - stable/9/sys/dev/isp

2012-09-20 Thread Matt Jacob
Author: mjacob Date: Fri Sep 21 00:36:35 2012 New Revision: 240769 URL: http://svn.freebsd.org/changeset/base/240769 Log: MFC of 240219 - remove useless test. Modified: stable/9/sys/dev/isp/isp_pci.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed)

svn commit: r240717 - stable/9/sys/dev/isp

2012-09-19 Thread Matt Jacob
Author: mjacob Date: Thu Sep 20 00:51:09 2012 New Revision: 240717 URL: http://svn.freebsd.org/changeset/base/240717 Log: MFC of 239502: Remove dependence on MAXPHYS. Modified: stable/9/sys/dev/isp/isp_freebsd.h stable/9/sys/dev/isp/isp_pci.c stable/9/sys/dev/isp/isp_sbus.c Directory Prop

svn commit: r240713 - stable/9/sys/dev/isp

2012-09-19 Thread Matt Jacob
Author: mjacob Date: Wed Sep 19 22:24:09 2012 New Revision: 240713 URL: http://svn.freebsd.org/changeset/base/240713 Log: MFC of 240580 and 240590- correct some comments. Modified: stable/9/sys/dev/isp/isp_freebsd.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/

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: 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: head/sys/dev/isp/isp_free

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

2012-09-07 Thread Matt Jacob
Author: mjacob Date: Fri Sep 7 22:45:31 2012 New Revision: 240219 URL: http://svn.freebsd.org/changeset/base/240219 Log: Remove useless extra test. Pointed out by: Sascha of DragonFly BSD MFC after:2 weeks Modified: head/sys/dev/isp/isp_pci.c Modified: head/sys/dev/isp/isp_

svn commit: r240025 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:27:20 2012 New Revision: 240025 URL: http://svn.freebsd.org/changeset/base/240025 Log: MFC of 239023 Add detach logic to SBus variant. Modified: stable/9/sys/dev/isp/isp_sbus.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/

svn commit: r240024 - stable/9/sys/cam/scsi

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:24:57 2012 New Revision: 240024 URL: http://svn.freebsd.org/changeset/base/240024 Log: MFC of 239212 Add VERIFY_10 def. Modified: stable/9/sys/cam/scsi/scsi_all.h Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/cam/scsi/s

svn commit: r240023 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:23:01 2012 New Revision: 240023 URL: http://svn.freebsd.org/changeset/base/240023 Log: MFC of 239010 Oops. We only do allocate room for extended commands and responses for 2300 cards are newer. Modified: stable/9/sys/dev/isp/isp_pci.c Directory Proper

svn commit: r240022 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:21:55 2012 New Revision: 240022 URL: http://svn.freebsd.org/changeset/base/240022 Log: MFC of 238887- fix compilation on isp_sbus.c Modified: stable/9/sys/dev/isp/isp_sbus.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props

svn commit: r240021 - stable/9/sys/cam/ctl

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:20:10 2012 New Revision: 240021 URL: http://svn.freebsd.org/changeset/base/240021 Log: MFC of 238870. Handle a case where we had an SRR that pushed back the.. Modified: stable/9/sys/cam/ctl/scsi_ctl.c Directory Properties: stable/9/sys/ (props chang

svn commit: r240019 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:07:51 2012 New Revision: 240019 URL: http://svn.freebsd.org/changeset/base/240019 Log: MFC of 239330 On lun disable, complete all INOTs and ATIOs with CAM_REQ_ABORTED. Modified: stable/9/sys/dev/isp/isp_freebsd.c Directory Properties: stable/9/sys/

svn commit: r240018 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:06:55 2012 New Revision: 240018 URL: http://svn.freebsd.org/changeset/base/240018 Log: MFC of 239219 Remove extraneous newline. Modified: stable/9/sys/dev/isp/isp.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props cha

svn commit: r240017 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:05:39 2012 New Revision: 240017 URL: http://svn.freebsd.org/changeset/base/240017 Log: MFC of 239218 Fix an oops where we wiped out DMA maps... Modified: stable/9/sys/dev/isp/isp_freebsd.c stable/9/sys/dev/isp/isp_pci.c Directory Properties: stable/

svn commit: r240016 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:04:39 2012 New Revision: 240016 URL: http://svn.freebsd.org/changeset/base/240016 Log: MFC of 239143 More rototilling with target mode in an attemp to get multiple... Modified: stable/9/sys/dev/isp/isp_freebsd.c stable/9/sys/dev/isp/isp_freebsd.h Dire

svn commit: r240015 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:03:40 2012 New Revision: 240015 URL: http://svn.freebsd.org/changeset/base/240015 Log: MFC of 238859 Mega change for FC-Tape. Modified: stable/9/sys/dev/isp/isp.c stable/9/sys/dev/isp/isp_freebsd.c stable/9/sys/dev/isp/isp_freebsd.h stable/9/sys/d

svn commit: r240014 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 15:00:35 2012 New Revision: 240014 URL: http://svn.freebsd.org/changeset/base/240014 Log: MFC of 228914 Fix target mode compilation issues that arose after a change in the sense data structures. Modified: stable/9/sys/dev/isp/isp_freebsd.c stable/9/sys

svn commit: r240013 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 14:56:04 2012 New Revision: 240013 URL: http://svn.freebsd.org/changeset/base/240013 Log: A belated MFC of 227126 Implement the sysctl's for fibre channel that are listed in the man page. Modified: stable/9/sys/dev/isp/isp_freebsd.c stable/9/sys/dev/isp/

svn commit: r240012 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 14:46:30 2012 New Revision: 240012 URL: http://svn.freebsd.org/changeset/base/240012 Log: MFC of 237544 Unbreak register tests for parallel SCSI. Modified: stable/9/sys/dev/isp/isp.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/de

svn commit: r240010 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 14:45:36 2012 New Revision: 240010 URL: http://svn.freebsd.org/changeset/base/240010 Log: MFC of 237537 Clean up multi-id mode so it's driven by the f/w loaded,... Modified: stable/9/sys/dev/isp/isp.c stable/9/sys/dev/isp/isp_freebsd.c stable/9/sys/dev

svn commit: r240009 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 14:44:09 2012 New Revision: 240009 URL: http://svn.freebsd.org/changeset/base/240009 Log: MFC of 237210 Prepare for FC-Tape support. Modified: stable/9/sys/dev/isp/isp.c stable/9/sys/dev/isp/isp_freebsd.h stable/9/sys/dev/isp/isp_pci.c stable/9/sys/d

svn commit: r240008 - stable/9/sys/dev/isp

2012-09-02 Thread Matt Jacob
Author: mjacob Date: Sun Sep 2 14:41:29 2012 New Revision: 240008 URL: http://svn.freebsd.org/changeset/base/240008 Log: Very belated MFC of 227548 Was chasing down a failure to load f/w on a 2400. It turns out that the card is actually broken, or needs a BIOS upgrade for 64 bit loads, b

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: hea

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: head/sys/dev/isp/isp_freebsd.

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: 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 Mod

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 ENC_L

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

2012-08-12 Thread Matt Jacob
Author: mjacob Date: Sun Aug 12 16:58:38 2012 New Revision: 239212 URL: http://svn.freebsd.org/changeset/base/239212 Log: Add missing VERIFY_10 definition. MFC after:1 month Modified: head/sys/cam/scsi/scsi_all.h Modified: head/sys/cam/scsi/scsi_all.h ===

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 well

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: 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 after:

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. Sponsor

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 aga

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 ignorin

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: head/sys/cam/scsi/scsi

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: head/sys/dev/isp/isp.

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 chipset

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: 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: head/sys/dev/ispfw/asm_2

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 a

svn commit: r237209 - stable/9/sys/dev/isp

2012-06-17 Thread Matt Jacob
Author: mjacob Date: Sun Jun 17 21:30:24 2012 New Revision: 237209 URL: http://svn.freebsd.org/changeset/base/237209 Log: MFC of 237135 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. Mo

svn commit: r237208 - in stable/9/sys: conf dev/isp

2012-06-17 Thread Matt Jacob
Author: mjacob Date: Sun Jun 17 21:28:11 2012 New Revision: 237208 URL: http://svn.freebsd.org/changeset/base/237208 Log: MFC of r236427 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

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 d

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 kno

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 t

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 head/sys/

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

2011-11-15 Thread Matt Jacob
Author: mjacob Date: Wed Nov 16 02:52:24 2011 New Revision: 227548 URL: http://svn.freebsd.org/changeset/base/227548 Log: Was chasing down a failure to load f/w on a 2400. It turns out that the card is actually broken, or needs a BIOS upgrade for 64 bit loads, but this uncovered a couple of

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 head/sys/dev/isp/isp_freebsd

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 co

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 comp

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 fr

svn commit: r224070 - stable/8/sys/cam/scsi

2011-07-15 Thread Matt Jacob
Author: mjacob Date: Fri Jul 15 21:30:50 2011 New Revision: 224070 URL: http://svn.freebsd.org/changeset/base/224070 Log: MFC of 197332: Remember to unlock the peripheral prior to notifying the user. Make some allocations M_NOWAIT so that we don't try and sleep with a nested non-sleepabl

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: head/sys/

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: he

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 month

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 head/sys/de

svn commit: r216038 - stable/8/sys/dev/isp

2010-11-28 Thread Matt Jacob
Author: mjacob Date: Mon Nov 29 04:31:25 2010 New Revision: 216038 URL: http://svn.freebsd.org/changeset/base/216038 Log: This is an MFC of 208548 Don't leak CCBs for every ABORT. Modified: stable/8/sys/dev/isp/isp_freebsd.c Directory Properties: stable/8/sys/ (props changed) stabl

svn commit: r216037 - stable/8/sys/dev/isp

2010-11-28 Thread Matt Jacob
Author: mjacob Date: Mon Nov 29 04:29:36 2010 New Revision: 216037 URL: http://svn.freebsd.org/changeset/base/216037 Log: This is an MFC of 208542,208543 Treat PRLI the same as PLOGI and make a database entry for it (target mode). Modified: stable/8/sys/dev/isp/isp_freebsd.c Directory Pr

svn commit: r216036 - stable/8/sys/dev/isp

2010-11-28 Thread Matt Jacob
Author: mjacob Date: Mon Nov 29 04:25:44 2010 New Revision: 216036 URL: http://svn.freebsd.org/changeset/base/216036 Log: This is an MFC of 215951 Partially revert 208119. We were overwriting tunable settings. Modified: stable/8/sys/dev/isp/isp_freebsd.c Directory Properties: stable/8/

svn commit: r215952 - head/sys/conf

2010-11-27 Thread Matt Jacob
Author: mjacob Date: Sat Nov 27 20:38:26 2010 New Revision: 215952 URL: http://svn.freebsd.org/changeset/base/215952 Log: Add ISP_INTERNAL_TARGET as an option for isp(4). Modified: head/sys/conf/NOTES head/sys/conf/options Modified: head/sys/conf/NOTES =

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 Mo

svn commit: r215932 - stable/8/sys/geom/multipath

2010-11-26 Thread Matt Jacob
Author: mjacob Date: Sat Nov 27 03:59:55 2010 New Revision: 215932 URL: http://svn.freebsd.org/changeset/base/215932 Log: This is an MFC of 205847 Change how multipath labels are created and managed. This makes it easier to support various storage boxes which really aren't active-active.

svn commit: r215931 - stable/8/sys/geom/multipath

2010-11-26 Thread Matt Jacob
Author: mjacob Date: Sat Nov 27 03:57:18 2010 New Revision: 215931 URL: http://svn.freebsd.org/changeset/base/215931 Log: This is an MFC of 204071 - Style fixes. - Prefer strlcpy() over strncpy(). Modified: stable/8/sys/geom/multipath/g_multipath.c Directory Properties: stable/8/sys/

svn commit: r215930 - stable/8/sys/geom/multipath

2010-11-26 Thread Matt Jacob
Author: mjacob Date: Sat Nov 27 03:55:22 2010 New Revision: 215930 URL: http://svn.freebsd.org/changeset/base/215930 Log: Roll out 209279, 200279 (which were unfortunate direct commits) and merges 204071 and 205847. This is attempt to rectify errors made in past merges. Modified: stable/8

svn commit: r215917 - stable/8/sbin/geom/class/multipath

2010-11-26 Thread Matt Jacob
Author: mjacob Date: Sat Nov 27 00:26:08 2010 New Revision: 215917 URL: http://svn.freebsd.org/changeset/base/215917 Log: This is an MFC of 211282 Avoid a memory leak. Modified: stable/8/sbin/geom/class/multipath/geom_multipath.c Directory Properties: stable/8/sbin/geom/class/multipath/

svn commit: r215916 - stable/8/sbin/geom/class/multipath

2010-11-26 Thread Matt Jacob
Author: mjacob Date: Sat Nov 27 00:23:55 2010 New Revision: 215916 URL: http://svn.freebsd.org/changeset/base/215916 Log: MFC of 209704. Fix the clear function which has been broken for a bit. Modified: stable/8/sbin/geom/class/multipath/geom_multipath.c Directory Properties: stable/8/

svn commit: r215873 - stable/8/sbin/geom/class/sched

2010-11-26 Thread Matt Jacob
Author: mjacob Date: Fri Nov 26 16:21:44 2010 New Revision: 215873 URL: http://svn.freebsd.org/changeset/base/215873 Log: Revert a completely fouled up merge. Modified: Directory Properties: stable/8/sbin/geom/ (props changed) stable/8/sbin/geom/class/part/ (props changed) stable/8/sb

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: head/sys/cam/scsi/scsi_da.

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: he

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 a

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) head/tools/tools/vhba/mptest/vhba

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 M

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: head/sbin/geom/class

svn commit: r209590 - head/sys/cam

2010-06-29 Thread Matt Jacob
Author: mjacob Date: Tue Jun 29 17:10:55 2010 New Revision: 209590 URL: http://svn.freebsd.org/changeset/base/209590 Log: Don't lock buses around a call to xptperiphlistmatch- the buses will be locked at appropriate places. MFC after:1 week X-MFC:208752 Modified:

svn commit: r209411 - stable/8/sys/cam/scsi

2010-06-21 Thread Matt Jacob
Author: mjacob Date: Tue Jun 22 04:38:41 2010 New Revision: 209411 URL: http://svn.freebsd.org/changeset/base/209411 Log: This is an MFC of 208918 One byte off for scsi_target_group cdb. Modified: stable/8/sys/cam/scsi/scsi_all.h Directory Properties: stable/8/sys/ (props changed)

svn commit: r209410 - stable/8/sys/cam/scsi

2010-06-21 Thread Matt Jacob
Author: mjacob Date: Tue Jun 22 04:37:05 2010 New Revision: 209410 URL: http://svn.freebsd.org/changeset/base/209410 Log: This is an MFC of 208905 Make additional definitions up to and including SPC-4. Add in definitions for REPORT and SET TARGET PORT GROUP commands (foundations for futur

svn commit: r209412 - stable/8/sys/cam/scsi

2010-06-21 Thread Matt Jacob
Author: mjacob Date: Tue Jun 22 04:40:50 2010 New Revision: 209412 URL: http://svn.freebsd.org/changeset/base/209412 Log: This is an MFC of 209188 For the target port groups structures, don't allocate the initial element. This makes things easier for target implementations to calculate ho

svn commit: r209383 - stable/8/sys/dev/isp

2010-06-20 Thread Matt Jacob
Author: mjacob Date: Mon Jun 21 04:37:39 2010 New Revision: 209383 URL: http://svn.freebsd.org/changeset/base/209383 Log: This is an MFC of 208895. 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

svn commit: r209324 - stable/8/sys/dev/isp

2010-06-18 Thread Matt Jacob
Author: mjacob Date: Sat Jun 19 00:41:29 2010 New Revision: 209324 URL: http://svn.freebsd.org/changeset/base/209324 Log: This is an MFC of 208849 Be more specific about which CDB length we're going to use. Not really a likely bug but we might as well be clearer. Modified: stable/8/sy

svn commit: r209323 - stable/8/sys/dev/isp

2010-06-18 Thread Matt Jacob
Author: mjacob Date: Sat Jun 19 00:39:19 2010 New Revision: 209323 URL: http://svn.freebsd.org/changeset/base/209323 Log: This is an MFC of 208809 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 firs

svn commit: r209322 - stable/8/sys/dev/isp

2010-06-18 Thread Matt Jacob
Author: mjacob Date: Sat Jun 19 00:37:14 2010 New Revision: 209322 URL: http://svn.freebsd.org/changeset/base/209322 Log: This is an MFC of 208808 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

svn commit: r209317 - stable/8/sys/dev/isp

2010-06-18 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 21:37:27 2010 New Revision: 209317 URL: http://svn.freebsd.org/changeset/base/209317 Log: This is an MFC of 208761 Various minor and not so minor fixes suggested by Coverity. In at least one case, it's amazing that target mode worked at all. Modified: st

svn commit: r209282 - stable/8/sys/dev/mpt

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 04:51:17 2010 New Revision: 209282 URL: http://svn.freebsd.org/changeset/base/209282 Log: This is an MFC of 207543 Print IR_RESYNC updates informatively. Obtained from:pluknet Modified: stable/8/sys/dev/mpt/mpt_cam.c Directory Properties: st

svn commit: r209281 - stable/8/sys/cam/scsi

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 04:45:06 2010 New Revision: 209281 URL: http://svn.freebsd.org/changeset/base/209281 Log: This is an MFC of 207938 Pick up the right change, not it's close cousin. The one previously submitted was wrong. Modified: stable/8/sys/cam/scsi/scsi_sg.c Director

svn commit: r209280 - stable/8/sys/cam/scsi

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 04:43:22 2010 New Revision: 209280 URL: http://svn.freebsd.org/changeset/base/209280 Log: This is an MFC of 207933 Deal sensibly with more than 26 sg devices. It isn't a complete solution. Modified: stable/8/sys/cam/scsi/scsi_sg.c Directory Properties:

svn commit: r209279 - stable/8/sys/geom/multipath

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 04:01:59 2010 New Revision: 209279 URL: http://svn.freebsd.org/changeset/base/209279 Log: This is an MFC of 208101 Yet another potential dereference of a dead provider. Modified: stable/8/sys/geom/multipath/g_multipath.c Directory Properties: stable/8/sy

svn commit: r209278 - stable/8/sys/geom/multipath

2010-06-17 Thread Matt Jacob
Author: mjacob Date: Fri Jun 18 03:59:07 2010 New Revision: 209278 URL: http://svn.freebsd.org/changeset/base/209278 Log: This is an MFC of 208082 Make sure to check that the active provider pointer points to something before dereferencing the pointer. Modified: stable/8/sys/geom/multi

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

2010-06-10 Thread Matt Jacob
Author: mjacob Date: Thu Jun 10 19:38:07 2010 New Revision: 208997 URL: http://svn.freebsd.org/changeset/base/208997 Log: Don't pass a buffer directly as a printflike format string. Found by: clang MFC after:1 month Modified: head/sys/dev/isp/isp_library.c Modified: head/sys/dev/isp/

  1   2   3   >