summaryrefslogtreecommitdiffstats
path: root/include/linux/bcma/bcma_driver_chipcommon.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-07-17 11:00:59 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-07-19 16:49:53 -0400
commiteb1577b7c4b2cdd0e18b0d5d8e940e36329215e5 (patch)
tree0a6134bf849eb48c06692573504ad5f511d6c9cd /include/linux/bcma/bcma_driver_chipcommon.h
parentb473bc176702cb22529632b5c4315bda27e0d979 (diff)
downloadop-kernel-dev-eb1577b7c4b2cdd0e18b0d5d8e940e36329215e5.zip
op-kernel-dev-eb1577b7c4b2cdd0e18b0d5d8e940e36329215e5.tar.gz
bcma: handle alternative SPROM location
Some cards do not use additional 0x30 offset for SPROM location. We do not know the real condition for it yet, make it BCM4331 specific for now. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/bcma/bcma_driver_chipcommon.h')
-rw-r--r--include/linux/bcma/bcma_driver_chipcommon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/bcma/bcma_driver_chipcommon.h b/include/linux/bcma/bcma_driver_chipcommon.h
index 9c5b69f..68c3d94 100644
--- a/include/linux/bcma/bcma_driver_chipcommon.h
+++ b/include/linux/bcma/bcma_driver_chipcommon.h
@@ -244,7 +244,8 @@
#define BCMA_CC_REGCTL_DATA 0x065C
#define BCMA_CC_PLLCTL_ADDR 0x0660
#define BCMA_CC_PLLCTL_DATA 0x0664
-#define BCMA_CC_SPROM 0x0830 /* SPROM beginning */
+#define BCMA_CC_SPROM 0x0800 /* SPROM beginning */
+#define BCMA_CC_SPROM_PCIE6 0x0830 /* SPROM beginning on PCIe rev >= 6 */
/* Data for the PMU, if available.
* Check availability with ((struct bcma_chipcommon)->capabilities & BCMA_CC_CAP_PMU)
OpenPOWER on IntegriCloud