summaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/ops-pnx8550.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [MIPS] 0 -> NULLYoann Padioleau2007-07-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When comparing a pointer, it's clearer to compare it to NULL than to 0. Here is an excerpt of the semantic patch: @@ expression *E; @@ E == - 0 + NULL @@ expression *E; @@ E != - 0 + NULL Signed-off-by: Yoann Padioleau <padator@wanadoo.fr> Cc: ralf@linux-mips.org Cc: linux-mips@linux-mips.org Cc: akpm@linux-foundation.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] pnx8550: Fix write_config_byte() PCI config space accessorDavy Chan2007-01-081-1/+1
| | | | | | | | | | | | | | | | There's a serious typo in the function: arch/mips/pci/ops-pnx8550.c:write_config_byte() The parameter passed to the function config_access() is PCI_CMD_CONFIG_READ instead of PCI_CMD_CONFIG_WRITE. This renders any attempts to write a single byte to the PCI configuration registers useless. This problem does not exist for write_config_word() nor write_config_dword(). This problem has been there since kernel v2.6.17 and is still there as of kernel v2.6.19.1. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.Pete Popov2005-10-291-0/+284
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>