Date: Mon, 18 May 2009 07:10:48 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192298 - head/sys/dev/nge Message-ID: <200905180710.n4I7AmKs053304@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yongari Date: Mon May 18 07:10:48 2009 New Revision: 192298 URL: http://svn.freebsd.org/changeset/base/192298 Log: Consistently use tab characters instead of spaces. Modified: head/sys/dev/nge/if_nge.c head/sys/dev/nge/if_ngereg.h Modified: head/sys/dev/nge/if_nge.c ============================================================================== --- head/sys/dev/nge/if_nge.c Mon May 18 07:04:03 2009 (r192297) +++ head/sys/dev/nge/if_nge.c Mon May 18 07:10:48 2009 (r192298) @@ -394,11 +394,11 @@ nge_mii_send(struct nge_softc *sc, uint3 SIO_CLR(NGE_MEAR_MII_CLK); for (i = (0x1 << (cnt - 1)); i; i >>= 1) { - if (bits & i) { + if (bits & i) { SIO_SET(NGE_MEAR_MII_DATA); - } else { + } else { SIO_CLR(NGE_MEAR_MII_DATA); - } + } DELAY(1); SIO_CLR(NGE_MEAR_MII_CLK); DELAY(1); @@ -1028,8 +1028,8 @@ nge_newbuf(struct nge_softc *sc, struct static __inline void nge_fixup_rx(struct mbuf *m) { - int i; - uint16_t *src, *dst; + int i; + uint16_t *src, *dst; src = mtod(m, uint16_t *); dst = src - 1; @@ -1050,8 +1050,8 @@ nge_fixup_rx(struct mbuf *m) static void nge_rxeof(struct nge_softc *sc) { - struct mbuf *m; - struct ifnet *ifp; + struct mbuf *m; + struct ifnet *ifp; struct nge_desc *cur_rx; int i, total_len = 0; uint32_t rxstat; Modified: head/sys/dev/nge/if_ngereg.h ============================================================================== --- head/sys/dev/nge/if_ngereg.h Mon May 18 07:04:03 2009 (r192297) +++ head/sys/dev/nge/if_ngereg.h Mon May 18 07:10:48 2009 (r192298) @@ -481,15 +481,15 @@ struct nge_desc_64 { #define nge_txstat nge_cmdsts #define nge_ctl nge_cmdsts volatile uint32_t nge_extsts; - /* Driver software section */ - union { - struct mbuf *nge_mbuf; - uint64_t nge_dummy; - } nge_mb_u; - union { - struct nge_desc_32 *nge_nextdesc; - uint64_t nge_dummy; - } nge_nd_u; + /* Driver software section */ + union { + struct mbuf *nge_mbuf; + uint64_t nge_dummy; + } nge_mb_u; + union { + struct nge_desc_32 *nge_nextdesc; + uint64_t nge_dummy; + } nge_nd_u; }; struct nge_desc_32 { @@ -501,15 +501,15 @@ struct nge_desc_32 { #define nge_txstat nge_cmdsts #define nge_ctl nge_cmdsts volatile uint32_t nge_extsts; - /* Driver software section */ - union { - struct mbuf *nge_mbuf; - uint64_t nge_dummy; - } nge_mb_u; - union { - struct nge_desc_32 *nge_nextdesc; - uint64_t nge_dummy; - } nge_nd_u; + /* Driver software section */ + union { + struct mbuf *nge_mbuf; + uint64_t nge_dummy; + } nge_mb_u; + union { + struct nge_desc_32 *nge_nextdesc; + uint64_t nge_dummy; + } nge_nd_u; }; #define nge_mbuf nge_mb_u.nge_mbuf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905180710.n4I7AmKs053304>