LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2008, 01:24 AM   #1
siddhi817
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
how to make a dummy driver in kernel 2.6


Hi folks, I m trying to write a dummy network driver for realtek8139 as part of my project...can anyone give me a specific c code for the purpose...I already tried a code availabe on the link given below but it doesnt compile [URL="http://linuxgazette.net/issue93/bhaskaran.html"]
 
Old 05-12-2008, 01:39 AM   #2
digvijay.gahlot
Member
 
Registered: Mar 2008
Posts: 53

Rep: Reputation: 15
http://www.shakthimaan.com/downloads.html
This one has a network driver program in it. I have not tested.

http://examples.oreilly.com/linuxdrive3/
This is from Linux Device Driver book, but you might have to modify as the code is quite old. I rewrote and tested with 2.6.23, it works well. The module name is snull.
 
  


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
How to administrate one root from another and make it a dummy one placemevinod Linux - Networking 3 01-28-2007 01:27 AM
Alsa-driver does not make on Mandrake 9.2 with kernel 2.4.22 sdexp Linux - Newbie 3 06-21-2006 09:15 PM
Dummy drivers for Nv after update, can't get old driver Hairulfr SUSE / openSUSE 1 02-25-2006 05:52 PM
kernel-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus SUSE / openSUSE 5 12-02-2004 01:48 PM
When I try to make my ethernet driver under kernel 2.6.8.1 .. error. em0ng Linux - Software 0 09-26-2004 06:59 AM


All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration