![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux 驱动
文章平均质量分 82
乐分享-程序员
嵌入式BSP工程师
展开
-
file_operations
32 位 程序 ->32位 kernel。64 位 程序 ->64位 kernel。32 位 程序 ->64位 kernel。原创 2024-04-29 17:14:03 · 305 阅读 · 0 评论 -
linux 驱动-匹配1 (platform_bus_type)
实例: echo "my_driver" > /sys/bus/platform/devices/my_device/driver_override。根据of_device_id 的 compatible, type, name顺序去匹配device_node的compatible, type, name。.of_match_table = bcm2835_rng_of_match, 方式2 /方式3().id_table = bcm2835_rng_devtype, 方式4。原创 2024-04-22 10:54:12 · 1066 阅读 · 0 评论 -
linux 驱动-匹配2 (amba_bustype)
/创建amba_device// 用于匹配amba_driver 的id_table。原创 2024-04-22 14:54:35 · 465 阅读 · 0 评论