svn commit: r291573 - in stable/10/lib/libc: rpc stdio

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 07:32:35 2015 New Revision: 291573 URL: https://svnweb.freebsd.org/changeset/base/291573 Log: MFC r278932: r278932 (by pfg): libc: clean some set-but-not-used errors. These were found by gcc 5.0 on Dragonfly BSD, however I made no attempt to silence th

svn commit: r291572 - stable/10/lib/libc/stdio

2015-11-30 Thread Garrett Cooper
Author: ngie Date: Tue Dec 1 07:16:05 2015 New Revision: 291572 URL: https://svnweb.freebsd.org/changeset/base/291572 Log: MFC r269326: r269326 (by n_hibma): Fix the example: free the memory that was allocated by getline(). Modified: stable/10/lib/libc/stdio/getline.3 Directory Proper

Re: svn commit: r291268 - stable/10/usr.bin/ldd

2015-11-30 Thread NGie Cooper
> On Nov 24, 2015, at 15:04, Jung-uk Kim wrote: > > Author: jkim > Date: Tue Nov 24 23:04:03 2015 > New Revision: 291268 > URL: https://svnweb.freebsd.org/changeset/base/291268 > > Log: > MFC: r289425 > > Add support for ARM EABI. Note it is not a direct MFC because some macros > are not d

svn commit: r291551 - stable/10/sys/fs/nfsclient

2015-11-30 Thread Rick Macklem
Author: rmacklem Date: Tue Dec 1 02:30:41 2015 New Revision: 291551 URL: https://svnweb.freebsd.org/changeset/base/291551 Log: MFC: r290970 mnt_stat.f_iosize (which is used to set bo_bsize) must be set to the largest size of buffer cache block or the mapping of the buffer is bogus. When a

svn commit: r291548 - stable/10/sys/geom

2015-11-30 Thread Steven Hartland
Author: smh Date: Tue Dec 1 00:53:03 2015 New Revision: 291548 URL: https://svnweb.freebsd.org/changeset/base/291548 Log: MFC r291004: Fix early kernel dump via dumpdev env Sponsored by: Multiplay Modified: stable/10/sys/geom/geom_dev.c Directory Properties: stable/10/ (props c

svn commit: r291547 - stable/10/sys/geom

2015-11-30 Thread Steven Hartland
Author: smh Date: Tue Dec 1 00:48:31 2015 New Revision: 291547 URL: https://svnweb.freebsd.org/changeset/base/291547 Log: MFC r288153: Use kenv 'dumpdev' in the same way as etc/rc.d/dumpon Sponsored by: Multiplay Modified: stable/10/sys/geom/geom_dev.c Directory Properties: stabl

svn commit: r291543 - stable/10/sys/dev/ispfw

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 23:00:22 2015 New Revision: 291543 URL: https://svnweb.freebsd.org/changeset/base/291543 Log: MFC r291143: Update Qlogic 23XX firmware from 3.03.26 to 3.03.28 Modified: stable/10/sys/dev/ispfw/asm_2300.h stable/10/sys/dev/ispfw/asm_2322.h Directory Properties:

svn commit: r291542 - stable/10/sys/dev/ispfw

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 22:59:32 2015 New Revision: 291542 URL: https://svnweb.freebsd.org/changeset/base/291542 Log: MFC r291132: Update firmware for QLogic 22xx from 2.02.06 to 2.02.08. Modified: stable/10/sys/dev/ispfw/asm_2200.h Directory Properties: stable/10/ (props changed) M

svn commit: r291541 - stable/10/sys/dev/ispfw

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 22:58:48 2015 New Revision: 291541 URL: https://svnweb.freebsd.org/changeset/base/291541 Log: MFC r289755: Remove residual verbosity. firmware_register() already reports errors. Modified: stable/10/sys/dev/ispfw/ispfw.c Directory Properties: stable/10/ (p

svn commit: r291532 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:58:51 2015 New Revision: 291532 URL: https://svnweb.freebsd.org/changeset/base/291532 Log: MFC r291365, r291369: One more round of port scanner rewrite. - Make scan aborted by event restart immediately and infinitely. - Improve handling of some loop event

svn commit: r291531 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:57:54 2015 New Revision: 291531 URL: https://svnweb.freebsd.org/changeset/base/291531 Log: MFC r291265: Rename ASYNC_LIP_F8 to ASYNC_LIP_NOS_OLS_RECV. New name better repsents its meaning for modern chips. Modified: stable/10/sys/dev/isp/isp.c stable/10/

svn commit: r291530 - in stable/10: share/man/man4 sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:57:16 2015 New Revision: 291530 URL: https://svnweb.freebsd.org/changeset/base/291530 Log: MFC r291221: Remove "disable" hint, which duplicates system-wide "disabled". Modified: stable/10/share/man/man4/isp.4 stable/10/sys/dev/isp/isp_freebsd.h stable/10/sy

