Re: [PATCH] cdc_ether: flag the Cinterion PLS8 modem by gemalto as WWAN

From: BjÃrn Mork
Date: Tue Feb 27 2018 - 07:29:34 EST


Bassem Boubaker <bassem.boubaker@xxxxxxxx> writes:

> +#define GEMALTO_VENDOR_ID 0x1e2d

This is defined as CINTERION_VENDOR_ID in drivers/usb/serial/option.c.

I have no idea which defintion is most correct, but I believe the macros
should be kept identical whatever you decide. Anything else is just
unnecessarily confusing.

IMHO the company name tracking macros have grown beyond useful a long
time ago. They just make it harder to grep for the IDs without adding
any useful information whatsoever. And because you have cases like this
where the same number end up having different names, they sometimes hide
information which a plain number would have revealed.



BjÃrn