Fix transposition of width and value arguments to pci_config_write()
when setting up the read request size. Pointed out by: kmacy
This commit is contained in:
parent
5128f7357c
commit
a8ebcb1bc0
@ -2765,7 +2765,7 @@ mxge_attach(device_t dev)
|
||||
|
||||
pectl = pci_read_config(dev, reg + 0x8, 2);
|
||||
pectl = (pectl & ~0x7000) | (5 << 12);
|
||||
pci_write_config(dev, reg + 0x8, 2, pectl);
|
||||
pci_write_config(dev, reg + 0x8, pectl, 2);
|
||||
}
|
||||
|
||||
/* Enable DMA and Memory space access */
|
||||
|
Loading…
x
Reference in New Issue
Block a user