common.h (0ff555192a8d20385d49d1c420e2e8d409b3c0da) | common.h (9569dae75f6f6987e79fa26cf6da3fc24006c996) |
---|---|
1#ifndef __ARCH_ORION5X_COMMON_H 2#define __ARCH_ORION5X_COMMON_H 3 4struct dsa_platform_data; 5struct mv643xx_eth_platform_data; 6struct mv_sata_platform_data; 7 8/* --- 37 unchanged lines hidden (view full) --- 46 47void orion5x_pcie_id(u32 *dev, u32 *rev); 48void orion5x_pci_disable(void); 49void orion5x_pci_set_cardbus_mode(void); 50int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys); 51struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys); 52int orion5x_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin); 53 | 1#ifndef __ARCH_ORION5X_COMMON_H 2#define __ARCH_ORION5X_COMMON_H 3 4struct dsa_platform_data; 5struct mv643xx_eth_platform_data; 6struct mv_sata_platform_data; 7 8/* --- 37 unchanged lines hidden (view full) --- 46 47void orion5x_pcie_id(u32 *dev, u32 *rev); 48void orion5x_pci_disable(void); 49void orion5x_pci_set_cardbus_mode(void); 50int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys); 51struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys); 52int orion5x_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin); 53 |
54/* 55 * Valid GPIO pins according to MPP setup, used by machine-setup. 56 * (/mach-orion/gpio.c). 57 */ 58void orion5x_gpio_set_valid(unsigned pin, int valid); 59void gpio_display(void); /* debug */ 60 | |
61struct machine_desc; 62struct meminfo; 63struct tag; 64extern void __init tag_fixup_mem32(struct machine_desc *, struct tag *, 65 char **, struct meminfo *); 66 67 68#endif | 54struct machine_desc; 55struct meminfo; 56struct tag; 57extern void __init tag_fixup_mem32(struct machine_desc *, struct tag *, 58 char **, struct meminfo *); 59 60 61#endif |