Messages in this thread | | | Date | Sun, 10 Dec 2023 12:10:03 +0200 | Subject | Re: [Intel-wired-lan] [PATCH v4 2/3] e1000e: Use PCI_EXP_LNKSTA_NLW & FIELD_GET() instead of custom defines/code | From | "naamax.meir" <> |
| |
On 11/21/2023 14:34, Ilpo Järvinen wrote: > e1000e has own copy of PCI Negotiated Link Width field defines. Use the > ones from include/uapi/linux/pci_regs.h instead of the custom ones and > remove the custom ones and convert to FIELD_GET(). > > Suggested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> > Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> > Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> > --- > drivers/net/ethernet/intel/e1000e/defines.h | 2 -- > drivers/net/ethernet/intel/e1000e/mac.c | 7 ++++--- > 2 files changed, 4 insertions(+), 5 deletions(-)
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
| |