[PATCH 13/15] powerpc: add a field for each specific bus to sturct pci_controller

STALE7210d

2 messages, 2 authors, 2006-12-12 · open the first message on its own page

[PATCH 13/15] powerpc: add a field for each specific bus to sturct pci_controller

From: Ishizaki Kou <hidden>
Date: 2006-12-12 04:06:50

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;
 };
 
 /*

Re: [PATCH 13/15] powerpc: add a field for each specific bus to sturct pci_controller

From: Arnd Bergmann <arnd@arndb.de>
Date: 2006-12-12 20:00:27

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
@@ -53,6 +53,8 @@
=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};
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help