lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CAHp75VdeO62CCX3YhjBQaprGi7iY+6m5QtcX-CcXj2LpASTrPA@mail.gmail.com> Date: Sat, 27 May 2017 16:16:43 +0300 From: Andy Shevchenko <andy.shevchenko@...il.com> To: Jan Kiszka <jan.kiszka@...mens.com> Cc: Giuseppe Cavallaro <peppe.cavallaro@...com>, Alexandre Torgue <alexandre.torgue@...com>, David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org> Subject: Re: [PATCH v2 2/6] stmmac: pci: Use stmmac_pci_info for all devices On Sat, May 27, 2017 at 4:13 PM, Andy Shevchenko <andy.shevchenko@...il.com> wrote: > On Fri, May 26, 2017 at 7:07 PM, Jan Kiszka <jan.kiszka@...mens.com> wrote: >> Make stmmac_default_data compatible with stmmac_pci_info.setup and use >> an info structure for all devices. This allows to make the probing more >> regular. > Or converting defines first to PCI_DEVICE_ID_* It looks even for previously mentioned approach we need to rename constants first. > and > > #define STMMAC_DEVICE(_vid, _did, info) { \ > PCI_DEVICE(PCI_VENDOR_ID_##_vid, PCI_DEVICE_ID_##_did), > \ > > which I like even better. Or even #define STMMAC_DEVICE(_vid, _did, info) { \ PCI_VDEVICE(_vid, PCI_DEVICE_ID_##_did), \ -- With Best Regards, Andy Shevchenko
Powered by blists - more mailing lists