Add Broadcom / Netgear changes from RAXE 1.0.0.48
[project/bcm63xx/u-boot.git] / drivers / net / bcmbca / phy / mac_drv_unimac.h
diff --git a/drivers/net/bcmbca/phy/mac_drv_unimac.h b/drivers/net/bcmbca/phy/mac_drv_unimac.h
new file mode 100644 (file)
index 0000000..e7a469b
--- /dev/null
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+   Copyright (c) 2017 Broadcom Corporation
+   All Rights Reserved
+
+    
+*/
+
+/*
+ *  Created on: Jun 2017
+ *      Author: steven.hsieh@broadcom.com
+ */
+
+#ifndef __MAC_DRV_UNIMAC_H__
+#define __MAC_DRV_UNIMAC_H__
+
+/* definition for mac_drv priv flags */
+#define UNIMAC_DRV_PRIV_FLAG_GMII_DIRECT        (1<<0)
+#define UNIMAC_DRV_PRIV_FLAG_EXTSW_CONNECTED    (1<<1)
+#define UNIMAC_DRV_PRIV_FLAG_SHRINK_IPG         (1<<2)  // for IMP port with clock speed can't support full line rate due to brcm tag
+
+#endif
+