diff options
Diffstat (limited to 'arch/mips/pci/ops-msc.c')
| -rw-r--r-- | arch/mips/pci/ops-msc.c | 22 | 
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/mips/pci/ops-msc.c b/arch/mips/pci/ops-msc.c index 5d9fbb0f467..92a8543361b 100644 --- a/arch/mips/pci/ops-msc.c +++ b/arch/mips/pci/ops-msc.c @@ -1,8 +1,8 @@  /* - * Copyright (C) 1999, 2000, 2004, 2005  MIPS Technologies, Inc. + * Copyright (C) 1999, 2000, 2004, 2005	 MIPS Technologies, Inc.   *    All rights reserved.   *    Authors: Carsten Langgaard <carstenl@mips.com> - *             Maciej W. Rozycki <macro@mips.com> + *	       Maciej W. Rozycki <macro@mips.com>   * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org)   *   *  This program is free software; you can distribute it and/or modify it @@ -28,21 +28,21 @@  #include <asm/mips-boards/msc01_pci.h> -#define PCI_ACCESS_READ  0 +#define PCI_ACCESS_READ	 0  #define PCI_ACCESS_WRITE 1  /*   *  PCI configuration cycle AD bus definition   */  /* Type 0 */ -#define PCI_CFG_TYPE0_REG_SHF           0 -#define PCI_CFG_TYPE0_FUNC_SHF          8 +#define PCI_CFG_TYPE0_REG_SHF		0 +#define PCI_CFG_TYPE0_FUNC_SHF		8  /* Type 1 */ -#define PCI_CFG_TYPE1_REG_SHF           0 -#define PCI_CFG_TYPE1_FUNC_SHF          8 -#define PCI_CFG_TYPE1_DEV_SHF           11 -#define PCI_CFG_TYPE1_BUS_SHF           16 +#define PCI_CFG_TYPE1_REG_SHF		0 +#define PCI_CFG_TYPE1_FUNC_SHF		8 +#define PCI_CFG_TYPE1_DEV_SHF		11 +#define PCI_CFG_TYPE1_BUS_SHF		16  static int msc_pcibios_config_access(unsigned char access_type,  	struct pci_bus *bus, unsigned int devfn, int where, u32 * data) @@ -97,7 +97,7 @@ static int msc_pcibios_read(struct pci_bus *bus, unsigned int devfn,  		return PCIBIOS_BAD_REGISTER_NUMBER;  	if (msc_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, -	                              &data)) +				      &data))  		return -1;  	if (size == 1) @@ -124,7 +124,7 @@ static int msc_pcibios_write(struct pci_bus *bus, unsigned int devfn,  		data = val;  	else {  		if (msc_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, -		                              where, &data)) +					      where, &data))  			return -1;  		if (size == 1)  |