]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Align the PCI Express #defines with the style used for the PCI-X
authorGavin Atkinson <gavin@FreeBSD.org>
Tue, 18 Sep 2012 22:04:59 +0000 (22:04 +0000)
committerGavin Atkinson <gavin@FreeBSD.org>
Tue, 18 Sep 2012 22:04:59 +0000 (22:04 +0000)
commit389c8bd51ead1f1c111e8f8baad65762f6823ff4
tree7ed0c63fa2cebe3a1c0f0d218ef7d4208fbecfc4
parent0aa5c1bbf591b48a9c27a6a55746d2314cc955cf
Align the PCI Express #defines with the style used for the PCI-X
#defines.  This also has the advantage that it makes the names more
compact, iand also allows us to correct the non-uniform naming of
the PCIM_LINK_* defines, making them all consistent amongst themselves.

This is a mostly mechanical rename:
  s/PCIR_EXPRESS_/PCIER_/g
  s/PCIM_EXP_/PCIEM_/g
  s/PCIM_LINK_/PCIEM_LINK_/g

When this is MFC'd, #defines will be added for the old names to assist
out-of-tree drivers.

Discussed with: jhb
MFC after: 1 week
16 files changed:
sys/dev/alc/if_alc.c
sys/dev/bge/if_bge.c
sys/dev/cxgb/cxgb_main.c
sys/dev/cxgb/cxgb_osdep.h
sys/dev/cxgbe/osdep.h
sys/dev/cxgbe/t4_main.c
sys/dev/e1000/if_em.c
sys/dev/et/if_et.c
sys/dev/jme/if_jme.c
sys/dev/pci/pci.c
sys/dev/pci/pcireg.h
sys/dev/re/if_re.c
sys/ofed/include/linux/pci.h
sys/powerpc/mpc85xx/pci_fdt.c
usr.sbin/pciconf/cap.c
usr.sbin/pciconf/err.c