The whitespace crusader strikes!
This commit is contained in:
parent
264a4c03fc
commit
27de24a734
@ -572,7 +572,7 @@ bfe_list_rx_init(struct bfe_softc *sc)
|
||||
|
||||
for(i = 0; i < BFE_RX_LIST_CNT; i++) {
|
||||
if(bfe_list_newbuf(sc, i, NULL) == ENOBUFS)
|
||||
return ENOBUFS;
|
||||
return (ENOBUFS);
|
||||
}
|
||||
|
||||
bus_dmamap_sync(sc->bfe_rx_tag, sc->bfe_rx_map, BUS_DMASYNC_PREREAD);
|
||||
@ -695,10 +695,10 @@ bfe_resetphy(struct bfe_softc *sc)
|
||||
if (val & BMCR_RESET) {
|
||||
printf("bfe%d: PHY Reset would not complete.\n", sc->bfe_unit);
|
||||
BFE_UNLOCK(sc);
|
||||
return ENXIO;
|
||||
return (ENXIO);
|
||||
}
|
||||
BFE_UNLOCK(sc);
|
||||
return 0;
|
||||
return (0);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1020,9 +1020,9 @@ bfe_wait_bit(struct bfe_softc *sc, u_int32_t reg, u_int32_t bit,
|
||||
printf("bfe%d: BUG! Timeout waiting for bit %08x of register "
|
||||
"%x to %s.\n", sc->bfe_unit, bit, reg,
|
||||
(clear ? "clear" : "set"));
|
||||
return -1;
|
||||
return (-1);
|
||||
}
|
||||
return 0;
|
||||
return (0);
|
||||
}
|
||||
|
||||
static int
|
||||
@ -1042,7 +1042,7 @@ bfe_readphy(struct bfe_softc *sc, u_int32_t reg, u_int32_t *val)
|
||||
*val = CSR_READ_4(sc, BFE_MDIO_DATA) & BFE_MDIO_DATA_DATA;
|
||||
|
||||
BFE_UNLOCK(sc);
|
||||
return err;
|
||||
return (err);
|
||||
}
|
||||
|
||||
static int
|
||||
@ -1061,7 +1061,7 @@ bfe_writephy(struct bfe_softc *sc, u_int32_t reg, u_int32_t val)
|
||||
status = bfe_wait_bit(sc, BFE_EMAC_ISTAT, BFE_EMAC_INT_MII, 100, 0);
|
||||
BFE_UNLOCK(sc);
|
||||
|
||||
return status;
|
||||
return (status);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -1084,7 +1084,7 @@ bfe_setupphy(struct bfe_softc *sc)
|
||||
bfe_writephy(sc, 27, val | (1 << 6));
|
||||
|
||||
BFE_UNLOCK(sc);
|
||||
return 0;
|
||||
return (0);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1531,7 +1531,7 @@ bfe_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
|
||||
}
|
||||
|
||||
BFE_UNLOCK(sc);
|
||||
return error;
|
||||
return (error);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user