Date: Wed, 27 Feb 2013 00:14:12 +0000 (UTC) From: Andrew Gallatin <gallatin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r247365 - stable/9/sys/dev/mxge Message-ID: <201302270014.r1R0EC9M021673@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gallatin Date: Wed Feb 27 00:14:12 2013 New Revision: 247365 URL: http://svnweb.freebsd.org/changeset/base/247365 Log: Fix the build. Back out mis-guided compat shim that should not have been MFC'ed Modified: stable/9/sys/dev/mxge/if_mxge_var.h Modified: stable/9/sys/dev/mxge/if_mxge_var.h ============================================================================== --- stable/9/sys/dev/mxge/if_mxge_var.h Tue Feb 26 23:54:17 2013 (r247364) +++ stable/9/sys/dev/mxge/if_mxge_var.h Wed Feb 27 00:14:12 2013 (r247365) @@ -50,19 +50,6 @@ $FreeBSD$ #define IFNET_BUF_RING 1 #endif -#if (__FreeBSD_version < 1000020) -#undef IF_Kbps -#undef IF_Mbps -#undef IF_Gbps -#define IF_Kbps(x) ((uintmax_t)(x) * 1000) /* kilobits/sec. */ -#define IF_Mbps(x) (IF_Kbps((x) * 1000)) /* megabits/sec. */ -#define IF_Gbps(x) (IF_Mbps((x) * 1000)) /* gigabits/sec. */ -static __inline void -if_initbaudrate(struct ifnet *ifp, uintmax_t baud) -{ - ifp->if_baudrate = baud; -} -#endif #ifndef VLAN_CAPABILITIES #define VLAN_CAPABILITIES(ifp) #define mxge_vlans_active(sc) (sc)->ifp->if_nvlans
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302270014.r1R0EC9M021673>