# US 2019/0317905 A1 · Electronic apparatus and method of extending peripheral device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0317905 A1
- Document ID: US20190317905A1
- Status: Published application
- Kind: A1
- Application number: 16/373,649
- Filed: 2019-04-03
- Published: 2019-10-17
- Earliest claimed: 2018-04-12
- Assignees: VIA Technologies, Inc.
- Applicants: VIA Technologies, Inc.
- Inventors: Kuan-Jui Ho; Yi-Hsiang Wang
- Web page: https://patentgrep.com/patent/US20190317905A1

## CPC

- G06F 13/126: {and has means for transferring I/O instructions and statuses between control unit and main processor}
- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 13/4221: {being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus}
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic apparatus and a method of extending peripheral devices are provided. The electronic apparatus includes: a controller; and a plurality of peripheral devices electrically connected to the controller, wherein the plurality of peripheral devices include a plurality of video graphics array display cards, wherein in an initialization phase of the electronic apparatus, the controller allocates input/output resources to a first portion of the video graphics array display cards and does not allocate the input/output resources to a second portion of the video graphics array display cards, wherein the first portion of the video graphics array display cards allocated with the input/output resources is used to display an image in the initialization phase.

## Claims

### Claim 1

An electronic apparatus comprising:
a controller; and
a plurality of peripheral devices electrically connected to the controller, wherein the plurality of peripheral devices comprise a plurality of video graphics array (VGA) display cards,
wherein in an initialization phase of the electronic apparatus, the controller allocates input/output (I/O) resources to a first portion of the VGA display cards and does not allocate the I/O resources to a second portion of the VGA display cards,
wherein the first portion of the VGA display cards allocated with the I/O resources is used to display an image in the initialization phase.

### Claim 2 (depends on 1)

The electronic apparatus according to claim 1, wherein in the initialization phase, the controller further checks a number of the VGA display cards among the plurality of peripheral devices, and
when the number of the VGA display cards is not greater than or equal to 2, the controller regards the checked VGA display card as the first portion of the VGA display cards and allocates the I/O resources.

### Claim 3 (depends on 1)

The electronic apparatus according to claim 1, wherein in the initialization phase, the controller further checks a number of the VGA display cards among the plurality of peripheral devices, and
when the number of the VGA display cards is greater than or equal to 2, the controller sequentially accesses a base address register in each of the peripheral devices to obtain memory resources requests of the plurality of peripheral devices to determine to allocate the I/O resources to the first portion of the VGA display cards among the plurality of peripheral devices and initialize the first portion of the VGA display cards.

### Claim 4 (depends on 1)

The electronic apparatus according to claim 1, wherein the VGA display cards comprise a first VGA display card and at least one second VGA display card, wherein the first VGA display card belongs to the first portion of the VGA display cards, and the at least one second VGA display card belongs to the second portion of the VGA display cards.

### Claim 5 (depends on 1)

The electronic apparatus according to claim 1, wherein the controller is a central processing unit or a basic input/output system.

### Claim 6 (depends on 1)

The electronic apparatus according to claim 1, further comprising:
a chipset, wherein the controller and the peripheral devices are electrically connected to each other through the chipset,
wherein when the controller does not allocate the I/O resources to the second portion of the VGA display cards, the chipset performs operations below:
obtaining a configuration cycle (CFG) read request for the second portion of the VGA display cards from the controller;
passing the CFG read request to the second portion of the VGA display cards and obtaining CFG read information corresponding to the CFG read request therefrom;
analyzing the CFG read information and determining whether the CFG read information comprises a request for the I/O resources;
when the CFG read information comprises the request for the I/O resources, replacing the request for the I/O resources in the CFG read information with blank data; and
providing the replaced CFG read information to the controller.

### Claim 7 (depends on 6)

The electronic apparatus according to claim 6, wherein the chipset further records the second portion of the VGA display cards and modifies base address registers in the second portion of the VGA display cards so as not to allocate the I/O resources to the request for the I/O resources.

### Claim 8 (depends on 6)

The electronic apparatus according to claim 6, wherein the chipset comprises a peripheral component interconnect express (PCI-E) root complex, wherein the controller and the peripheral devices are electrically connected to each other through the PCI-E root complex.

### Claim 9 (depends on 8)

The electronic apparatus according to claim 8, wherein the PCI-E root complex comprises:
at least one PCI-E root port, wherein the plurality of peripheral devices are directly electrically connected to the at least one PCI-E root port, and the controller intercommunicates with the plurality of peripheral devices through the PCI-E root port of the PCI-E root complex in the chipset.

### Claim 10 (depends on 8)

The electronic apparatus according to claim 8, wherein the PCI-E root complex comprises a PCI-E root port, and the electronic apparatus further comprises at least one PCI-E switch, wherein the at least one PCI-E switch is electrically coupled to the PCI-E root port, wherein the plurality of peripheral devices are directly electrically connected to the at least one PCI-E switch, and the controller intercommunicates with the plurality of peripheral devices through the PCI-E root port of the PCI-E root complex in the chipset and the at least one PCI-E switch.

