From: Larry Finger Date: Wed, 11 Jan 2012 20:39:32 +0000 (-0600) Subject: bcma: Enable logging of SPROM offset X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~19491^2~376^2^2~62 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=cebcab9e18725d8249f607af787ee92107a665b7;p=mirror_ubuntu-focal-kernel.git bcma: Enable logging of SPROM offset The SPROM location has been relocated again for some devices. This patch will log the offset when CONFIG_BCMA_DEBUG has been selected. Signed-off-by: Larry Finger Signed-off-by: John W. Linville --- diff --git a/drivers/bcma/sprom.c b/drivers/bcma/sprom.c index cb835f026d94..e35134f724f6 100644 --- a/drivers/bcma/sprom.c +++ b/drivers/bcma/sprom.c @@ -271,6 +271,7 @@ int bcma_sprom_get(struct bcma_bus *bus) * TODO: understand this condition and use it */ offset = (bus->chipinfo.id == 0x4331) ? BCMA_CC_SPROM : BCMA_CC_SPROM_PCIE6; + pr_debug("SPROM offset 0x%x\n", offset); bcma_sprom_read(bus, offset, sprom); if (bus->chipinfo.id == 0x4331)