[nycbug-talk] PFSense Talk Followup, Fwd: igb(4) quad port patch for 7.x

Isaac Levy isaac at diversaform.com
Thu Mar 4 12:11:47 EST 2010


Hi All,

On Mar 4, 2010, at 8:54 AM, John Baldwin wrote:

> This is the patch we have at work to support a newer quad-port igb(4) part on 
> 7:
> 
> Index: dev/e1000/if_igb.c
> ===================================================================
> --- dev/e1000/if_igb.c	(.../mirror/FreeBSD/stable/7/sys)	(revision 204581)
> +++ dev/e1000/if_igb.c	(.../stable/7/sys)	(revision 204581)
> @@ -118,6 +118,8 @@
> 	{ 0x8086, E1000_DEV_ID_82576,		PCI_ANY_ID, PCI_ANY_ID, 0},
> 	{ 0x8086, E1000_DEV_ID_82576_FIBER,	PCI_ANY_ID, PCI_ANY_ID, 0},
> 	{ 0x8086, E1000_DEV_ID_82576_SERDES,	PCI_ANY_ID, PCI_ANY_ID, 0},
> +	{ 0x8086, E1000_DEV_ID_82576_QUAD_COPPER,
> +						PCI_ANY_ID, PCI_ANY_ID, 0},
> 	/* required last entry */
> 	{ 0, 0, 0, 0, 0}
> };
> 
> I'm not sure how easy it is to build a new kernel or igb.ko module with 
> pfSense, but this patch should apply to the pfSense version of if_igb.c just 
> fine I imagine.
> 
> -- 
> John Baldwin
> 

Thought I'd post this here for the record, since a number of people asked if I could send them the fix...

My plan is to:

1) immeadiately foreword this on to the folks who now manage those boxes

2) see if I cant' get this pushed back over to the PFSense folks, in an attempt to propogate the patch using the FreeBSD 7.x base,

On Mar 4, 2010, at 11:47 AM, George Neville-Neil wrote:
> If they're going to 8.x in the next release then this is in there.


Best,
.ike



--
Patch pasted cleanly below without CC markup:

Index: dev/e1000/if_igb.c
===================================================================
--- dev/e1000/if_igb.c	(.../mirror/FreeBSD/stable/7/sys)	(revision 204581)
+++ dev/e1000/if_igb.c	(.../stable/7/sys)	(revision 204581)
@@ -118,6 +118,8 @@
	{ 0x8086, E1000_DEV_ID_82576,		PCI_ANY_ID, PCI_ANY_ID, 0},
	{ 0x8086, E1000_DEV_ID_82576_FIBER,	PCI_ANY_ID, PCI_ANY_ID, 0},
	{ 0x8086, E1000_DEV_ID_82576_SERDES,	PCI_ANY_ID, PCI_ANY_ID, 0},
+	{ 0x8086, E1000_DEV_ID_82576_QUAD_COPPER,
+						PCI_ANY_ID, PCI_ANY_ID, 0},
	/* required last entry */
	{ 0, 0, 0, 0, 0}
};





More information about the talk mailing list