US10983928B2ActiveUtilityA1
Method and computer program product for automatically configuring PCIe slot
Est. expiryJul 2, 2039(~13 yrs left)· nominal 20-yr term from priority
G06F 1/183G06F 11/3051G06F 1/185G06F 13/4282G06F 11/3093G06F 2213/0026G06F 11/3031G06F 13/1668
48
PatentIndex Score
0
Cited by
4
References
8
Claims
Abstract
A method for automatically configuring a PCIe slot comprises: writing a configuration value into a storage device, with the configuration value associated with a configuration manner of the PCIE slot, reading the configuration value from the storage device by a BIOS, and determining whether the configuration value belongs to a valid value set, the BIOS configures a data bandwidth of the PCIe slot according to the configuration value when the configuration value belongs to a valid value set, and the BIOS configures the data bandwidth of the PCIe slot according to a default value when the configuration values does not belong to the valid value set.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A method for automatically configuring PCIe slot, comprising:
writing a configuration value into a storage device, with the configuration value associated with a configuration manner of a PCIe slot;
by a BIOS, reading the configuration value of the storage device;
by the BIOS, determining whether the configuration value is valid by determining whether the configuration value belongs to a valid value set;
by the BIOS, configuring a data bandwidth of the PCIe slot according to the configuration value when the configuration value belongs to the valid value set; and
by the BIOS, configuring the data bandwidth of the PCIe slot according to a default value when the configuration value does not belong to the valid value set,
wherein the valid value set includes a plurality of configuration patterns, the plurality of configuration patterns comprises: 16 data transmission channels occupied by one device, 8 data transmission channels occupied by each of two devices, 4 data transmission channels occupied by each of four devices, and 8 data transmission channels occupied by one device while 4 data transmission channels occupied by each of two other devices.
2. The method for automatically configuring PCIe slot according to claim 1 , before reading the configuration value of the storage device by the BIOS, further comprising: by the BIOS, calculating a reading address according to a starting address and an offset, wherein reading the configuration value of the storage device by the BIOS comprises reading the configuration value from the storage device according to the reading address by the BIOS.
3. The method for automatically configuring PCIe slot according to claim 1 , wherein the storage device is a field replaceable device.
4. The method for automatically configuring PCIe slot according to claim 1 , wherein the valid value set is fixed in the BIOS.
5. A computer program product stored in a non-transitory computer-readable storage medium, for a BIOS of a computer to automatically configure a PCIe slot when the computer program product is executed by the computer, comprising:
a reading process driving the BIOS to read a configuration value from a storage device, with the configuration value used to configure a data bandwidth of the PCIe slot;
a determining process driving the BIOS to examine whether the configuration value belongs to a valid value set; and
a configuration driving the BIOS to selectively configure the data bandwidth of the PCIe slot by the configuration value or by a default value according to an examination result of the determining process,
wherein the valid value set includes a plurality of configuration patterns, the plurality of configuration patterns comprises: 16 data transmission channels occupied by one device, 8 data transmission channels occupied by each of two devices, 4 data transmission channels occupied by each of four devices, and 8 data transmission channels occupied by one device while 4 data transmission channels occupied by each of two other devices.
6. The computer program product according to claim 5 , before the reading process, further comprising driving the BIOS to calculate a reading address according to a starting address and an offset, and wherein the reading process further drives the BIOS to read the configuration value at the storage device according to the reading address.
7. The computer program product according to claim 5 , wherein the storage device is a field replaceable device (FRU).
8. The computer program product according to claim 5 , wherein the valid value set is fixed in the BIOS.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.