Message ID | BN3PR0401MB14572E9C2572B4C1FFFF881DC0060@BN3PR0401MB1457.namprd04.prod.outlook.com |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
Hello. On 11/24/2015 4:18 AM, Owen Lin wrote: > Add Killer E2400 device ID in alx driver. > > Signed-off-by: Owen Lin olin@rivetnetworks.com > > -------------------------------------------------------------------------------- > diff -uprN alx_orig/main.c alx/main.c The patch should be applicable with the -p1 option. > --- alx_orig/main.c Mon Sep 7 13:00:58 2015 > +++ alx/main.c Mon Sep 7 14:47:03 2015 > @@ -1537,6 +1537,7 @@ static const struct pci_device_id alx_pc > { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_AR8162), > .driver_data = ALX_DEV_QUIRK_MSI_INTX_DISABLE_BUG }, > { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_AR8171) }, > + { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_E2400) }, > { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_AR8172) }, > {} > }; > diff -uprN alx_orig/reg.h alx/reg.h > --- alx_orig/reg.h Mon Sep 7 13:00:58 2015 > +++ alx/reg.h Mon Sep 7 14:46:16 2015 > @@ -39,6 +39,7 @@ > #define ALX_DEV_ID_E2200 0xe091 > #define ALX_DEV_ID_AR8162 0x1090 > #define ALX_DEV_ID_AR8171 0x10A1 > +#define ALX_DEV_ID_E2400 0xe0A1 Either all upper case (which seem to follow what the other IDs have) or all lower case. > #define ALX_DEV_ID_AR8172 0x10A0 > > /* rev definition, MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff -uprN alx_orig/main.c alx/main.c --- alx_orig/main.c Mon Sep 7 13:00:58 2015 +++ alx/main.c Mon Sep 7 14:47:03 2015 @@ -1537,6 +1537,7 @@ static const struct pci_device_id alx_pc { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_AR8162), .driver_data = ALX_DEV_QUIRK_MSI_INTX_DISABLE_BUG }, { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_AR8171) }, + { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_E2400) }, { PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_AR8172) }, {} }; diff -uprN alx_orig/reg.h alx/reg.h --- alx_orig/reg.h Mon Sep 7 13:00:58 2015 +++ alx/reg.h Mon Sep 7 14:46:16 2015 @@ -39,6 +39,7 @@ #define ALX_DEV_ID_E2200 0xe091 #define ALX_DEV_ID_AR8162 0x1090 #define ALX_DEV_ID_AR8171 0x10A1 +#define ALX_DEV_ID_E2400 0xe0A1 #define ALX_DEV_ID_AR8172 0x10A0 /* rev definition,
Add Killer E2400 device ID in alx driver. Signed-off-by: Owen Lin olin@rivetnetworks.com -------------------------------------------------------------------------------- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html