NETXEN_PCIE_REG
done = NXRD32(adapter, NETXEN_PCIE_REG(PCIE_SEM_LOCK(sem)));
NXRD32(adapter, NETXEN_PCIE_REG(PCIE_SEM_UNLOCK(sem)));
if (off == NETXEN_PCIE_REG(PCIE_SETUP_FUNCTION))
if (off == NETXEN_PCIE_REG(PCIE_SETUP_FUNCTION2))
first_boot = NXRD32(adapter, NETXEN_PCIE_REG(0x4));
NXWR32(adapter, NETXEN_PCIE_REG(0x4), first_boot);
NXRD32(adapter, NETXEN_PCIE_REG(0x4));
chicken = NXRD32(adapter, NETXEN_PCIE_REG(PCIE_CHICKEN3));
NXWR32(adapter, NETXEN_PCIE_REG(PCIE_CHICKEN3), chicken);