同样的,学习Linux驱动我们也从最简单的hello驱动学起。比如我们这个hello驱动实验中,我们的驱动程序为hello_drv.c、应用程序为hello_app.c。本篇笔记我们以hello驱动做分享,hello驱动属于字符设备。装载驱动有两个命令,比如装载我们的hello驱动:
同样的,学习Linux驱动我们也从最简单的hello驱动学起。比如我们这个hello驱动实验中,我们的驱动程序为hello_drv.c、应用程序为hello_app.c。本篇笔记我们以hello驱动做分享,hello驱动属于字符设备。装载驱动有两个命令,比如装载我们的hello驱动: