cosmetic changes
This commit is contained in:
parent
e3042f167a
commit
9ae03d14d5
1 changed files with 1 additions and 2 deletions
|
@ -81,8 +81,7 @@ static uint32_t pci_conf_read(uint32_t bus, uint32_t slot, uint32_t off)
|
|||
{
|
||||
uint32_t data = -1;
|
||||
|
||||
outportl(PCI_CONF_ADDR_REG,
|
||||
(0x80000000 | (bus << 16) | (slot << 11) | off));
|
||||
outportl(PCI_CONF_ADDR_REG, (0x80000000 | (bus << 16) | (slot << 11) | off));
|
||||
data = inportl(PCI_CONF_DATA_REG);
|
||||
|
||||
if ((data == 0xffffffff) && (slot < 0x10)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue