difference between device driver and device controller

This is a discussion on difference between device driver and device controller within the Tech Board forums, part of the Community Boards category; I was trying to find out exactly waht is the difference between device driver nad the device controller. I've read ...

  1. #1
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    712

    difference between device driver and device controller

    I was trying to find out exactly waht is the difference between device driver nad the device controller. I've read some tutorials, but confusing is even more:
    "Device controller provides interface between device (physical device) and adress and data bus. Device cotroller provides interface that is uniform to all device having command registers, status registers and data reisters. Device controller provides interface to be used by the high level machine software."
    A little later practically all that is said for device driveres:
    " Device driveres implement a similar interface, so a higher level machine need not to be espacially concerned with the details of the particular device. The goal is to simplify software interfaces to devices as much as possible..."
    Is that means that only device drivers provides interface that enables application programmer sees all devices in the same way, and not device controller. I'm confused because on a lot of places what is said for device controller later is said for device drivers. Can I say:
    Device drivers translates request from application to a device controller depended instructiont which then translate them to device instruction on physical level?

    Thanks in advance!

  2. #2
    .
    Join Date
    Nov 2003
    Posts
    307
    A device controller (hardware) understands "software" input. It translates software input into something a hardware device understands. Controllers sometimes have their own memory and their own cpu.

    Device drivers are purely software, no matter where they are found. Device drivers communicate between the operating system and the physical device controller.

    Where a driver or contoller is physically located can be a fuzzy concept, but what they do is different.

  3. #3
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    712
    So can I say that device controller is actualy a hardware (exists in physical sense) and device driver is software?

  4. #4
    .
    Join Date
    Nov 2003
    Posts
    307
    Yes.

  5. #5
    Registered User Micko's Avatar
    Join Date
    Nov 2003
    Posts
    712
    Thanks for help, I really don't understan how in some books can be written tons of words and sentences, and everything could be explained just using simple words. I mean few short and clear sentences-definitions and then explain it detail

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. About Device Driver Programming And Socket Programming
    By pritesh in forum Linux Programming
    Replies: 6
    Last Post: 01-23-2010, 03:46 AM
  2. Virtual Device Driver
    By xx3nvyxx in forum Windows Programming
    Replies: 8
    Last Post: 08-23-2006, 12:01 AM
  3. Device Driver: sysfs confusion
    By filker0 in forum Linux Programming
    Replies: 0
    Last Post: 12-02-2005, 11:36 AM
  4. Linux (2.6.10+) device driver: multiple classes?
    By filker0 in forum Linux Programming
    Replies: 3
    Last Post: 09-26-2005, 09:46 PM
  5. Printing to Printer via Device Driver
    By JamMan in forum C++ Programming
    Replies: 1
    Last Post: 11-19-2001, 05:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21