2011-05-09 16:56:46 +00:00
|
|
|
#ifndef LINUX_BCMA_PRIVATE_H_
|
|
|
|
#define LINUX_BCMA_PRIVATE_H_
|
|
|
|
|
|
|
|
#ifndef pr_fmt
|
|
|
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <linux/bcma/bcma.h>
|
|
|
|
#include <linux/delay.h>
|
|
|
|
|
|
|
|
#define BCMA_CORE_SIZE 0x1000
|
|
|
|
|
|
|
|
struct bcma_bus;
|
|
|
|
|
|
|
|
/* main.c */
|
2011-06-17 23:01:59 +00:00
|
|
|
int bcma_bus_register(struct bcma_bus *bus);
|
|
|
|
void bcma_bus_unregister(struct bcma_bus *bus);
|
2011-05-09 16:56:46 +00:00
|
|
|
|
|
|
|
/* scan.c */
|
|
|
|
int bcma_bus_scan(struct bcma_bus *bus);
|
|
|
|
|
2011-06-02 00:08:51 +00:00
|
|
|
/* sprom.c */
|
|
|
|
int bcma_sprom_get(struct bcma_bus *bus);
|
|
|
|
|
2011-05-09 16:56:46 +00:00
|
|
|
#ifdef CONFIG_BCMA_HOST_PCI
|
|
|
|
/* host_pci.c */
|
|
|
|
extern int __init bcma_host_pci_init(void);
|
|
|
|
extern void __exit bcma_host_pci_exit(void);
|
|
|
|
#endif /* CONFIG_BCMA_HOST_PCI */
|
|
|
|
|
2011-07-05 17:48:26 +00:00
|
|
|
#ifdef CONFIG_BCMA_DRIVER_PCI_HOSTMODE
|
|
|
|
void bcma_core_pci_hostmode_init(struct bcma_drv_pci *pc);
|
|
|
|
#endif /* CONFIG_BCMA_DRIVER_PCI_HOSTMODE */
|
|
|
|
|
2011-05-09 16:56:46 +00:00
|
|
|
#endif
|