patch-2.3.99-pre2 linux/arch/arm/kernel/bios32.h
Next file: linux/arch/arm/kernel/dec21285.c
Previous file: linux/arch/arm/kernel/bios32.c
Back to the patch index
Back to the overall index
-  Lines: 31
-  Date:
Sat Mar 18 11:38:03 2000
-  Orig file: 
v2.3.99-pre1/linux/arch/arm/kernel/bios32.h
-  Orig date: 
Fri Jan 21 18:19:15 2000
diff -u --recursive --new-file v2.3.99-pre1/linux/arch/arm/kernel/bios32.h linux/arch/arm/kernel/bios32.h
@@ -1,9 +1,27 @@
+#define MAX_NR_BUS	2
+
+struct arm_bus_sysdata {
+	/*
+	 * bitmask of features we can turn.
+	 * See PCI command register for more info.
+	 */
+	u16		features;
+	/*
+	 * Maximum devsel for this bus.
+	 */
+	u16		maxdevsel;
+};
+
+struct arm_pci_sysdata {
+	struct arm_bus_sysdata bus[MAX_NR_BUS];
+};
+
 struct hw_pci {
-	void (*init)(void);
+	void		(*init)(void);
 	unsigned long	io_start;
 	unsigned long	mem_start;
-	u8   (*swizzle)(struct pci_dev *dev, u8 *pin);
-	int  (*map_irq)(struct pci_dev *dev, u8 slot, u8 pin);
+	u8		(*swizzle)(struct pci_dev *dev, u8 *pin);
+	int		(*map_irq)(struct pci_dev *dev, u8 slot, u8 pin);
 };
 
 void __init dc21285_init(void);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)