1 From 4d95f99c59b8b814bcf09ba86020d937ec7caa86 Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Thu, 20 Dec 2018 17:40:58 +0100
4 Subject: [PATCH] brcmfmac: Add DMI nvram filename quirk for PoV TAB-P1006W-232
7 The Point of View TAB-P1006W-232 tablet contains quite generic names in
8 the sys_vendor and product_name DMI strings, without this patch brcmfmac
9 will try to load: brcmfmac43340-sdio.Insyde-BayTrail.txt as nvram file
10 which is a bit too generic.
12 Add a DMI quirk so that a unique and clearly identifiable nvram file
13 name is used on the PoV TAB-P1006W-232 tablet.
15 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
16 Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
18 .../wireless/broadcom/brcm80211/brcmfmac/dmi.c | 15 +++++++++++++++
19 1 file changed, 15 insertions(+)
21 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c
22 +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/dmi.c
23 @@ -43,6 +43,10 @@ static const struct brcmf_dmi_data meego
24 BRCM_CC_43340_CHIP_ID, 2, "meegopad-t08"
27 +static const struct brcmf_dmi_data pov_tab_p1006w_data = {
28 + BRCM_CC_43340_CHIP_ID, 2, "pov-tab-p1006w-data"
31 static const struct dmi_system_id dmi_platform_data[] = {
33 /* Match for the GPDwin which unfortunately uses somewhat
34 @@ -81,6 +85,17 @@ static const struct dmi_system_id dmi_pl
36 .driver_data = (void *)&meegopad_t08_data,
39 + /* Point of View TAB-P1006W-232 */
41 + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Insyde"),
42 + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "BayTrail"),
43 + /* Note 105b is Foxcon's USB/PCI vendor id */
44 + DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "105B"),
45 + DMI_EXACT_MATCH(DMI_BOARD_NAME, "0E57"),
47 + .driver_data = (void *)&pov_tab_p1006w_data,