arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h

Source file repositories/reference/linux-study-clean/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h

File Facts

System
Linux kernel
Corpus path
arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
Extension
.h
Size
1172 bytes
Lines
55
Domain
Architecture Layer
Bucket
arch/mips
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

struct board_info {
	u8		name[16];
	unsigned int	expected_cpu_id;

	/* enabled feature/device */
	unsigned int	has_enet0:1;
	unsigned int	has_enet1:1;
	unsigned int	has_enetsw:1;
	unsigned int	has_pci:1;
	unsigned int	has_pccard:1;
	unsigned int	has_ohci0:1;
	unsigned int	has_ehci0:1;
	unsigned int	has_usbd:1;
	unsigned int	has_uart0:1;
	unsigned int	has_uart1:1;

	/* ethernet config */
	struct bcm63xx_enet_platform_data enet0;
	struct bcm63xx_enet_platform_data enet1;
	struct bcm63xx_enetsw_platform_data enetsw;

	/* USB config */
	struct bcm63xx_usbd_platform_data usbd;

	/* GPIO LEDs */
	struct gpio_led leds[5];

	/* External PHY reset GPIO */
	unsigned int ephy_reset_gpio;

	/* External PHY reset GPIO flags from gpio.h */
	unsigned long ephy_reset_gpio_flags;
};

#endif /* ! BOARD_BCM963XX_H_ */

Annotation

Implementation Notes