1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Consistently use tab characters instead of spaces.

This commit is contained in:
Pyun YongHyeon 2009-05-18 07:10:48 +00:00
parent 6f94c0fd17
commit 056e0442f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192298
2 changed files with 25 additions and 25 deletions

View File

@ -394,11 +394,11 @@ nge_mii_send(struct nge_softc *sc, uint32_t bits, int cnt)
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 nge_desc *c, struct mbuf *m)
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;

View File

@ -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