struct pci_controller doesn't prepare for the dependent data of each
specific bus. This patch adds private member to struct pci_controller.
Signed-off-by: Kou Ishizaki <kou.ishizaki.co.jp>
---
Index: linux-powerpc-git/include/asm-powerpc/pci-bridge.h
diff -u linux-powerpc-git/include/asm-powerpc/pci-bridge.h:1.1.1.1 linux-powerpc-git/include/asm-powerpc/pci-bridge.h:1.2
--- linux-powerpc-git/include/asm-powerpc/pci-bridge.h:1.1.1.1 Wed Dec 6 08:24:04 2006
+++ linux-powerpc-git/include/asm-powerpc/pci-bridge.h Fri Dec 8 14:01:27 2006
@@ -53,6 +53,8 @@
unsigned long buid;
unsigned long dma_window_base_cur;
unsigned long dma_window_size;
+
+ void *private_data;
};
/*
On Tuesday 12 December 2006 05:06, Ishizaki Kou wrote:
struct pci_controller doesn't prepare for the dependent data of each
specific bus. This patch adds private member to struct pci_controller.
=20
Signed-off-by: Kou Ishizaki <kou.ishizaki.co.jp>
Acked-by: Arnd Bergmann <redacted>
=2E.. provided that we actually want "[PATCH 8/15] Supporting PCI bus=20
and base of I/O", without which it is pointless.
Note that you should reorder the patches so that this one comes
before the other, and it would be good to mention the dependency
explicitly.
---
=20
Index: linux-powerpc-git/include/asm-powerpc/pci-bridge.h
diff -u linux-powerpc-git/include/asm-powerpc/pci-bridge.h:1.1.1.1 linux-=
powerpc-git/include/asm-powerpc/pci-bridge.h:1.2
quoted hunk
--- linux-powerpc-git/include/asm-powerpc/pci-bridge.h:1.1.1.1=A0=A0Wed D=
ec =A06 08:24:04 2006
quoted hunk
+++ linux-powerpc-git/include/asm-powerpc/pci-bridge.h=A0=A0Fri Dec =A08 =
14:01:27 2006
quoted hunk
=A0=A0=A0=A0=A0=A0=A0=A0unsigned long buid;
=A0=A0=A0=A0=A0=A0=A0=A0unsigned long dma_window_base_cur;
=A0=A0=A0=A0=A0=A0=A0=A0unsigned long dma_window_size;
+
+=A0=A0=A0=A0=A0=A0=A0void *private_data;
=A0};