From 73f8bb534361b605d2cdde214daf7e4377216570 Mon Sep 17 00:00:00 2001 From: Zbigniew Bodek Date: Thu, 25 Feb 2016 14:24:32 +0000 Subject: [PATCH] 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 --- sys/dev/vnic/nic_main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/vnic/nic_main.c b/sys/dev/vnic/nic_main.c index 1c350589af62..ea0baa5616af 100644 --- a/sys/dev/vnic/nic_main.c +++ b/sys/dev/vnic/nic_main.c @@ -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);