diff options
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 0ce7cf0dc99c..dfd66eaed1aa 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -676,16 +676,17 @@ netxen_start_firmware(struct netxen_adapter *adapter) | |||
676 | return err; | 676 | return err; |
677 | } | 677 | } |
678 | 678 | ||
679 | if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) | ||
680 | netxen_set_port_mode(adapter); | ||
681 | |||
682 | if (first_boot != 0x55555555) { | 679 | if (first_boot != 0x55555555) { |
683 | adapter->pci_write_normalize(adapter, | 680 | adapter->pci_write_normalize(adapter, |
684 | CRB_CMDPEG_STATE, 0); | 681 | CRB_CMDPEG_STATE, 0); |
685 | netxen_pinit_from_rom(adapter, 0); | 682 | netxen_pinit_from_rom(adapter, 0); |
686 | msleep(1); | 683 | msleep(1); |
687 | } | 684 | } |
685 | |||
688 | netxen_nic_reg_write(adapter, CRB_DMA_SHIFT, 0x55555555); | 686 | netxen_nic_reg_write(adapter, CRB_DMA_SHIFT, 0x55555555); |
687 | if (NX_IS_REVISION_P3(adapter->ahw.revision_id)) | ||
688 | netxen_set_port_mode(adapter); | ||
689 | |||
689 | netxen_load_firmware(adapter); | 690 | netxen_load_firmware(adapter); |
690 | 691 | ||
691 | if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) { | 692 | if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) { |