summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-04-03 22:23:15 +1000
committerGreg Kroah-Hartman <gregkh@suse.de>2006-04-07 09:44:27 -0700
commit201e59e8f1437244e6203bfda5b8946f054d993e (patch)
tree45a0f5fc4008dbf993c62772e712baeed5845b4a /arch
parent366c3af0db2665c2930c6b99e97aa4bdd12e05e2 (diff)
downloadlinux-stable-201e59e8f1437244e6203bfda5b8946f054d993e.tar.gz
linux-stable-201e59e8f1437244e6203bfda5b8946f054d993e.tar.bz2
linux-stable-201e59e8f1437244e6203bfda5b8946f054d993e.zip
[PATCH] powerpc: make ISA floppies work again
We used to assume that a DMA mapping request with a NULL dev was for ISA DMA. This assumption was broken at some point. Now we explicitly pass the detected ISA PCI device in the floppy setup. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/pci_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c
index ba92bab7cc2c..4c4449be81ce 100644
--- a/arch/powerpc/kernel/pci_64.c
+++ b/arch/powerpc/kernel/pci_64.c
@@ -78,6 +78,7 @@ int global_phb_number; /* Global phb counter */
/* Cached ISA bridge dev. */
struct pci_dev *ppc64_isabridge_dev = NULL;
+EXPORT_SYMBOL_GPL(ppc64_isabridge_dev);
static void fixup_broken_pcnet32(struct pci_dev* dev)
{