static void sbmac_mii_senddata(struct sbmac_softc *s,unsigned int data, int bitcnt){	int i;	uint64_t bits;	unsigned int curmask;	int mac_mdio_genc;	mac_mdio_genc = __raw_readq(s->sbm_mdio) & M_MAC_GENC;		bits = M_MAC_MDIO_DIR_OUTPUT;	__raw_writeq(bits | mac_mdio_genc, s->sbm_mdio);		curmask = 1 << (bitcnt - 1);		for (i = 0; i < bitcnt; i++) {		if (data & curmask)			bits |= M_MAC_MDIO_OUT;		else bits &= ~M_MAC_MDIO_OUT;		__raw_writeq(bits | mac_mdio_genc, s->sbm_mdio);		__raw_writeq(bits | M_MAC_MDC | mac_mdio_genc, s->sbm_mdio);		__raw_writeq(bits | mac_mdio_genc, s->sbm_mdio);		curmask >>= 1;	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/74b0247fbd4b6ed1693a420d85cf50267d840ef4/sb1250-mac.c/buggy/drivers/net/sb1250-mac.c