svn commit: r291529 - in stable/10: share/man/man4 sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:56:31 2015 New Revision: 291529 URL: https://svnweb.freebsd.org/changeset/base/291529 Log: MFC r291209: Fix target mode support for Qlogic 2200 FC adapters. Now target mode works for all supported FC adapters except ancient 2100, which is not tested. Modif

svn commit: r291528 - in stable/10: share/man/man4 sys/dev/isp sys/dev/ispfw sys/modules/ispfw sys/modules/ispfw/isp_1040_it sys/modules/ispfw/isp_1080_it sys/modules/ispfw/isp_12160_it

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:55:35 2015 New Revision: 291528 URL: https://svnweb.freebsd.org/changeset/base/291528 Log: MFC r291188: 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 out

svn commit: r291526 - stable/10/share/man/man4

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:53:38 2015 New Revision: 291526 URL: https://svnweb.freebsd.org/changeset/base/291526 Log: MFC r290138, r290139: Some updates to isp(4) manual page. Modified: stable/10/share/man/man4/isp.4 Directory Properties: stable/10/ (props changed) Modified: stable/

svn commit: r291524 - stable/10/share/man/man4

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:52:19 2015 New Revision: 291524 URL: https://svnweb.freebsd.org/changeset/base/291524 Log: MFC r275374: Document ISP 2532 support and hint.isp.0.vports tunable. Modified: stable/10/share/man/man4/isp.4 Directory Properties: stable/10/ (props changed) Modif

svn commit: r291523 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:47:11 2015 New Revision: 291523 URL: https://svnweb.freebsd.org/changeset/base/291523 Log: MFC r291163: Explicitly call SEND CHANGE REQUEST for pre-24xx chips in target mode. While later firmware always registers for RSCN requests, older one does it only

svn commit: r291522 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:46:21 2015 New Revision: 291522 URL: https://svnweb.freebsd.org/changeset/base/291522 Log: MFC r291162: Generate fake ISPASYNC_CHANGE_PDB on fake login on pre-24xx. This makes port scanner fix absent port ID for added initiator. Modified: stable/10/sys/dev

svn commit: r291521 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:45:24 2015 New Revision: 291521 URL: https://svnweb.freebsd.org/changeset/base/291521 Log: MFC r291161: Gracefully stop firmware before resetting chip when changing role. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed

svn commit: r291520 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:44:38 2015 New Revision: 291520 URL: https://svnweb.freebsd.org/changeset/base/291520 Log: MFC r291160: Add some more asynchronous event status codes. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/ispmbox.h Directory Properties: stable/10/ (

svn commit: r291519 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:44:03 2015 New Revision: 291519 URL: https://svnweb.freebsd.org/changeset/base/291519 Log: MFC r291159: Add more mailbox command codes. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/ispmbox.h Directory Properties: stable/10/ (props changed)

svn commit: r291518 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:43:20 2015 New Revision: 291518 URL: https://svnweb.freebsd.org/changeset/base/291518 Log: MFC r291147: Increase maximal value of vports tunable to 254. I am not sure this value is really viable yet, but that is what chips officially support in NPIV mode (i

svn commit: r291517 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:42:35 2015 New Revision: 291517 URL: https://svnweb.freebsd.org/changeset/base/291517 Log: MFC r291144: Fix target mode with fabric for pre-24xx chips. For those chips we are not receiving login events, adding initiators based on ATIO requests. But there i

svn commit: r291516 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:41:56 2015 New Revision: 291516 URL: https://svnweb.freebsd.org/changeset/base/291516 Log: MFC r291099: Some cosmetics for ancient cards. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/isp

svn commit: r291515 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:41:06 2015 New Revision: 291515 URL: https://svnweb.freebsd.org/changeset/base/291515 Log: MFC r291092: Optimize SNS_GID_FT request scratch memory usage. Now with present 4K of scratch we can fetch up to 508 ports (16 more). Modified: stable/10/sys/dev/isp

svn commit: r291514 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:40:20 2015 New Revision: 291514 URL: https://svnweb.freebsd.org/changeset/base/291514 Log: MFC r291080: Another round of port scanner rewrite. This change simplifies and unifies port adding/updating for loop and fabric scanners. It also fixes problems with

svn commit: r291513 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:39:33 2015 New Revision: 291513 URL: https://svnweb.freebsd.org/changeset/base/291513 Log: MFC r291014: Simplify fabric tasting code. Except cosmetic changes this removes fabric ports from our port database. It is always firmware duty to manage them, so dri

svn commit: r291512 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:38:51 2015 New Revision: 291512 URL: https://svnweb.freebsd.org/changeset/base/291512 Log: MFC r291013: 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. L

svn commit: r291511 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:38:05 2015 New Revision: 291511 URL: https://svnweb.freebsd.org/changeset/base/291511 Log: MFC r291000: Register our FC4 Features in SNS. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/isp_library.c stable/10/sys/dev/isp/isp_library.h stable/

svn commit: r291510 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:37:22 2015 New Revision: 291510 URL: https://svnweb.freebsd.org/changeset/base/291510 Log: MFC r290993, r290994: Unify and cleanup FC ports scan. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/isp_library.c stable/10/sys/dev/isp/ispvar.h Direct

