From owner-svn-src-head@freebsd.org Wed Nov 11 18:55:17 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF214A2C952; Wed, 11 Nov 2015 18:55:17 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78CAC18CA; Wed, 11 Nov 2015 18:55:17 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tABItGTV007938; Wed, 11 Nov 2015 18:55:16 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tABItGoT007937; Wed, 11 Nov 2015 18:55:16 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201511111855.tABItGoT007937@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: "Conrad E. Meyer" Date: Wed, 11 Nov 2015 18:55:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290681 - head/sys/dev/ntb/ntb_hw X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 18:55:17 -0000 Author: cem Date: Wed Nov 11 18:55:16 2015 New Revision: 290681 URL: https://svnweb.freebsd.org/changeset/base/290681 Log: ntb_hw: Correctly detect DSD/USD Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c ============================================================================== --- head/sys/dev/ntb/ntb_hw/ntb_hw.c Wed Nov 11 18:55:07 2015 (r290680) +++ head/sys/dev/ntb/ntb_hw/ntb_hw.c Wed Nov 11 18:55:16 2015 (r290681) @@ -1168,9 +1168,9 @@ ntb_detect_xeon(struct ntb_softc *ntb) ntb->ppd = ppd; if ((ppd & XEON_PPD_DEV_TYPE) != 0) - ntb->dev_type = NTB_DEV_USD; - else ntb->dev_type = NTB_DEV_DSD; + else + ntb->dev_type = NTB_DEV_USD; if ((ppd & XEON_PPD_SPLIT_BAR) != 0) ntb->features |= NTB_SPLIT_BAR;