Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/benet/be_cmds.h include/linux/sysctl.h
This commit is contained in:
@@ -342,7 +342,7 @@ netxen_check_hw_init(struct netxen_adapter *adapter, int first_boot)
|
||||
if (!(first_boot & 0x4)) {
|
||||
first_boot |= 0x4;
|
||||
NXWR32(adapter, NETXEN_PCIE_REG(0x4), first_boot);
|
||||
first_boot = NXRD32(adapter, NETXEN_PCIE_REG(0x4));
|
||||
NXRD32(adapter, NETXEN_PCIE_REG(0x4));
|
||||
}
|
||||
|
||||
/* This is the first boot after power up */
|
||||
@@ -1952,12 +1952,8 @@ static void netxen_nic_handle_phy_intr(struct netxen_adapter *adapter)
|
||||
linkup = (val == XG_LINK_UP_P3);
|
||||
} else {
|
||||
val = NXRD32(adapter, CRB_XG_STATE);
|
||||
if (adapter->ahw.port_type == NETXEN_NIC_GBE)
|
||||
linkup = (val >> port) & 1;
|
||||
else {
|
||||
val = (val >> port*8) & 0xff;
|
||||
linkup = (val == XG_LINK_UP);
|
||||
}
|
||||
val = (val >> port*8) & 0xff;
|
||||
linkup = (val == XG_LINK_UP);
|
||||
}
|
||||
|
||||
netxen_advert_link_change(adapter, linkup);
|
||||
|
Reference in New Issue
Block a user