|
@@ -102,7 +102,7 @@ pcibios_write_config_byte ( struct pci_device *pci, unsigned int where,
|
102
|
102
|
static inline __attribute__ (( always_inline )) int
|
103
|
103
|
pcibios_write_config_word ( struct pci_device *pci, unsigned int where,
|
104
|
104
|
uint16_t value ) {
|
105
|
|
- return pcibios_write ( pci, PCIBIOS_WRITE_CONFIG_BYTE | where, value );
|
|
105
|
+ return pcibios_write ( pci, PCIBIOS_WRITE_CONFIG_WORD | where, value );
|
106
|
106
|
}
|
107
|
107
|
|
108
|
108
|
/**
|
|
@@ -116,7 +116,7 @@ pcibios_write_config_word ( struct pci_device *pci, unsigned int where,
|
116
|
116
|
static inline __attribute__ (( always_inline )) int
|
117
|
117
|
pcibios_write_config_dword ( struct pci_device *pci, unsigned int where,
|
118
|
118
|
uint32_t value ) {
|
119
|
|
- return pcibios_write ( pci, PCIBIOS_WRITE_CONFIG_BYTE | where, value );
|
|
119
|
+ return pcibios_write ( pci, PCIBIOS_WRITE_CONFIG_DWORD | where, value);
|
120
|
120
|
}
|
121
|
121
|
|
122
|
122
|
#endif /* _PCIBIOS_H */
|