Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2016 14:24:32 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r296036 - head/sys/dev/vnic
Message-ID:  <201602251424.u1PEOWlk063492@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zbb
Date: Thu Feb 25 14:24:32 2016
New Revision: 296036
URL: https://svnweb.freebsd.org/changeset/base/296036

Log:
  Remove soft reset from the VNIC's PF driver
  
  This is not needed and causes revid register of the PCI
  configuration space to clear on Pass2.0.
  
  Reviewed by:   wma
  Obtained from: Semihalf
  Sponsored by:  Cavium
  Differential Revision: https://reviews.freebsd.org/D5421

Modified:
  head/sys/dev/vnic/nic_main.c

Modified: head/sys/dev/vnic/nic_main.c
==============================================================================
--- head/sys/dev/vnic/nic_main.c	Thu Feb 25 14:23:02 2016	(r296035)
+++ head/sys/dev/vnic/nic_main.c	Thu Feb 25 14:24:32 2016	(r296036)
@@ -628,9 +628,6 @@ nic_init_hw(struct nicpf *nic)
 {
 	int i;
 
-	/* Reset NIC, in case the driver is repeatedly inserted and removed */
-	nic_reg_write(nic, NIC_PF_SOFT_RESET, 1);
-
 	/* Enable NIC HW block */
 	nic_reg_write(nic, NIC_PF_CFG, 0x3);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602251424.u1PEOWlk063492>