git: 9front

Download patch

ref: 516ceefe7ece4e93a5d31b880cccf6d44bd1910e
parent: da89dbcfbbe32b0eb36f0c76465ef5c60167e560
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Nov 20 19:45:44 EST 2020

etherm10g: remove duplicated pci capability enum

--- a/sys/src/9/pc/etherm10g.c
+++ b/sys/src/9/pc/etherm10g.c
@@ -237,21 +237,6 @@
 static Ctlr 	*ctlrs;
 
 enum {
-	PciCapPMG	 = 0x01,	/* power management */
-	PciCapAGP	 = 0x02,
-	PciCapVPD	 = 0x03,	/* vital product data */
-	PciCapSID	 = 0x04,	/* slot id */
-	PciCapMSI	 = 0x05,
-	PciCapCHS	 = 0x06,	/* compact pci hot swap */
-	PciCapPCIX	 = 0x07,
-	PciCapHTC	 = 0x08,	/* hypertransport irq conf */
-	PciCapVND	 = 0x09,	/* vendor specific information */
-	PciCapHSW	 = 0x0C,	/* hot swap */
-	PciCapPCIe	 = 0x10,
-	PciCapMSIX	 = 0x11,
-};
-
-enum {
 	PcieAERC = 1,
 	PcieVC,
 	PcieSNC,
--