projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix serial port flushing code.
[seabios.git]
/
src
/
pcibios.c
diff --git
a/src/pcibios.c
b/src/pcibios.c
index ca91c156a6d773ae76e3fb9a2cddc9ac9d485897..31ca37e5caa64a802989371a3f6f7516ffe995c7 100644
(file)
--- a/
src/pcibios.c
+++ b/
src/pcibios.c
@@
-42,8
+42,8
@@
handle_1ab102(struct bregs *regs)
int bus = -1;
while (bus < GET_GLOBAL(MaxPCIBus)) {
bus++;
int bus = -1;
while (bus < GET_GLOBAL(MaxPCIBus)) {
bus++;
- int bdf
, max
;
- foreachbdf
_in_bus(bdf, max
, bus) {
+ int bdf;
+ foreachbdf
(bdf
, bus) {
u32 v = pci_config_readl(bdf, PCI_VENDOR_ID);
if (v != id)
continue;
u32 v = pci_config_readl(bdf, PCI_VENDOR_ID);
if (v != id)
continue;
@@
-66,8
+66,8
@@
handle_1ab103(struct bregs *regs)
int bus = -1;
while (bus < GET_GLOBAL(MaxPCIBus)) {
bus++;
int bus = -1;
while (bus < GET_GLOBAL(MaxPCIBus)) {
bus++;
- int bdf
, max
;
- foreachbdf
_in_bus(bdf, max
, bus) {
+ int bdf;
+ foreachbdf
(bdf
, bus) {
u32 v = pci_config_readl(bdf, PCI_CLASS_REVISION);
if ((v>>8) != classprog)
continue;
u32 v = pci_config_readl(bdf, PCI_CLASS_REVISION);
if ((v>>8) != classprog)
continue;