### Claim 11

A method of extending peripheral devices, comprising:
in an initialization phase of an electronic apparatus, allocating I/O resources to a first portion of a plurality of VGA display cards among a plurality of peripheral devices, and not allocating the I/O resources to a second portion of the VGA display cards,
wherein the first portion of the VGA display cards allocated with the I/O resources is used to display an image in the initialization phase.

### Claim 12 (depends on 11)

The method according to claim 11, wherein in the initialization phase, the method comprises further checking a number of the VGA display cards among the plurality of peripheral devices, and
when the number of the VGA display cards is not greater than or equal to 2, regarding the checked VGA display card as the first portion of the VGA display cards and allocating the I/O resources.

### Claim 13 (depends on 11)

The method according to claim 11, wherein in the initialization phase, the method comprises further checking a number of the VGA display cards among the plurality of peripheral devices, and
when the number of the VGA display cards is greater than or equal to 2, sequentially accessing a base address register in each of the peripheral devices to obtain memory resources requests of the plurality of peripheral devices to determine to allocate the I/O resources to the first portion of the VGA display cards among the plurality of peripheral devices and initialize the first portion of the VGA display cards.

### Claim 14 (depends on 11)

The method according to claim 11, wherein the VGA display cards comprise a first VGA display card and at least one second VGA display card, wherein the first VGA display card belongs to the first portion of the VGA display cards, and the at least one second VGA display card belongs to the second portion of the VGA display cards.

### Claim 15 (depends on 11)

The method according to claim 11, further comprising:
when the I/O resources are not allocated to the second portion of the VGA display cards,
obtaining a CFG read request for the second portion of the VGA display cards from a controller;
passing the CFG read request to the second portion of the VGA display cards and obtaining CFG read information corresponding to the CFG read request therefrom;
analyzing the CFG read information and determining whether the CFG read information comprises a request for the I/O resources;
when the CFG read information comprises the request for the I/O resources, replacing the request for the I/O resources in the CFG read information with blank data; and
providing the replaced CFG read information to the controller.

### Claim 16 (depends on 15)

The method according to claim 15, further comprising recording the second portion of the VGA display cards and modifying base address registers in the second portion of the VGA display cards so as not to allocate the I/O resources to the request for the I/O resources.

### Claim 17

An electronic apparatus comprising:
a controller;
a chipset; and
a plurality of peripheral devices, comprising at least one VGA display card,
wherein the controller and the peripheral devices are electrically connected to each other through the chipset, and after the electronic apparatus displays an image, the chipset obtains a CFG read request for the at least one VGA display card from the controller, passes the CFG read request to the at least one VGA display card, and obtains CFG read information corresponding to the CFG read request therefrom, wherein the chipset analyzes the CFG read information and determines whether the CFG read information comprises a request for I/O resources, and when the CFG read information comprises the request for the I/O resources, the chipset replaces the request for the I/O resources in the CFG read information with blank data and provides the replaced CFG read information to the controller.

### Claim 18 (depends on 17)

The electronic apparatus according to claim 17, wherein the chipset comprises a PCI-E root complex, wherein the controller and the peripheral devices are electrically connected to each other through the PCI-E root complex.

### Claim 19 (depends on 18)

The electronic apparatus according to claim 18, wherein the PCI-E root complex comprises:
at least one PCI-E root port, wherein the plurality of peripheral devices are directly electrically connected to the at least one PCI-E root port, and the controller intercommunicates with the plurality of peripheral devices through the PCI-E root port of the PCI-E root complex in the chipset.

### Claim 20 (depends on 18)

The electronic apparatus according to claim 18, wherein the PCI-E root complex comprises a PCI-E root port, and the electronic apparatus further comprises at least one PCI-E switch, wherein the at least one PCI-E switch is electrically coupled to the PCI-E root port, wherein the plurality of peripheral devices are directly electrically connected to the at least one PCI-E switch, and the controller intercommunicates with the plurality of peripheral devices through the PCI-E root port of the PCI-E root complex in the chipset and the at least one PCI-E switch.

### Claim 21

A method of extending peripheral devices, comprising:
after an electronic apparatus displays an image, obtaining a CFG read request for at least one VGA display card from a controller;
passing the CFG read request to the at least one VGA display card and obtaining CFG read information corresponding to the CFG read request therefrom;
analyzing the CFG read information and determining whether the CFG read information comprises a request for I/O resources;
when the CFG read information comprises the request for the I/O resources, replacing the request for the I/O resources in the CFG read information with blank data; and
providing the replaced CFG read information to the controller.

### Claim 22 (depends on 21)

The method according to claim 21, further comprising recording the at least one VGA display card and modifying a base address register in the at least one VGA display card so as not to allocate the I/O resources to the request for the I/O resources.
