Network card driving method

A network card driver, network card technology, applied in the direction of program loading/starting, electrical components, program control devices, etc., can solve the problems of difficult communication of interface signals, increase the complexity of interface signals, and reduce communication efficiency.

Inactive Publication Date: 2008-07-30
ZHEJIANG UNIV
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

General network card drivers are aimed at specific applications and specific models of network cards. The basic process includes: network card initialization, interrupt processing process control, sending process control, receiving process control, and the interface signals are not easy to be different from those in the chip. Circuit modules communicate, which undoubtedly increases the complexity of interface signals, resulting in a reduction in communication efficiency between different modules

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network card driving method
  • Network card driving method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The method of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0028] In this embodiment, the 10M / 100M adaptive Ethernet of AX88796L of ASIX Company is selected. This network card supports four CPU types: ISA, 80186, 68K and 8051. We choose the ISA bus to illustrate. The network card requires that the write enable low level hold time of the register is at least 60ns, and the high level hold time is at least 100ns. We assume that the system operating frequency is 50Mhz, that is, the period is 20ns.

[0029] As shown in Figure 1, the specific flow of the network card driver method is:

[0030] 1. According to the high and low level holding time of the network card and the system operating frequency, the system clock period Tp=20ns, the low level holding time Tl=60ns, then the value of the low level counting register is set to 3 (Tl / Tp=60 / 20); similarly, the hold time of the high level is Th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a network card-driving method. The lack of flexibility in prior art causes a communication efficiency reduction between different modules. The method of the invention includes the following steps: configuring the register of the network card according to the timing requirements; initializing the network card according to the parameters required for specific work; monitoring whether the card gives an interruption message and the upper layer gives a sending enable message, and if not, the system is in the waiting state; if receiving the sending enable message from the upper layer, the system enters the data sending process; if receiving the interruption message from the network card, the system enters the handling interruption process; if the writing pointer of the card does not change, the system enters the data receiving process. The invention introduces a response waiting mechanism and with the drive, the upper layer can stop the network card data transfer process momentarily only by sending a data ending signal to the card driver. The time-based method greatly increases the universal performance of network card drivers.

Description

technical field [0001] The invention belongs to the technical field of integrated circuits, and in particular relates to a network card driving method. Background technique [0002] In the information age with highly developed network technology, the network card as the data link layer of the OSI (Basic Reference Model for Open Systems Interconnection) naturally plays an important role that cannot be ignored. However, the network card interface signals of different companies are not the same, and the timing requirements of network cards of different processes and models are also different, which has a great negative impact on the flexibility of network card drivers based on hardware implementation. [0003] Traditional network card drivers are software programs designed based on C or other languages, but if you want to communicate with a self-designed chip and network card, you must use hardware circuits to configure and control the network card. General network card driver...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/10G06F9/445
Inventor 廉玉平韩雁霍明旭陈金龙张艳
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products