Files
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
Squashed backup commit (no shallow-clone history issues) of
xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream
commit 9eece662e) plus all fixes applied to get everpal_defconfig building
clean against a modern (GCC 15.2.0) toolchain -- see the previous commit
message on the lineage-23.2 branch (also in this repo history is not
available here since this is a squashed snapshot; full incremental history
lives in the local DL380 checkout and the upstream GitHub remote).

Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
2026-09-12 13:36:46 +00:00

36 lines
1.1 KiB
C

/*
* Copyright (c) 2019 MediaTek Inc.
* Author: Zhiyong Tao <zhiyong.tao@mediatek.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _STAR_PHY_H_
#define _STAR_PHY_H_
/* Reg3: PHY Identifier 2 */
#define PHY_REG_IDENTFIR2 (3)
#define PHYID2_SMSC8710A (0xC0F1)
#define PHYID2_DM9162_XMII (0xB8A0)
#define PHYID2_KSZ8081MNX (0x1560)
#define PHYID2_IP101G (0x0c54)
#define PHYID2_INTVITESSE (0x0430)
#define PHYID2_RTL8201 (0x8201)
#define PHYID2_RTL8211 (0xC912)
#define PHYID2_IP101A (0x0C50)
#define PHYID2_SMSC7100 (0xC0B1)
#define PHYID2_SMSC8700 (0xC0C4)
#define PHYID2_DM8710A (0x0011)
#define PHYID2_RTL8201FR (0xC816)
int star_detect_phyid(star_dev *dev);
#endif