« Previous | Next » 

Revision 520128bd

ID520128bde824d208c0309bcfcdd6ffc4eb450099

Added by Isaku Yamahata over 10 years ago

pci: use PCI_DEVFN() where appropriate.

Use PCI_DEVFN() and PCI_FUNC_MAX where appropriate.
This patch make it clear that func = 0.

test:
The following object files with/without this patch are stripped and compared.
They remains same.
arm-softmmu/versatile_pci.o
libhw32/ppce500_pci.o
libhw32/unin_pci.o
libhw64/ppce500_pci.o
libhw64/unin_pci.o
mips-softmmu/gt64xxx.o
mips64-softmmu/gt64xxx.o
mips64el-softmmu/gt64xxx.o
mipsel-softmmu/gt64xxx.o

Cc: Aurelien Jarno <>
Cc: Yu Liu <>
Cc: Paul Brook <>
Signed-off-by: Isaku Yamahata <>
Signed-off-by: Blue Swirl <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences