On Tue, 9 Oct 2012, Anisse Astier wrote:

> BIOS vendors keep changing the BIOS versions. Only match the beginning
> of the string to match all Lucid tablets with board name M11JB.
> 
> Signed-off-by: Anisse Astier <ani...@astier.eu>
> Cc: <sta...@vger.kernel.org>
> ---
>  drivers/usb/host/pci-quirks.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
> index 966d148..ead4525 100644
> --- a/drivers/usb/host/pci-quirks.c
> +++ b/drivers/usb/host/pci-quirks.c
> @@ -545,7 +545,7 @@ static const struct dmi_system_id __devinitconst 
> ehci_dmi_nohandoff_table[] = {
>               /*  Pegatron Lucid (Ordissimo AIRIS) */
>               .matches = {
>                       DMI_MATCH(DMI_BOARD_NAME, "M11JB"),
> -                     DMI_MATCH(DMI_BIOS_VERSION, "Lucid-GE-133"),
> +                     DMI_MATCH(DMI_BIOS_VERSION, "Lucid-"),
>               },
>       },

How about matching any BIOS from Lucid, regardless of the board name?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to