diff options
author | mav <mav@FreeBSD.org> | 2016-05-24 07:12:53 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-05-24 07:12:53 +0000 |
commit | 75fce927b85b9d49ec5b396f02abe643b75b901f (patch) | |
tree | 00ada657d9754f8b0aad6946def1abc1d9417c3f /sys/dev/isp/isp.c | |
parent | 21895d36585612acaa1ce213f1c41db399624c8f (diff) | |
download | FreeBSD-src-75fce927b85b9d49ec5b396f02abe643b75b901f.zip FreeBSD-src-75fce927b85b9d49ec5b396f02abe643b75b901f.tar.gz |
MFC r300052: Completely remove broken now autologin port flag.
Firmware automatically logs in only to local loop ports, and those ports
can be easily identified without extra flag by zero domain and area IDs.
Diffstat (limited to 'sys/dev/isp/isp.c')
-rw-r--r-- | sys/dev/isp/isp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index b837ca4..28ac520 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -3206,7 +3206,7 @@ isp_pdb_sync(ispsoftc_t *isp, int chan) case FC_PORTDB_STATE_DEAD: lp->state = FC_PORTDB_STATE_NIL; isp_async(isp, ISPASYNC_DEV_GONE, chan, lp); - if (lp->autologin == 0) { + if ((lp->portid & 0xffff00) != 0) { (void) isp_plogx(isp, chan, lp->handle, lp->portid, PLOGX_FLG_CMD_LOGO | @@ -3304,7 +3304,6 @@ isp_pdb_add_update(ispsoftc_t *isp, int chan, isp_pdb_t *pdb) } ISP_MEMZERO(lp, sizeof (fcportdb_t)); - lp->autologin = 1; lp->probational = 0; lp->state = FC_PORTDB_STATE_NEW; lp->portid = lp->new_portid = pdb->portid; |