aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-12-20 11:40:58 -0500
committerKalle Valo <kvalo@codeaurora.org>2019-01-10 06:33:13 -0500
commit4d95f99c59b8b814bcf09ba86020d937ec7caa86 (patch)
tree18549d240147f444d9492adf3e266eece7716a68
parent72255c807156adeb167444c4206c9e5eece22287 (diff)
brcmfmac: Add DMI nvram filename quirk for PoV TAB-P1006W-232 tablet
The Point of View TAB-P1006W-232 tablet contains quite generic names in the sys_vendor and product_name DMI strings, without this patch brcmfmac will try to load: brcmfmac43340-sdio.Insyde-BayTrail.txt as nvram file which is a bit too generic. Add a DMI quirk so that a unique and clearly identifiable nvram file name is used on the PoV TAB-P1006W-232 tablet. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r--drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c
index 51d76ac45075..7535cb0d4ac0 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c
@@ -43,6 +43,10 @@ static const struct brcmf_dmi_data meegopad_t08_data = {
43 BRCM_CC_43340_CHIP_ID, 2, "meegopad-t08" 43 BRCM_CC_43340_CHIP_ID, 2, "meegopad-t08"
44}; 44};
45 45
46static const struct brcmf_dmi_data pov_tab_p1006w_data = {
47 BRCM_CC_43340_CHIP_ID, 2, "pov-tab-p1006w-data"
48};
49
46static const struct dmi_system_id dmi_platform_data[] = { 50static const struct dmi_system_id dmi_platform_data[] = {
47 { 51 {
48 /* Match for the GPDwin which unfortunately uses somewhat 52 /* Match for the GPDwin which unfortunately uses somewhat
@@ -81,6 +85,17 @@ static const struct dmi_system_id dmi_platform_data[] = {
81 }, 85 },
82 .driver_data = (void *)&meegopad_t08_data, 86 .driver_data = (void *)&meegopad_t08_data,
83 }, 87 },
88 {
89 /* Point of View TAB-P1006W-232 */
90 .matches = {
91 DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Insyde"),
92 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "BayTrail"),
93 /* Note 105b is Foxcon's USB/PCI vendor id */
94 DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "105B"),
95 DMI_EXACT_MATCH(DMI_BOARD_NAME, "0E57"),
96 },
97 .driver_data = (void *)&pov_tab_p1006w_data,
98 },
84 {} 99 {}
85}; 100};
86 101