Date: Sat, 18 Dec 2010 14:21:28 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/if_ndis if_ndis_pci.c src/sys/dev/le if_le_pci.c src/sys/dev/malo if_malo_pci.c src/sys/dev/sound/pci atiixp.c ich.c Message-ID: <201012181421.oBIELnlN098758@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tijl 2010-12-18 14:21:28 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis_pci.c sys/dev/le if_le_pci.c sys/dev/malo if_malo_pci.c sys/dev/sound/pci atiixp.c ich.c Log: SVN rev 216518 on 2010-12-18 14:21:28Z by tijl Use convenience functions where possible instead of accessing the PCI configuration registers directly. Remove pci_enable_io calls where they are redundant. The PCI bus driver will set the right bits when the corresponding bus resource is activated. Remove redundant pci_* function calls from suspend/resume methods. The bus driver already saves and restores the PCI configuration. Reviewed by: jhb Approved by: kib (mentor) Revision Changes Path 1.25 +4 -9 src/sys/dev/if_ndis/if_ndis_pci.c 1.10 +0 -1 src/sys/dev/le/if_le_pci.c 1.7 +1 -23 src/sys/dev/malo/if_malo_pci.c 1.23 +0 -6 src/sys/dev/sound/pci/atiixp.c 1.82 +0 -6 src/sys/dev/sound/pci/ich.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012181421.oBIELnlN098758>