摘要: phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);实际上就是 list_add_tail(&phy_provider->list, &phy_provider_list);将队列 phy_provider-> 阅读全文
posted @ 2020-09-30 11:28 蒲城小农 阅读(300) 评论(0) 推荐(0)
摘要: 转自 https://blog.csdn.net/qq_35003588/article/details/102516512 DEVICE_ATTR_RW 宏分析 举个例子 kernel/driver/rtc/rtc-sysfs.c 的宏分析 static DEVICE_ATTR_RW(wakeal 阅读全文
posted @ 2020-09-30 11:25 蒲城小农 阅读(1033) 评论(0) 推荐(0)