LDD3 – Chapter 1. An Introduction to Device Drivers
1.choose an acceptable trade-off between "the programming time of the driver" VS "the flexibility of the driver"
在驱动开发时间和灵活性之间做一个取舍。
2.
"what capabilities are to be provided" (the mechanism)
"how those capabilities can be used" (the policy)
分层设计,是底层细节对上层透明,上层只关心接口。
3.驱动需要关心的是如何让底层硬件动起来,而具体上层用户具体如何使用,开发者不应该做任何假设。
4.
LDD3:
http://lwn.net/Kernel/LDD2/
LDD2:
http://lwn.net/Kernel/LDD2/
转载请注明:在路上 » LDD3 – Chapter 1. An Introduction to Device Drivers