* [PATCH 3/5] Updates for WRS SBC82xx boards
@ 2006-05-25 18:26 Paul Gortmaker
0 siblings, 0 replies; only message in thread
From: Paul Gortmaker @ 2006-05-25 18:26 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: p_gortmaker
patch3: sbc82xx-CONFIG.diff1
- add CONFIG_SBC82xx alongside CONFIG_PQ2FADS where required.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
--- linux-2.6.16_rc5/arch/ppc/syslib/m82xx_pci.c.orig 2006-02-27 14:55:41.000000000 -0500
+++ linux-2.6.16_rc5/arch/ppc/syslib/m82xx_pci.c 2006-02-27 15:02:01.000000000 -0500
@@ -238,7 +238,7 @@
SIUMCR_APPC10 | SIUMCR_CS10PC00 |
SIUMCR_BCTLC00 | SIUMCR_MMR11 ;
-#elif defined CONFIG_PQ2FADS
+#elif defined(CONFIG_PQ2FADS) || defined(CONFIG_SBC82xx)
/*
* Setting required to enable IRQ1-IRQ7 (SIUMCR [DPPC]),
* and local bus for PCI (SIUMCR [LBPC]).
@@ -292,7 +292,7 @@
#if defined CONFIG_ADS8272
/* PCI int highest prio */
immap->im_siu_conf.siu_82xx.sc_ppc_alrh = 0x01236745;
-#elif defined CONFIG_PQ2FADS
+#elif defined(CONFIG_PQ2FADS) || defined(CONFIG_SBC82xx)
immap->im_siu_conf.siu_82xx.sc_ppc_alrh = 0x03124567;
#endif
/* park bus on PCI */
@@ -380,7 +380,10 @@
IORESOURCE_IO | 1, "PCI I/O");
ppc_md.pci_exclude_device = pq2pci_exclude_device;
+
+#ifndef CONFIG_SBC82xx
hose->last_busno = pciauto_bus_scan(hose, hose->first_busno);
+#endif
ppc_md.pci_map_irq = pq2pci_map_irq;
ppc_md.pcibios_fixup = NULL;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-25 18:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 18:26 [PATCH 3/5] Updates for WRS SBC82xx boards Paul Gortmaker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.