LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2010, 01:17 PM   #1
rabee
LQ Newbie
 
Registered: Jun 2010
Posts: 6

Rep: Reputation: 0
Question PCnet32 ethernet driver


I'm seeking technical help for a programming problem of a PCnet32 ethercard.

As a hands-on approach to understanding how to write network device drivers, I tried to write a device driver for "PCnet/PCI II 79C970A".

The initialization routine switches PCnet to 32bit mode, setup receive and transmit descriptor rings, initializes the controller by the 32-bit version of the Initialization Block (MODE field: 0) and installs the interrupt service routine.

The transmit routine setup TBADR field, BCNT field of descriptor with the negative of the packet size, sets ENP, STP, and OWN bits of descriptor, and sets TDMD bit in CSR0 to trigger a send poll.

Although the transmitter and receiver section are turned on via the Initialization Block, the controller does not transmit the packet.

I'd appreciate any hints on how to solve the problem.

Last edited by rabee; 06-14-2010 at 01:22 PM.
 
Old 06-16-2010, 01:59 PM   #2
rabee
LQ Newbie
 
Registered: Jun 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Talking

Problem solved.

Last edited by rabee; 06-16-2010 at 02:01 PM.
 
  


Reply



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
My ethernet dirver 'pcnet32.ko' is not loading anymore! sulacco Linux - Networking 1 04-11-2009 04:13 AM
Ethernet driver - kernel crashes after passing a few Ethernet frames to upper layers AustinMarton Linux - Kernel 0 03-12-2009 06:27 PM
Xandros,VMware and PCnet32 frankjg Linux - Networking 0 07-20-2007 01:08 PM
PCMCIA ethernet driver loaded --now what? How do I access ethernet? KWTm Linux - Hardware 3 07-10-2006 01:07 PM
Pcnet32 and homepna glf69 Slackware 1 04-11-2005 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:46 AM.

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
Open Source Consulting | Domain Registration