Jump to content

Two different types of device drivers


Recommended Posts

Guest david_8274
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...