Date: Fri, 25 May 2001 23:11:16 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: current@freebsd.org Subject: PATCH: media option for ethernet hw checksum Message-ID: <200105252311.QAA05152@usr02.primenet.com>
next in thread | raw e-mail | index | archive | help
Here is a patch I have locally that would be useful for Bill Paul, I think. I know, we could use "flag0" for this, but it seems to me that this will be an increasingly common option in hadware. I know Bill had to set this manually as a compile time flag, for lack of an option (same for the JMB Intel Gigabit card driver). PS: The if_ti.c driver has a bug in the option checking, in that it does an equality instead of a bit test, in case some goes in to make this option work there... Index: if_media.h =================================================================== RCS file: /home/cvs/FreeBSD/sys/net/if_media.h,v retrieving revision 1.1.1.1 diff -r1.1.1.1 if_media.h 180a181 > #define IFM_CKSUM 0x00400000 /* Force hardware checksum */ 347a349 > { IFM_CKSUM, "hw-checksum" }, \ Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105252311.QAA05152>