Goof, catch up to constant rename (I renamed it to match the overall PCI
style of having register offsets start with PCIR_* rather than PCI_*). Submitted by: rss
This commit is contained in:
parent
333ebd77dc
commit
ba8d936dd2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188033
@ -143,7 +143,7 @@ cardbus_device_setup_regs(pcicfgregs *cfg)
|
||||
* Some cards power up with garbage in their BARs. This
|
||||
* code clears all that junk out.
|
||||
*/
|
||||
for (i = 0; i < PCI_MAX_BAR_0; i++)
|
||||
for (i = 0; i < PCIR_MAX_BAR_0; i++)
|
||||
pci_write_config(dev, PCIR_BAR(i), 0, 4);
|
||||
|
||||
cfg->intline =
|
||||
|
Loading…
Reference in New Issue
Block a user