-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
broadcom: Consolidate dev_flags definitions
This patch moves all the dev_flags enumerations outside the broadcom.c file to include/linux/brcmphy.h. The existing flags were not used yet and have been re-enumerated to avoid conflicts. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Matt Carlson
authored and
David S. Miller
committed
Nov 3, 2009
1 parent
c73430d
commit 8649f13
Showing
2 changed files
with
12 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
#define PHY_BRCM_WIRESPEED_ENABLE 0x00000001 | ||
#define PHY_BRCM_AUTO_PWRDWN_ENABLE 0x00000002 | ||
#define PHY_BRCM_APD_CLK125_ENABLE 0x00000004 | ||
#define PHY_BRCM_STD_IBND_DISABLE 0x00000008 | ||
#define PHY_BRCM_EXT_IBND_RX_ENABLE 0x00000010 | ||
#define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00000020 | ||
#define PHY_BCM_FLAGS_MODE_COPPER 0x00000001 | ||
#define PHY_BCM_FLAGS_MODE_1000BX 0x00000002 | ||
#define PHY_BCM_FLAGS_INTF_SGMII 0x00000010 | ||
#define PHY_BCM_FLAGS_INTF_XAUI 0x00000020 | ||
#define PHY_BRCM_WIRESPEED_ENABLE 0x00000100 | ||
#define PHY_BRCM_AUTO_PWRDWN_ENABLE 0x00000200 | ||
#define PHY_BRCM_APD_CLK125_ENABLE 0x00000400 | ||
#define PHY_BRCM_STD_IBND_DISABLE 0x00000800 | ||
#define PHY_BRCM_EXT_IBND_RX_ENABLE 0x00001000 | ||
#define PHY_BRCM_EXT_IBND_TX_ENABLE 0x00002000 | ||
#define PHY_BCM_FLAGS_VALID 0x80000000 |