1 /******************************************************************************
3 * Copyright(c) 2016 Realtek Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 *****************************************************************************/
25 #ifndef HALMAC_INTF_PHY_CMD
26 #define HALMAC_INTF_PHY_CMD
29 enum halmac_intf_phy_cut {
30 HALMAC_INTF_PHY_CUT_TESTCHIP = BIT(0),
31 HALMAC_INTF_PHY_CUT_A = BIT(1),
32 HALMAC_INTF_PHY_CUT_B = BIT(2),
33 HALMAC_INTF_PHY_CUT_C = BIT(3),
34 HALMAC_INTF_PHY_CUT_D = BIT(4),
35 HALMAC_INTF_PHY_CUT_E = BIT(5),
36 HALMAC_INTF_PHY_CUT_F = BIT(6),
37 HALMAC_INTF_PHY_CUT_G = BIT(7),
38 HALMAC_INTF_PHY_CUT_ALL = 0x7FFF,
43 HALMAC_IP_SEL_INTF_PHY = 0,
44 HALMAC_IP_SEL_MAC = 1,
45 HALMAC_IP_SEL_PCIE_DBI = 2,
46 HALMAC_IP_SEL_UNDEFINE = 0x7FFF,
50 enum halmac_intf_phy_platform {
51 HALMAC_INTF_PHY_PLATFORM_ALL = 0x7FFF,