svn commit: r291509 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:36:23 2015 New Revision: 291509 URL: https://svnweb.freebsd.org/changeset/base/291509 Log: MFC r290981: Off-by-one correctiont to r290980. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/is

svn commit: r291508 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:35:43 2015 New Revision: 291508 URL: https://svnweb.freebsd.org/changeset/base/291508 Log: MFC r290980: Make firmware handle virtual ports SNS logins for us. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/isp_library.c Directory Properties: sta

svn commit: r291507 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:35:03 2015 New Revision: 291507 URL: https://svnweb.freebsd.org/changeset/base/291507 Log: MFC r290978: Add real initial support for RQSTYPE_RPT_ID_ACQ. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/isp_library.c stable/10/sys/dev/isp/ispmbox.

svn commit: r291505 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:33:30 2015 New Revision: 291505 URL: https://svnweb.freebsd.org/changeset/base/291505 Log: MFC r290507: Rework r290504. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/isp_freebsd.h Directory Properties: stable/10/ (props changed) Modified: s

svn commit: r291506 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:34:17 2015 New Revision: 291506 URL: https://svnweb.freebsd.org/changeset/base/291506 Log: MFC r290830: Fix/improve CRN tracking. Modified: stable/10/sys/dev/isp/isp_freebsd.c stable/10/sys/dev/isp/isp_freebsd.h Directory Properties: stable/10/ (props cha

svn commit: r291504 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:32:52 2015 New Revision: 291504 URL: https://svnweb.freebsd.org/changeset/base/291504 Log: MFC r290506: Specify VP when sending a marker. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/isp

svn commit: r291503 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:32:12 2015 New Revision: 291503 URL: https://svnweb.freebsd.org/changeset/base/291503 Log: MFC r290504: Make ISP_SLEEP() really sleep instead of spinning. While there, simplify the wait logic. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/i

svn commit: r291502 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:31:34 2015 New Revision: 291502 URL: https://svnweb.freebsd.org/changeset/base/291502 Log: MFC r290160: Remove some unneeded code. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/isp/isp.c

svn commit: r291501 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:30:56 2015 New Revision: 291501 URL: https://svnweb.freebsd.org/changeset/base/291501 Log: MFC r290159: Remove reset delays for which I see neither explanation nor need. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed)

svn commit: r291500 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:30:18 2015 New Revision: 291500 URL: https://svnweb.freebsd.org/changeset/base/291500 Log: MFC r290147: Fix and improve error masking and reporting. Modified: stable/10/sys/dev/isp/isp.c stable/10/sys/dev/isp/ispmbox.h stable/10/sys/dev/isp/ispreg.h Directo

svn commit: r291499 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:29:38 2015 New Revision: 291499 URL: https://svnweb.freebsd.org/changeset/base/291499 Log: MFC r290118: Change the way how target mode is enabled on 23xx chips. Without docs I am not completely sure about this, but on my tests new method works better then p

svn commit: r291498 - stable/10/sys/dev/isp

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:28:53 2015 New Revision: 291498 URL: https://svnweb.freebsd.org/changeset/base/291498 Log: MFC r290104: Improve/fix loop scanning routine. For the most of chips (except anscient ones) port handlers have no relation to port IDs. In such situation old code s

svn commit: r291497 - in stable/10/sys/cam: ata scsi

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:23:30 2015 New Revision: 291497 URL: https://svnweb.freebsd.org/changeset/base/291497 Log: MFC r289138: Remove legacy CHS geometry from dmesg and unify capacity outputs. Modified: stable/10/sys/cam/ata/ata_da.c stable/10/sys/cam/scsi/scsi_cd.c stable/10/sys

svn commit: r291496 - stable/10/sys/cam/ctl

2015-11-30 Thread Alexander Motin
Author: mav Date: Mon Nov 30 21:16:26 2015 New Revision: 291496 URL: https://svnweb.freebsd.org/changeset/base/291496 Log: MFC r291383: Fix panic when trying to sort unsupported command in OOA queue. Handle unsupported commands as not conflicting/blocking. Modified: stable/10/sys/cam/ctl

svn commit: r291489 - stable/10/sys/netsmb

2015-11-30 Thread Rick Macklem
Author: rmacklem Date: Mon Nov 30 13:46:22 2015 New Revision: 291489 URL: https://svnweb.freebsd.org/changeset/base/291489 Log: MFC: r290959 When the smbfs iod thread (smb_iod_thread()) is shutting down, smb_iod_destroy() would call smb_iod_request(). This call could return as soon as the

svn commit: r291480 - stable/10/sbin/dumpon

2015-11-30 Thread Steven Hartland
Author: smh Date: Mon Nov 30 09:13:04 2015 New Revision: 291480 URL: https://svnweb.freebsd.org/changeset/base/291480 Log: MFC r291207: Fix dumpon compatibility with dumpdev kenv Sponsored by: Multiplay Modified: stable/10/sbin/dumpon/dumpon.c Directory Properties: stable/10/ (p