CN102801553A - Adaptation method for adaptive modulation and coding (AMC) daughter cards - Google Patents
Adaptation method for adaptive modulation and coding (AMC) daughter cards Download PDFInfo
- Publication number
- CN102801553A CN102801553A CN2012102169941A CN201210216994A CN102801553A CN 102801553 A CN102801553 A CN 102801553A CN 2012102169941 A CN2012102169941 A CN 2012102169941A CN 201210216994 A CN201210216994 A CN 201210216994A CN 102801553 A CN102801553 A CN 102801553A
- Authority
- CN
- China
- Prior art keywords
- amc
- subcard
- network interface
- bus
- title
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention discloses an adaptation method for an adaptive modulation and coding (AMC) daughter card. The method comprises the following steps of: when a network port driver is loaded, identifying the network port sequence numbers of peripheral component interconnect (PCI) bridge buses with the AMC daughter cards, and fixing the name of a corresponding network port position corresponding to a network card port of each AMC daughter card on the corresponding PCI bridge bus according to the bus sequence numbers of PCI bridges when network equipment is registered. The adaptation function of the AMC daughter card is realized by adding corresponding codes into the network port driver according to the bus sequence numbers of the PCI bridges with the AMC daughter cards, and the names of the network ports are not changed along with the change of hardware configuration, so that the problem that related application or modules cannot be used normally when the names of the network ports are changed is solved.
Description
Technical field
The present invention relates to field of wireless communication; Especially a kind of Linux (or other operating system os) realizes down the method for the controllability of many network interface cards recognition sequence, the adaptive implementation method of specifically a kind of AMC subcard in the PCI bus architecture according to the bus sequence number of PCI bridge.
Background technology
At present, field of wireless communication has specific access controller (AC) usually.Some is based on (such as the WS200 of my company) of ATCA standard the realization of access controller (AC), and the expansion of its network interface generally is to use the AMC subcard to realize; The PCI bus architecture that its hardware structure uses.And the recognition sequence of network interface card can cause application relevant with the network interface title or module and can't normally use because the expansion of AMC subcard, remove or light mouth and electricity mouthful exchange and make the sequence (network interface title) of network interface change like this in the general linux system.
?
Summary of the invention
The objective of the invention is to PCI bus architecture lower network interface card such as AMC subcard; Expanding, removing or the bus sequence number of light mouth and electricity existing AMC subcard PCI bridge of living in when mouthful exchanging is changing and cause the title of network interface to change; Be unfavorable for the problem of managing proposing the adaptive implementation method of a kind of AMC subcard.
Technical scheme of the present invention is:
The adaptive implementation method of a kind of AMC subcard; It may further comprise the steps: when network interface drive to load, identify the network interface sequence number of the residing PCI bridge of AMC subcard bus, and according to the bus sequence number of PCI bridge when the registered network equipment on the PCI bridge bus that the network interface card port of each AMC subcard is corresponding the title of corresponding network interface position fix.
Among the present invention, when changing the AMC subcard, the network interface title that the network interface card port of new AMC subcard is corresponding adopts original fixing network interface title.And it is newly-increased or do not influence the network interface title of other AMC subcard that has distributed when removing AMC subcard arbitrarily.
The present invention specifically may further comprise the steps:
Step 1, detecting network interface hardware: start the operating system, operating system autopolling PCI bridge, several hardware that record PCI bridge bus is connected are the bus sequence number and the network interface title of the PCI bridge of AMC subcard; (corresponding several network interface titles of bus sequence number)
Step 2, distribution network device structure: for detected hardware is AMC subcard storage allocation;
Step 3, the network interface title that corresponding network interface position on the PCI bridge bus of network interface card port institute interface of each AMC subcard is set are that corresponding network interface position is called static mapping with the network interface name on the pci bus that each AMC subcard connected: each hardware that obtains according to step 1 is the bus sequence number and the network interface title of the PCI bridge that is connected of AMC subcard; Fixed number is carried out in the corresponding network interface position that AMC subcard on the corresponding pci bus is connected, adjust the network interface title of being distributed in the driver of each AMC subcard;
Step 4, registered network equipment: the corresponding network interface title that the AMC subcard of deciding according to step 3 is connected, in system, the AMC subcard to be registered, the registration back shows AMC subcard and the network interface title of using in the list of devices of system.
In the step 3 of the present invention: according to the network interface card port number of each AMC subcard, corresponding network interface position is carried out the title setting and is promptly numbered on the PCI bridge bus that patches for each AMC subcard correspondence.
Beneficial effect of the present invention:
The present invention is mainly according to the bus sequence number of the residing PCI bridge of AMC subcard; Through in network port driving, increasing the adaptation function that corresponding code is realized the AMC subcard; The title of network interface not because Hardware configuration (mainly be the AMC subcard expansion, remove or photoelectricity exchanges) change and change, solved the problem that causes relevant application or module normally to use because of the network interface name changing.
Description of drawings
Fig. 1 is a flow chart of the present invention.
Fig. 2 is that network interface title of the present invention is provided with flow chart.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is further described.
Like Fig. 1, shown in 2, the adaptive implementation method of a kind of AMC subcard, it may further comprise the steps:
Step 1, detecting network interface hardware: start the operating system operating system autopolling PCI bridge, two AMC subcards that record PCI bridge bus is connected, the bus sequence number of the PCI bridge of two AMC subcards and network interface title;
Step 2, distribution network device structure: be detected two AMC subcard storage allocations;
Step 3, the network interface title that corresponding network interface position on the PCI bridge bus of network interface card port institute interface of each AMC subcard is set are that corresponding network interface position is called static mapping with the network interface name on the pci bus that each AMC subcard connected: each hardware that obtains according to step 1 is the bus sequence number and the network interface title of the PCI bridge that is connected of AMC subcard; Fixed number is carried out in the corresponding network interface position that AMC subcard on the corresponding pci bus is connected, adjust the network interface title of being distributed in the driver of each AMC subcard; When the first seven position of pci bus sequence number of AMC subcard position is " 0000:04 ", the network interface title of distributing the corresponding AMC subcard that connects of this bus sequence number to be connected: eth0, eth1; Eth2, eth3 is when the first seven position of the bus sequence number of AMC subcard position is " 0000:0B "; The network interface name of distributing the corresponding AMC subcard that connects of this bus sequence number to be connected is called: eth6; Eth7, eth8, eth9.
Step 4, registered network equipment: the corresponding network interface title that the AMC subcard of deciding according to step 3 is connected, in system, the AMC subcard to be registered, the registration back shows AMC subcard and the network interface title of using in the list of devices of system.
The present invention does not relate to all identical with the prior art prior art that maybe can adopt of part and realizes.
Claims (4)
1. adaptive implementation method of AMC subcard; It is characterized in that it may further comprise the steps: when network interface drive to load, identify the network interface sequence number of the residing PCI bridge of AMC subcard bus, and according to the bus sequence number of PCI bridge when the registered network equipment on the PCI bridge bus that the network interface card port of each AMC subcard is corresponding the title of corresponding network interface position fix.
2. the adaptive implementation method of a kind of AMC subcard according to claim 1 is characterized in that when changing the AMC subcard, and the network interface title that the network interface card port of new AMC subcard is corresponding adopts original fixing network interface title; And it is newly-increased or do not change the network interface title of other AMC subcard that has distributed when removing AMC subcard arbitrarily.
3. the adaptive implementation method of a kind of AMC subcard according to claim 1 is characterized in that it specifically may further comprise the steps:
Step 1, detecting network interface hardware: start the operating system, operating system autopolling PCI bridge, several hardware that record PCI bridge bus is connected are the bus sequence number and the network interface title of the PCI bridge of AMC subcard;
Step 2, distribution network device structure: for detected hardware is AMC subcard storage allocation;
Step 3, the network interface title that corresponding network interface position on the PCI bridge bus of network interface card port institute interface of each AMC subcard is set are that corresponding network interface position is called static mapping with the network interface name on the pci bus that each AMC subcard connected: each hardware that obtains according to step 1 is the bus sequence number and the network interface title of the PCI bridge that is connected of AMC subcard; Fixed number is carried out in the corresponding network interface position that AMC subcard on the corresponding pci bus is connected, adjust the network interface title of being distributed in the driver of each AMC subcard;
Step 4, registered network equipment: the corresponding network interface title that the AMC subcard of deciding according to step 3 is connected, in system, the AMC subcard to be registered, the registration back shows AMC subcard and the network interface title of using in the list of devices of system.
4. the adaptive implementation method of a kind of AMC subcard according to claim 3; It is characterized in that in the described step 3: according to the network interface card port number of each AMC subcard, corresponding network interface position is carried out the title setting and is promptly numbered on the PCI bridge bus that patches for each AMC subcard correspondence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210216994.1A CN102801553B (en) | 2012-06-28 | 2012-06-28 | Adaptation method for adaptive modulation and coding (AMC) daughter cards |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210216994.1A CN102801553B (en) | 2012-06-28 | 2012-06-28 | Adaptation method for adaptive modulation and coding (AMC) daughter cards |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102801553A true CN102801553A (en) | 2012-11-28 |
CN102801553B CN102801553B (en) | 2015-05-06 |
Family
ID=47200526
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210216994.1A Expired - Fee Related CN102801553B (en) | 2012-06-28 | 2012-06-28 | Adaptation method for adaptive modulation and coding (AMC) daughter cards |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102801553B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135280A (en) * | 2016-02-29 | 2017-09-05 | 上海格尔软件股份有限公司 | The method that many network card equipments based on (SuSE) Linux OS adjust network interface card order |
CN109412830A (en) * | 2018-09-05 | 2019-03-01 | 广州视源电子科技股份有限公司 | The cured method, apparatus of Adapter Name, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060010278A1 (en) * | 2002-03-19 | 2006-01-12 | Dell Products L.P. | System and method for managing bus numbering |
CN101017463A (en) * | 2006-02-06 | 2007-08-15 | 四零四科技股份有限公司 | Method for fixing and naming general serial port device on host port |
US20080201515A1 (en) * | 2007-02-20 | 2008-08-21 | Scott Birgin | Method and Systems for Interfacing With PCI-Express in an Advanced Mezannine Card (AMC) Form Factor |
CN101751349A (en) * | 2008-12-01 | 2010-06-23 | 海华科技股份有限公司 | Virtual USB interface coding method and computer readable medium thereof |
-
2012
- 2012-06-28 CN CN201210216994.1A patent/CN102801553B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060010278A1 (en) * | 2002-03-19 | 2006-01-12 | Dell Products L.P. | System and method for managing bus numbering |
CN101017463A (en) * | 2006-02-06 | 2007-08-15 | 四零四科技股份有限公司 | Method for fixing and naming general serial port device on host port |
US20080201515A1 (en) * | 2007-02-20 | 2008-08-21 | Scott Birgin | Method and Systems for Interfacing With PCI-Express in an Advanced Mezannine Card (AMC) Form Factor |
CN101751349A (en) * | 2008-12-01 | 2010-06-23 | 海华科技股份有限公司 | Virtual USB interface coding method and computer readable medium thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135280A (en) * | 2016-02-29 | 2017-09-05 | 上海格尔软件股份有限公司 | The method that many network card equipments based on (SuSE) Linux OS adjust network interface card order |
CN109412830A (en) * | 2018-09-05 | 2019-03-01 | 广州视源电子科技股份有限公司 | The cured method, apparatus of Adapter Name, computer equipment and storage medium |
CN109412830B (en) * | 2018-09-05 | 2022-05-06 | 广州视源电子科技股份有限公司 | Method and device for curing internet card name, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102801553B (en) | 2015-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2219106A3 (en) | Methods and apparatus for migrating thin provisioning volumes between storage systems | |
CN102722414A (en) | Input/output (I/O) resource management method for multi-root I/O virtualization sharing system | |
CN102870380B (en) | The power board of blade server and port configuration method thereof | |
CN102413202A (en) | Automatic distribution method of blade server management internal network IP address | |
US20140280960A1 (en) | Methods and apparatus for dynamically allocating devices between multiple controllers | |
CN111294413B (en) | Method, device and readable medium for determining Internet Protocol (IP) address | |
EP2570913A1 (en) | Method and system for accessing storage device | |
CN107395710B (en) | Method and device for realizing configuration and high availability HA of cloud platform network element | |
US20160275027A1 (en) | System and Method to Avoid SMBus Address Conflicts via a Baseboard Management Controller | |
CN102520887A (en) | Storage space configuration and management method applied to cloud computing | |
CN102722461A (en) | Data communication system of storage management system and communication method thereof | |
CN110618918A (en) | Control method, control device and control equipment for hard disk status lamp in PCH | |
CN102123084A (en) | Resource scheduling method and system in cloud computing operating system | |
CN102393848A (en) | Method and system for acquiring identification information of data terminal equipment | |
CN110399280A (en) | A kind of management method of PCIE device, management system and relevant apparatus | |
CN104572279A (en) | Node binding-supporting virtual machine dynamic scheduling method | |
CN104965729A (en) | Method of server for automatically setting BIOS default values | |
CN102801553B (en) | Adaptation method for adaptive modulation and coding (AMC) daughter cards | |
CN103986797A (en) | Network card sequence adjusting method based on Linux operation system | |
CN104049692A (en) | Blade server | |
US20140082258A1 (en) | Multi-server aggregated flash storage appliance | |
EP1785883A8 (en) | Computer system in which bus resources are selected according to a computer modules position. | |
CN102622274A (en) | Computer device and interrupt task allocation method thereof | |
CN111651007A (en) | Server cabinet U bit management method and management system | |
CN102789388A (en) | Method and system for adding network card function to MIPS frame server based on BMC |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150506 Termination date: 20200628 |