diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/bcma/bcma.h | 1 | ||||
| -rw-r--r-- | include/linux/bcma/bcma_driver_chipcommon.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index 7fc16c991291..634597917670 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h | |||
| @@ -335,6 +335,7 @@ struct bcma_bus { | |||
| 335 | u8 num; | 335 | u8 num; |
| 336 | 336 | ||
| 337 | struct bcma_drv_cc drv_cc; | 337 | struct bcma_drv_cc drv_cc; |
| 338 | struct bcma_drv_cc_b drv_cc_b; | ||
| 338 | struct bcma_drv_pci drv_pci[2]; | 339 | struct bcma_drv_pci drv_pci[2]; |
| 339 | struct bcma_drv_pcie2 drv_pcie2; | 340 | struct bcma_drv_pcie2 drv_pcie2; |
| 340 | struct bcma_drv_mips drv_mips; | 341 | struct bcma_drv_mips drv_mips; |
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h index 63d105cd14a3..db6fa217f98b 100644 --- a/include/linux/bcma/bcma_driver_chipcommon.h +++ b/include/linux/bcma/bcma_driver_chipcommon.h | |||
| @@ -644,6 +644,12 @@ struct bcma_drv_cc { | |||
| 644 | #endif | 644 | #endif |
| 645 | }; | 645 | }; |
| 646 | 646 | ||
| 647 | struct bcma_drv_cc_b { | ||
| 648 | struct bcma_device *core; | ||
| 649 | u8 setup_done:1; | ||
| 650 | void __iomem *mii; | ||
| 651 | }; | ||
| 652 | |||
| 647 | /* Register access */ | 653 | /* Register access */ |
| 648 | #define bcma_cc_read32(cc, offset) \ | 654 | #define bcma_cc_read32(cc, offset) \ |
| 649 | bcma_read32((cc)->core, offset) | 655 | bcma_read32((cc)->core, offset) |
| @@ -699,4 +705,6 @@ extern void bcma_pmu_spuravoid_pllupdate(struct bcma_drv_cc *cc, int spuravoid); | |||
| 699 | 705 | ||
| 700 | extern u32 bcma_pmu_get_bus_clock(struct bcma_drv_cc *cc); | 706 | extern u32 bcma_pmu_get_bus_clock(struct bcma_drv_cc *cc); |
| 701 | 707 | ||
| 708 | void bcma_chipco_b_mii_write(struct bcma_drv_cc_b *ccb, u32 offset, u32 value); | ||
| 709 | |||
| 702 | #endif /* LINUX_BCMA_DRIVER_CC_H_ */ | 710 | #endif /* LINUX_BCMA_DRIVER_CC_H_ */ |
