D
david_8274
Hi,
I feel that there are two different types of device drivers.
Type 1: the device driver provides userspace API such as .read, .write and .ioctl. The driver is assigned a major/minor number and userspace program may access physical devices by use the API it provides.
Type 2: the device driver doesn't not provide user space API (no read, write or .ioctl), and the driver is used by another driver in the kernel.
So how do I categorize these two types of drivers? What are the correct technical terms for them?
Thanks,
Wei
windows_7 david_8274 is online now Report This Post
Continue reading...
I feel that there are two different types of device drivers.
Type 1: the device driver provides userspace API such as .read, .write and .ioctl. The driver is assigned a major/minor number and userspace program may access physical devices by use the API it provides.
Type 2: the device driver doesn't not provide user space API (no read, write or .ioctl), and the driver is used by another driver in the kernel.
So how do I categorize these two types of drivers? What are the correct technical terms for them?
Thanks,
Wei
windows_7 david_8274 is online now Report This Post
Continue reading...