Network Device Driver for RTL8139[1] (1).ppt

13
Presented by, ATHIRA N.S. HAMSA PRIYA JAYASHREE K. SHARMILA K.N. Under the guidance of, Mr.GANESH M,M.Tech, Assistant Professor, Department of ISE

Transcript of Network Device Driver for RTL8139[1] (1).ppt

Page 1: Network Device Driver for RTL8139[1] (1).ppt

Presented by, ATHIRA N.S. HAMSA PRIYA JAYASHREE K. SHARMILA K.N.

Under the guidance of, Mr.GANESH M,M.Tech, Assistant Professor, Department of ISE

Page 2: Network Device Driver for RTL8139[1] (1).ppt

Agenda Introduction Client and Server paradigm NIC RTL8139C Operating System Applications Conclusion and Future Enhancements Bibliography

Page 3: Network Device Driver for RTL8139[1] (1).ppt

IntroductionProblem and Literature Survey :

In the today's networking world, the number of network configurations and layouts are unlimited. Yet, understanding the monitoring principles and concepts provides the user with the ability to find a solution that can ensure traffic visibility in virtually any situation.

Naturally, the network visibility is not the final purpose. Rather, it's a base required for the correct usage of network monitoring and analysis software.

As a technical student, it’s our duty to view the trends of the current technologies and try to work with it. So when the idea of final project had come to my mind , I tried to correlate my project with needs of our system.

Page 4: Network Device Driver for RTL8139[1] (1).ppt

Existing system

In the existing driver, one buffer is used to achieve the data transmission .

since four transmit registers are there in the controller, we are exploiting all the four registers in the developing the device driver.

Page 5: Network Device Driver for RTL8139[1] (1).ppt

Proposed systemThe rtl8139 has got a set of configuration

registers. using this configuration registers,we can configure device.

Since this controller has got four transmit register and one reception register,all the four transmit registers are to be used.

So the transmission becomes faster in the source machine.

Page 6: Network Device Driver for RTL8139[1] (1).ppt

Client and Server paradigm

Ethernet

data

textdata

stack

socket socket text

stack

app

tcp / udpip

driver

app

tpc / udpip

driver

client server

MACMAC MAC

Page 7: Network Device Driver for RTL8139[1] (1).ppt

NIC

Page 8: Network Device Driver for RTL8139[1] (1).ppt

RTL8139C128-pin Controller.Supports 10 Mb/s and 100 Mb/s N-way Auto-negotiation .Compliant to PC99 and PC2001 StandardsSupports Link Change, Microsoft "Wake-up Frame", and AMD

"Magic Packet" for WOL (Wake –On –LAN) function Contains two large (2Kbyte) independent receive (Rx) and

transmit (Tx) FIFOsSupports LED pins for various network activity indicationsSupports Full Duplex Flow Control (IEEE 802.3x)2.5 / 3.3V power supply with 5V tolerant I/Os

Page 9: Network Device Driver for RTL8139[1] (1).ppt

Data transmission and reception .

Tx fifo2k

Rx fifo2k

Skb

Tcp/ udp

IpData

App

Rx

Tx

Tsa0Ts0

Tsa1Ts1

Tsa2Ts2

Tsa3

Ts3

RsaRs

NIC Card

Tsa – Transmit start addressTa – Transmit status

process

CableBUFFERS

Buffer

Page 10: Network Device Driver for RTL8139[1] (1).ppt

Operating System

USER Program

KERNEL

DEVICE DRIVER

HARDWARE

SPLIT VIEW OF KERNAL

The GNU Project, started in the early 1980's by Richard Stallman, laid the foundation for the development of open source software. And finally, Linus Torvald's endless enthusiasm for perfection gave birth to Linux

Page 11: Network Device Driver for RTL8139[1] (1).ppt

Applications

TemperatureHumidityPressure On/OffI/O Display

Industrial Embedded Control

Home Security

Setup Box

Page 12: Network Device Driver for RTL8139[1] (1).ppt

BibliographyReferences:

[1] Alessandro Rubini and Johnatthan Corbett,“Linux Ethernet Network Device Driver – A flow of code”, July 2006.

[2]Brian W. Kernighan, Dennis M. Ritchie “The C Programming language “2nd ed.prentice-Hall India.

[3] Maurice J.Bach “ The Design of UNIX Operating System”2nd ed. Prentice-Hall India.

[4] Design of NETWORK device driver in embedded Linux, 2010 International Conference978-1-4244-7237-6/$26.00 C 2010 IEEE Yongxiang Guo and Wu Deng, Software Institute, Dalian Jiaotong University, Dalian 116028, China.

[5] Realtek Single Chip Fast Ethernet Controller RTL8139C, Spec Document, Realtek

Website links:

http://www.kernel.org

http://www.linux.it/kerneldoc/init

http://www.google.co.in/

http://www.wikipedia.org/

Page 13: Network Device Driver for RTL8139[1] (1).ppt

Thank YOU