LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-22-2012, 09:27 AM   #1
rajivdp
Member
 
Registered: Oct 2008
Posts: 34

Rep: Reputation: 17
What is the difference between Device Driver and Firmware in IO cards ?


Hi

What is the difference between device driver and firmware in IO cards?

Let me clarify what I knew

Device driver(low-level) is the one that speaks to IO devices via registers. We identify address (memory map and IO map) of these registers using Base Address Register(BAR) info from PCI configuration space and access them through IN/OUT instructions from CPU(in case of IO MAP)and program these registers by reading through each register description in IO vendor device specification. Device driver is controlled by OS Kernel(CPU).

Firmware is the one that resides in IO device flash memory.

Please correct if am wrong

Questions
---------

What is the use of firmware that resides in flash with IO device?

What are contents of firmware that resides in Flash either code or data?

Where does it gets executes in Host CPU or some embedded processors in IO device itself?

Thanks in advance.

Regards
Rajiv
 
Old 11-22-2012, 09:37 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,215

Rep: Reputation: 231Reputation: 231Reputation: 231
What about asking another related topic the CMOS? Coreboot and UEFI ? These are important topics that every computing person must understand. I may not pretend to answer your question, I'm afraid out of my enthusiasm excesses of speech might degrade my charity.

Your questions are better answered here and here.

May this help you and good luck.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is the difference between a linux embedded and a device driver programer ? pradiptart Programming 9 08-27-2012 12:32 AM
Linux PCIE and PCI device driver difference? ningzhanghnu Linux - General 2 03-04-2012 10:30 AM
what difference between Windows and Linux device Driver Architecture? rubinliutoo Linux - General 2 06-28-2008 10:19 PM
What is the Linux difference between PCIE and PCI device driver? jbreaka4lyfe Linux - General 0 06-04-2008 02:54 PM
devoloping device driver for add on cards swamy suresh Programming 2 06-03-2007 09:19 AM


All times are GMT -5. The time now is 11:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration