Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: drochner
Date: Mon Jan 30 19:41:24 UTC 2012
Modified Files:
src/sys/arch/x86/pci: pchb.c pcib.c
src/sys/dev/pci: ahcisata_pci.c amdpm.c auixp.c autri.c btvmei.c
chipsfb.c cmpci.c coram.c cs4280.c cs4281.c cxdtv.c ehci_pci.c
emuxki.c esa.c esm.c fwohci_pci.c genfb_pci.c gtp.c hifn7751.c
ichsmb.c if_an_pci.c if_cas.c if_dge.c if_epic_pci.c if_et.c
if_fxp_pci.c if_gem_pci.c if_ipw.c if_iwi.c if_iwn.c if_mtd_pci.c
if_nfe.c if_ral_pci.c if_re_pci.c if_rtk_pci.c if_stge.c if_vge.c
if_vr.c if_vte.c if_wi_pci.c if_wm.c if_wpi.c igsfb_pci.c iha_pci.c
jmide.c joy_pci.c machfb.c mpt_pci.c mvsata_pci.c nca_pci.c nfsmb.c
ohci_pci.c pccbb.c pciide_common.c pcscp.c piixpm.c pm2fb.c
r128fb.c radeonfb.c radeonfbvar.h sdhc_pci.c siisata_pci.c sisfb.c
twa.c ubsec.c uhci_pci.c vga_pci.c voodoofb.c voyager.c wcfb.c
yds.c
Log Message:
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/x86/pci/pchb.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x86/pci/pcib.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/pci/ahcisata_pci.c \
src/sys/dev/pci/ubsec.c
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pci/amdpm.c
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pci/auixp.c src/sys/dev/pci/voodoofb.c
cvs rdiff -u -r1.48 -r1.49 src/sys/dev/pci/autri.c src/sys/dev/pci/hifn7751.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pci/btvmei.c src/sys/dev/pci/r128fb.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pci/chipsfb.c
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/cmpci.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/coram.c \
src/sys/dev/pci/siisata_pci.c src/sys/dev/pci/wcfb.c
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/pci/cs4280.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/pci/cs4281.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/cxdtv.c
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/pci/ehci_pci.c \
src/sys/dev/pci/if_stge.c src/sys/dev/pci/if_wi_pci.c \
src/sys/dev/pci/uhci_pci.c src/sys/dev/pci/vga_pci.c
cvs rdiff -u -r1.61 -r1.62 src/sys/dev/pci/emuxki.c src/sys/dev/pci/if_iwn.c
cvs rdiff -u -r1.57 -r1.58 src/sys/dev/pci/esa.c
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/pci/esm.c
cvs rdiff -u -r1.39 -r1.40 src/sys/dev/pci/fwohci_pci.c \
src/sys/dev/pci/if_epic_pci.c src/sys/dev/pci/twa.c
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/pci/genfb_pci.c \
src/sys/dev/pci/if_an_pci.c src/sys/dev/pci/if_dge.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/gtp.c src/sys/dev/pci/iha_pci.c
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/ichsmb.c
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/if_cas.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/if_et.c
cvs rdiff -u -r1.77 -r1.78 src/sys/dev/pci/if_fxp_pci.c
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/if_gem_pci.c
cvs rdiff -u -r1.52 -r1.53 src/sys/dev/pci/if_ipw.c \
src/sys/dev/pci/radeonfb.c src/sys/dev/pci/yds.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/pci/if_iwi.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/pci/if_mtd_pci.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/if_nfe.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/if_ral_pci.c
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/pci/if_re_pci.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/pci/if_rtk_pci.c
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/pci/if_vge.c \
src/sys/dev/pci/pciide_common.c
cvs rdiff -u -r1.108 -r1.109 src/sys/dev/pci/if_vr.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/if_vte.c
cvs rdiff -u -r1.225 -r1.226 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/pci/if_wpi.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/igsfb_pci.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/jmide.c src/sys/dev/pci/pm2fb.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pci/joy_pci.c
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/machfb.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/mpt_pci.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/mvsata_pci.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/nca_pci.c src/sys/dev/pci/sisfb.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/nfsmb.c
cvs rdiff -u -r1.47 -r1.48 src/sys/dev/pci/ohci_pci.c
cvs rdiff -u -r1.203 -r1.204 src/sys/dev/pci/pccbb.c
cvs rdiff -u -r1.45 -r1.46 src/sys/dev/pci/pcscp.c
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/pci/piixpm.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/radeonfbvar.h
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pci/sdhc_pci.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/pci/voyager.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index