- Re-committed r220603 which was accidentally backed out by an earlier
commit. - Fixed a bug in an unused debug macro. MFC after: One week.
This commit is contained in:
parent
2524d0a675
commit
e93ad740a0
@ -210,7 +210,7 @@ extern uint32_t bxe_debug;
|
|||||||
/* Returns FALSE in "defects" per 2^31 - 1 calls, otherwise returns TRUE. */
|
/* Returns FALSE in "defects" per 2^31 - 1 calls, otherwise returns TRUE. */
|
||||||
#define DB_RANDOMFALSE(defects) (random() > defects)
|
#define DB_RANDOMFALSE(defects) (random() > defects)
|
||||||
#define DB_OR_RANDOMFALSE(defects) || (random() > defects)
|
#define DB_OR_RANDOMFALSE(defects) || (random() > defects)
|
||||||
#define DB_AND_RANDOMFALSE(defects) && (random() > ddfects)
|
#define DB_AND_RANDOMFALSE(defects) && (random() > defects)
|
||||||
|
|
||||||
/* Returns TRUE in "defects" per 2^31 - 1 calls, otherwise returns FALSE. */
|
/* Returns TRUE in "defects" per 2^31 - 1 calls, otherwise returns FALSE. */
|
||||||
#define DB_RANDOMTRUE(defects) (random() < defects)
|
#define DB_RANDOMTRUE(defects) (random() < defects)
|
||||||
|
@ -1150,9 +1150,6 @@ struct bxe_fastpath {
|
|||||||
|
|
||||||
/* ToDo: Audit this structure for unused varaibles. */
|
/* ToDo: Audit this structure for unused varaibles. */
|
||||||
struct bxe_softc {
|
struct bxe_softc {
|
||||||
/*
|
|
||||||
* MUST start with ifnet pointer (see definition of miibus_statchg()).
|
|
||||||
*/
|
|
||||||
struct ifnet *bxe_ifp;
|
struct ifnet *bxe_ifp;
|
||||||
int media;
|
int media;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user