[brcm47xx] Fix build warnings
[openwrt-10.03/.git] / target / linux / brcm47xx / patches-2.6.32 / 700-ssb-gigabit-ethernet-driver.patch
index f7deb54e171c1facbcb29c3e759544e0a2a09259..de25019506b0ddc34d3b492445589935cf0688cc 100644 (file)
@@ -80,7 +80,7 @@
        /* Workaround for unstable PLL clock */
 -      if ((GET_CHIP_REV(tp->pci_chip_rev_id) == CHIPREV_5750_AX) ||
 -          (GET_CHIP_REV(tp->pci_chip_rev_id) == CHIPREV_5750_BX)) {
-+      if ((tp->phy_id & PHY_ID_MASK != PHY_ID_BCM5750_2) &&
++      if ((tp->phy_id & PHY_ID_MASK) != PHY_ID_BCM5750_2 &&
 +                              /* !!! FIXME !!! */
 +          ((GET_CHIP_REV(tp->pci_chip_rev_id) == CHIPREV_5750_AX) ||
 +          (GET_CHIP_REV(tp->pci_chip_rev_id) == CHIPREV_5750_BX))) {