PHY register read-write method and device

A read-write method and register technology, applied in the computer field, can solve the problems of no PHY read-write register tool, register read, etc., and achieve the effect of realizing read-write function and realizing support

Active Publication Date: 2019-04-12
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the embodiment of the present invention is to propose a general-purpose, multi-scenario PHY register reading and writing tool, which is used to solve the problem that the registers of the PHY chip cannot be read through / dev / mem and a MAC externally connects multiple There is no problem that the PHY read and write register tool is available in the demand scenario of the PHY chip, and it can also support the read and write function of the extended register for complex PHY chips with more than 32 registers

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
  • PHY register read-write method and device
  • PHY register read-write method and device
  • PHY register read-write method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Embodiments of the present disclosure are described below. It is to be understood, however, that the disclosed embodiments are merely examples and that other embodiments may take various alternative forms. The figures are not necessarily to scale; some features may be exaggerated or minimized to show details of particular components. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a representative basis for teaching one skilled in the art to variously employ the present invention. As will be understood by persons of ordinary skill in the art, various features shown and described with reference to any one figure can be combined with features shown in one or more other figures to create embodiments not explicitly shown or described . Combinations of features shown provide representative embodiments for typical applications. However, various combinations and modifications of the features consist...

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 provides a PHY register read-write method. The method comprises the following steps of binding an Applet operation function set to define an auxiliary function; analyzing the first command line parameter input by the user to obtain the access behavior of the user; calling a corresponding first processing function according to the access behavior; calling the auxiliary function through a first processing function to analyze a second command line parameter input by the user so as to obtain all physical access paths, and storing the analyzed data into a structure variable; and calling a second processing function corresponding to the first processing function, transmitting the structure variable as a parameter into the second processing function, and finding a corresponding PHYregister according to the parameter through the second processing function to carry out read-write operation. The PHY register read-write method is universal, adapts to all application scenarios and has good expandability.

Description

technical field [0001] The present invention generally relates to the field of computers, and more specifically, relates to a method and device for reading and writing PHY registers. Background technique [0002] Ethernet devices are essential core hardware resources for products such as servers and interactive computers. When low-level R&D personnel encounter similar abnormal problems such as inconsistency in sending and receiving data packets, packet loss when there is a large amount of data, etc., they not only need to read and write the registers of the monitoring MAC (MediaAccess Control, the lower part of the data link layer in the LAN), but also need to read and write Write the registers that monitor the PHY (Physical Layer, the physical layer in the OSI model). The access of PHY registers is different from the access of MAC registers. MAC devices are generally registered into the kernel as platform devices, and their registers are also dynamically mapped (ioremap) t...

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): G06F9/30
CPCG06F9/30098
Inventor 王鹏
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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