static inline unsigned int tg3_has_work(struct net_device *dev, struct tg3 *tp) 
static inline unsigned int tg3_has_work(struct tg3 *tp) 
static inline unsigned int tg3_has_work(struct net_device *dev, struct tg3 *tp){	struct tg3_hw_status *sblk = tp->hw_status;	unsigned int work_exists = 0;	/* check for phy events */	if (!(tp->tg3_flags &	      (TG3_FLAG_USE_LINKCHG_REG |	       TG3_FLAG_POLL_SERDES))) {		if (sblk->status & SD_STATUS_LINK_CHG)			work_exists = 1;	}	/* check for RX/TX work to do */	if (sblk->idx[0].tx_consumer != tp->tx_cons ||	    sblk->idx[0].rx_producer != tp->rx_rcb_ptr)		work_exists = 1;	return work_exists;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/04237dddd14375fce1df4bfb1be92a35aa1c247f/tg3.c/clean/drivers/net/tg3.c