[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <878tbebopw.fsf@miraculix.mork.no>
Date: Tue, 27 Feb 2018 13:29:15 +0100
From: Bjørn Mork <bjorn@...k.no>
To: Bassem Boubaker <bassem.boubaker@...ia.fr>
Cc: linux-kernel@...r.kernel.org, Oliver Neukum <oliver@...kum.org>,
linux-usb@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] cdc_ether: flag the Cinterion PLS8 modem by gemalto as WWAN
Bassem Boubaker <bassem.boubaker@...ia.fr> 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
Powered by blists - more mailing lists