1234567891011121314151617181920212223242526272829303132333435363738 |
- /* SPDX-License-Identifier: GPL-2.0-or-later */
- /*
- * Copyright (C) 2007 Aurelien Jarno <aurelien@aurel32.net>
- */
- #ifndef __ASM_BCM47XX_H
- #define __ASM_BCM47XX_H
- #include <linux/ssb/ssb.h>
- #include <linux/bcma/bcma.h>
- #include <linux/bcma/bcma_soc.h>
- #include <linux/bcm47xx_nvram.h>
- enum bcm47xx_bus_type {
- BCM47XX_BUS_TYPE_SSB,
- BCM47XX_BUS_TYPE_BCMA,
- };
- union bcm47xx_bus {
- struct ssb_bus ssb;
- struct bcma_soc bcma;
- };
- extern union bcm47xx_bus bcm47xx_bus;
- extern enum bcm47xx_bus_type bcm47xx_bus_type;
- void bcm47xx_set_system_type(u16 chip_id);
|