sys/pci/if_dc.c

David Wolfskill david at catwhisker.org
Wed Aug 27 05:44:57 PDT 2003


[Following up to Martin about -STABLE kernel build problem with patch;
Cc:ing -stable, since the patch should un-break things for folks (I'm
still building my kernel as I type. -- dhw]

OK; looks simple -- seems that the corresponding commit to
sys/pci/if_dcreg.h (to actually define DC_TX_ALIGN) was overlooked.

Here's a patch:
Index: sys/pci/if_dcreg.h
===================================================================
RCS file: /cvs/freebsd/src/sys/pci/if_dcreg.h,v
retrieving revision 1.4.2.22
diff -u -r1.4.2.22 if_dcreg.h
--- sys/pci/if_dcreg.h	7 Jun 2003 16:55:35 -0000	1.4.2.22
+++ sys/pci/if_dcreg.h	27 Aug 2003 12:41:33 -0000
@@ -731,6 +731,7 @@
 #define DC_64BIT_HASH		0x00002000
 #define DC_TULIP_LEDS		0x00004000
 #define DC_TX_ONE		0x00008000
+#define DC_TX_ALIGN		0x00010000	/* align mbuf on tx */
 
 /*
  * register space access macros


Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
If you want true virus-protection for your PC, install a non-Microsoft OS
on it.  Plausible candidates include FreeBSD, Linux, NetBSD, OpenBSD, and
Solaris (in alphabetical order).


More information about the freebsd-stable mailing list