[Midnightbsd-cvs] src [7233] trunk/sys/dev/bge/if_bge.c: deconst this sucker

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Aug 11 21:15:18 EDT 2015


Revision: 7233
          http://svnweb.midnightbsd.org/src/?rev=7233
Author:   laffer1
Date:     2015-08-11 21:15:18 -0400 (Tue, 11 Aug 2015)
Log Message:
-----------
deconst this sucker

Modified Paths:
--------------
    trunk/sys/dev/bge/if_bge.c

Modified: trunk/sys/dev/bge/if_bge.c
===================================================================
--- trunk/sys/dev/bge/if_bge.c	2015-08-12 01:11:48 UTC (rev 7232)
+++ trunk/sys/dev/bge/if_bge.c	2015-08-12 01:15:18 UTC (rev 7233)
@@ -139,7 +139,7 @@
 static const struct bge_type {
 	uint16_t	bge_vid;
 	uint16_t	bge_did;
-} const bge_devs[] = {
+} bge_devs[] = {
 	{ ALTEON_VENDORID,	ALTEON_DEVICEID_BCM5700 },
 	{ ALTEON_VENDORID,	ALTEON_DEVICEID_BCM5701 },
 
@@ -239,7 +239,7 @@
 static const struct bge_vendor {
 	uint16_t	v_id;
 	const char	*v_name;
-} const bge_vendors[] = {
+} bge_vendors[] = {
 	{ ALTEON_VENDORID,	"Alteon" },
 	{ ALTIMA_VENDORID,	"Altima" },
 	{ APPLE_VENDORID,	"Apple" },
@@ -254,7 +254,7 @@
 static const struct bge_revision {
 	uint32_t	br_chipid;
 	const char	*br_name;
-} const bge_revisions[] = {
+} bge_revisions[] = {
 	{ BGE_CHIPID_BCM5700_A0,	"BCM5700 A0" },
 	{ BGE_CHIPID_BCM5700_A1,	"BCM5700 A1" },
 	{ BGE_CHIPID_BCM5700_B0,	"BCM5700 B0" },
@@ -2786,7 +2786,7 @@
 		const uint16_t vendor;
 		const uint16_t device;
 		const char *desc;
-	} const mbox_reorder_lists[] = {
+	} mbox_reorder_lists[] = {
 		{ 0x1022, 0x7450, "AMD-8131 PCI-X Bridge" },
 	};
 	devclass_t pci, pcib;



More information about the Midnightbsd-cvs mailing list