Date: Wed, 27 May 2009 19:31:50 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192927 - head/sys/dev/xen/netfront Message-ID: <200905271931.n4RJVoI3009472@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Wed May 27 19:31:50 2009 New Revision: 192927 URL: http://svn.freebsd.org/changeset/base/192927 Log: Delete useless #ifdef; make it more obvious if setting TSO fails. Modified: head/sys/dev/xen/netfront/netfront.c Modified: head/sys/dev/xen/netfront/netfront.c ============================================================================== --- head/sys/dev/xen/netfront/netfront.c Wed May 27 19:28:04 2009 (r192926) +++ head/sys/dev/xen/netfront/netfront.c Wed May 27 19:31:50 2009 (r192927) @@ -352,9 +352,6 @@ xennet_get_rx_ref(struct netfront_info * return ref; } -#ifdef DEBUG - -#endif #define IPRINTK(fmt, args...) \ printf("[XEN] " fmt, ##args) #define WPRINTK(fmt, args...) \ @@ -1738,7 +1735,7 @@ xn_ioctl(struct ifnet *ifp, u_long cmd, ifp->if_capenable |= IFCAP_TSO4; ifp->if_hwassist |= CSUM_TSO; } else { - DPRINTK("Xen requires tx checksum offload" + IPRINTK("Xen requires tx checksum offload" " be enabled to use TSO\n"); error = EINVAL; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905271931.n4RJVoI3009472>