mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 20:30:52 +08:00
Address prototype mismatch in FreeBSD code. Need to report upstream.
This commit is contained in:
@@ -221,17 +221,16 @@ static __inline void igb_rx_input(struct rx_ring *,
|
|||||||
struct ifnet *, struct mbuf *, u32);
|
struct ifnet *, struct mbuf *, u32);
|
||||||
|
|
||||||
#ifdef __rtems__
|
#ifdef __rtems__
|
||||||
/* XXX the inconsistent prototype and body need to be reported to FreeBSD */
|
/* XXX report inconsistent proto/body to FreeBSD */
|
||||||
static bool igb_rxeof(struct igb_queue *, int, int *);
|
static bool igb_rxeof(struct igb_queue *, int, int *);
|
||||||
#else
|
#else
|
||||||
static boolean_t igb_rxeof(struct igb_queue *, int, int *);
|
static boolean_t igb_rxeof(struct igb_queue *, int, int *);
|
||||||
#endif
|
#endif
|
||||||
static void igb_rx_checksum(u32, struct mbuf *, u32);
|
static void igb_rx_checksum(u32, struct mbuf *, u32);
|
||||||
#ifdef __rtems__
|
#ifdef __rtems__
|
||||||
/* XXX the inconsistent prototype and body need to be reported to FreeBSD */
|
/* XXX report inconsistent proto/body to FreeBSD */
|
||||||
static bool igb_tx_ctx_setup(struct tx_ring *, struct mbuf *);
|
static bool igb_tx_ctx_setup(struct tx_ring *, struct mbuf *);
|
||||||
#else
|
#else
|
||||||
static int igb_tx_ctx_setup(struct tx_ring *, struct mbuf *);
|
|
||||||
#endif
|
#endif
|
||||||
static boolean_t igb_tso_setup(struct tx_ring *, struct mbuf *, u32 *);
|
static boolean_t igb_tso_setup(struct tx_ring *, struct mbuf *, u32 *);
|
||||||
static void igb_set_promisc(struct adapter *);
|
static void igb_set_promisc(struct adapter *);
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
/* EMPTY */
|
|
Reference in New Issue
Block a user