All pastes #1373134 Raw Edit

Unnamed

public diff v1 · immutable
#1373134 ·published 2009-03-26 17:31 UTC
rendered paste body
Index: target/linux/adm5120/files/arch/mips/adm5120/compex/np27g.c===================================================================--- target/linux/adm5120/files/arch/mips/adm5120/compex/np27g.c	(revision 14786)+++ target/linux/adm5120/files/arch/mips/adm5120/compex/np27g.c	(working copy)@@ -1,7 +1,7 @@ /*  *  Compex NP27G board support  *- *  Copyright (C) 2007-2008 Gabor Juhos <juhosg@openwrt.org>+ *  Copyright (C) 2007-2009 Gabor Juhos <juhosg@openwrt.org>  *  *  This program is free software; you can redistribute it and/or modify it  *  under the terms of the GNU General Public License version 2 as published@@ -16,13 +16,17 @@ 	0x41, 0x42, 0x44, 0x48, 0x50, 0x00 }; +static struct adm5120_pci_irq np27g_pci_irqs[] __initdata = {+	PCIIRQ(2, 0, 1, ADM5120_IRQ_PCI0),+};+ static void __init np27g_setup(void) { 	compex_generic_setup(); 	adm5120_add_device_switch(5, np27g_vlans); 	adm5120_add_device_usb(); -	/* TODO: add PCI IRQ map */+	adm5120_pci_set_irq_map(ARRAY_SIZE(np27g_pci_irqs), np27g_pci_irqs); }  MIPS_MACHINE(MACH_ADM5120_NP27G, "Compex NetPassage 27G", np27g_setup);