mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
332c869727
commit
73f8bb5343
1 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue