data = data0 = data1 = data2 = 0;
ar5k_ar5112_channel(hal, channel)	struct ath_hal *hal;	HAL_CHANNEL *channel;{	u_int32_t data, data0, data1, data2;	u_int16_t c;	c = channel->c_channel;	/*	 * Set the channel on the AR5112 or newer	 */	if (c < 4800) {		if (!((c - 2224) % 5)) {			data0 = ((2 * (c - 704)) - 3040) / 10;			data1 = 1;		} else if (!((c - 2192) % 5)) {			data0 = ((2 * (c - 672)) - 3040) / 10;			data1 = 0;		} else			return (AH_FALSE);		data0 = ar5k_bitswap((data0 << 2) & 0xff, 8);	} else {		if (!(c % 20) && c >= 5120) {			data0 = ar5k_bitswap(((c - 4800) / 20 << 2), 8);			data2 = ar5k_bitswap(3, 2);		} else if (!(c % 10)) {			data0 = ar5k_bitswap(((c - 4800) / 10 << 1), 8);			data2 = ar5k_bitswap(2, 2);		} else if (!(c % 5)) {			data0 = ar5k_bitswap((c - 4800) / 5, 8);			data2 = ar5k_bitswap(1, 2);		} else			return (AH_FALSE);	}	data = (data0 << 4) | (data1 << 1) | (data2 << 2) | 0x1001;	AR5K_PHY_WRITE(0x27, data & 0xff);	AR5K_PHY_WRITE(0x36, (data >> 8) & 0x7f);	return (AH_TRUE);}