You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] mips: nuke trailing whitespace
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
875d43e72b
commit
42a3b4f25a
@@ -5,7 +5,7 @@ static void ddb5074_fixup(struct pci_dev *dev)
|
||||
{
|
||||
extern struct pci_dev *pci_pmu;
|
||||
u8 t8;
|
||||
|
||||
|
||||
pci_pmu = dev; /* for LEDs D2 and D3 */
|
||||
/* Program the lines for LEDs D2 and D3 to output */
|
||||
pci_read_config_byte(dev, 0x7d, &t8);
|
||||
|
||||
@@ -65,7 +65,7 @@ static void ddb5477_amd_lance_fixup(struct pci_dev *dev)
|
||||
ioaddr = pci_resource_start(dev, 0);
|
||||
|
||||
inw(ioaddr + PCNET32_WIO_RESET); /* reset chip */
|
||||
|
||||
|
||||
/* bcr_18 |= 0x0800 */
|
||||
outw(18, ioaddr + PCNET32_WIO_RAP);
|
||||
temp = inw(ioaddr + PCNET32_WIO_BDP);
|
||||
|
||||
@@ -56,7 +56,7 @@ static void __init malta_piix_func0_fixup(struct pci_dev *pdev)
|
||||
0, 0, 0, 3,
|
||||
4, 5, 6, 7,
|
||||
0, 9, 10, 11,
|
||||
12, 0, 14, 15
|
||||
12, 0, 14, 15
|
||||
};
|
||||
int i;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Author: MontaVista Software, Inc.
|
||||
* ppopov@mvista.com or source@mvista.com
|
||||
*
|
||||
* Copyright (C) 2000-2001 Toshiba Corporation
|
||||
* Copyright (C) 2000-2001 Toshiba Corporation
|
||||
*
|
||||
* Copyright (C) 2004 MontaVista Software Inc.
|
||||
* Author: Manish Lachwani (mlachwani@mvista.com)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
* Device 4: Unused
|
||||
* Device 5: Slot 2
|
||||
* Device 6: Slot 3
|
||||
* Device 7: Slot 4
|
||||
* Device 7: Slot 4
|
||||
*
|
||||
* Documentation says the VGA is device 5 and device 3 is unused but that
|
||||
* seem to be a documentation error. At least on my RM200C the Cirrus
|
||||
|
||||
@@ -127,7 +127,7 @@ static inline void ddb_close_config_base(struct pci_config_swap *swap)
|
||||
}
|
||||
|
||||
static int read_config_dword(struct pci_config_swap *swap,
|
||||
struct pci_bus *bus, u32 devfn, u32 where,
|
||||
struct pci_bus *bus, u32 devfn, u32 where,
|
||||
u32 * val)
|
||||
{
|
||||
u32 bus_num, slot_num, func_num;
|
||||
@@ -153,7 +153,7 @@ static int read_config_dword(struct pci_config_swap *swap,
|
||||
}
|
||||
|
||||
static int read_config_word(struct pci_config_swap *swap,
|
||||
struct pci_bus *bus, u32 devfn, u32 where,
|
||||
struct pci_bus *bus, u32 devfn, u32 where,
|
||||
u16 * val)
|
||||
{
|
||||
int status;
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/*
|
||||
* Copyright 2001 MontaVista Software Inc.
|
||||
* Author: MontaVista Software, Inc.
|
||||
* ahennessy@mvista.com
|
||||
* ahennessy@mvista.com
|
||||
*
|
||||
* Copyright (C) 2000-2001 Toshiba Corporation
|
||||
* Copyright (C) 2000-2001 Toshiba Corporation
|
||||
* Copyright (C) 2004 by Ralf Baechle (ralf@linux-mips.org)
|
||||
*
|
||||
* Based on arch/mips/ddb5xxx/ddb5477/pci_ops.c
|
||||
*
|
||||
* Define the pci_ops for the Toshiba rbtx4927
|
||||
*
|
||||
* Much of the code is derived from the original DDB5074 port by
|
||||
* Much of the code is derived from the original DDB5074 port by
|
||||
* Geert Uytterhoeven <geert@sonycom.com>
|
||||
*
|
||||
* Copyright 2004 MontaVista Software Inc.
|
||||
|
||||
@@ -76,7 +76,7 @@ struct pci_controller ddb5477_io_controller = {
|
||||
*/
|
||||
|
||||
/*
|
||||
* irq mapping : device -> pci int # -> vrc4377 irq# ,
|
||||
* irq mapping : device -> pci int # -> vrc4377 irq# ,
|
||||
* ddb5477 board manual page 4 and vrc5477 manual page 46
|
||||
*/
|
||||
|
||||
@@ -137,9 +137,9 @@ int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
|
||||
unsigned char *slot_irq_map;
|
||||
unsigned char irq;
|
||||
|
||||
/*
|
||||
/*
|
||||
* We ignore the swizzled slot and pin values. The original
|
||||
* pci_fixup_irq() codes largely base irq number on the dev slot
|
||||
* pci_fixup_irq() codes largely base irq number on the dev slot
|
||||
* numbers because except for one case they are unique even
|
||||
* though there are multiple pci buses.
|
||||
*/
|
||||
@@ -160,7 +160,7 @@ int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
|
||||
|
||||
if (mips_machtype == MACH_NEC_ROCKHOPPERII) {
|
||||
/* hack to distinquish overlapping slot 20s, one
|
||||
* on bus 0 (ALI USB on the M1535 on the backplane),
|
||||
* on bus 0 (ALI USB on the M1535 on the backplane),
|
||||
* and one on bus 2 (NEC USB controller on the CPU board)
|
||||
* Make the M1535 USB - ISA IRQ number 9.
|
||||
*/
|
||||
|
||||
+2
-2
@@ -132,7 +132,7 @@ static int __init pcibios_init(void)
|
||||
hose->need_domain_info = need_domain_info;
|
||||
next_busno = bus->subordinate + 1;
|
||||
/* Don't allow 8-bit bus number overflow inside the hose -
|
||||
reserve some space for bridges. */
|
||||
reserve some space for bridges. */
|
||||
if (next_busno > 224) {
|
||||
next_busno = 0;
|
||||
need_domain_info = 1;
|
||||
@@ -260,7 +260,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus)
|
||||
(dev->class >> 8) == PCI_CLASS_BRIDGE_PCI) {
|
||||
pci_read_bridge_bases(bus);
|
||||
pcibios_fixup_device_resources(dev, bus);
|
||||
}
|
||||
}
|
||||
|
||||
for (ln = bus->devices.next; ln != &bus->devices; ln = ln->next) {
|
||||
struct pci_dev *dev = pci_dev_b(ln);
|
||||
|
||||
Reference in New Issue
Block a user