http://git.etherboot.org
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
191a906
)
It's astonishing how long really fundamental bugs can survive without
author
Michael Brown
<mcb30@etherboot.org>
Thu, 8 Jun 2006 15:06:09 +0000
(15:06 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Thu, 8 Jun 2006 15:06:09 +0000
(15:06 +0000)
being noticed...
src/arch/i386/include/pcibios.h
patch
|
blob
|
history
diff --git
a/src/arch/i386/include/pcibios.h
b/src/arch/i386/include/pcibios.h
index
dcbffed
..
3d08d13
100644
(file)
--- a/
src/arch/i386/include/pcibios.h
+++ b/
src/arch/i386/include/pcibios.h
@@
-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 ) {
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 ) {
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 */
}
#endif /* _PCIBIOS_H */