LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-28-2007, 11:34 PM   #1
first1113
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
Question how to modified 16c550 uart driver from kernel 2.4 to 2.6


I use embedded system (linux),now,the hardware should modified,and linux kernel should from 2.4 to 2.6.

I am a Beginners for linux ,and i have 2.4 16550 uart driver,The problem is how to modified to kernel 2.6.
and I should Pay attention to what .


thank you
my e-mail
first1113_1@hotmail.com
 
Old 03-01-2007, 04:38 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
To rephrase your question: you want to know how to upgrade the UART driver when you upgrade the kernel from 2.4 to 2.6
Is this the question you are trying to ask?

If yes, then wherever the 2.6 kernel come from, there should also be a corresponding UART driver. Just use that.

If not, then please try to rephrase your question.

--- rod.
 
Old 03-01-2007, 07:09 PM   #3
first1113
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Question

thanks!
i want to ask
how to upgrade the "existing" UART driver when you upgrade the kernel from 2.4 to 2.6
 
Old 03-02-2007, 01:24 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
I guess you would have to modify the source code, if that is even necessary, put it into the appropriate place in the linux source tree, and build a new kernel &/or modules. Unless there is something different about the interface between drivers and the kernel (seems unlikely, but I don't really know) in linux 2.6, I would bet that the code has not changed. I know the hardware and related aspects have been pretty stable on the PC architecture for decades.
Does that help, or have I missed your whole point?
--- rod.
 
  


Reply

Tags
driver, from, how, kernel, modified, uart


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
uart driver for infrared remote control ubuntu_amateur Linux - Kernel 4 11-04-2006 01:38 PM
device driver for UART (write illegal seek - error) adit_2g Programming 0 06-10-2006 01:07 PM
Make a new iso image to install my modified kernel biggeorge Linux - Software 2 12-20-2005 04:40 AM
New kernel doesn't recognize my modem's UART Kanaflloric Linux - Hardware 0 09-28-2004 10:54 PM
an modified kernel in the slackware cd! is there an way?!?!?! cHarOn99 Slackware 9 08-21-2003 12:04 AM


All times are GMT -5. The time now is 03:19 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