david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

It's astonishing how long really fundamental bugs can survive without

being noticed...
This commit is contained in:
Michael Brown 2006-06-08 15:06:09 +00:00
parent 191a906338
commit fdf62528ca
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ pcibios_write_config_byte ( struct pci_device *pci, unsigned int where,
static inline __attribute__ (( always_inline )) int
pcibios_write_config_word ( struct pci_device *pci, unsigned int where,
uint16_t value ) {
return pcibios_write ( pci, PCIBIOS_WRITE_CONFIG_BYTE | where, value );
return pcibios_write ( pci, PCIBIOS_WRITE_CONFIG_WORD | where, value );
}
/**
@ -116,7 +116,7 @@ pcibios_write_config_word ( struct pci_device *pci, unsigned int where,
static inline __attribute__ (( always_inline )) int
pcibios_write_config_dword ( struct pci_device *pci, unsigned int where,
uint32_t value ) {
return pcibios_write ( pci, PCIBIOS_WRITE_CONFIG_BYTE | where, value );
return pcibios_write ( pci, PCIBIOS_WRITE_CONFIG_DWORD | where, value);
}
#endif /* _PCIBIOS_H */