/* Send a set of bytes to the chip. We need to pulse the MODE line between each byte, but never at the start nor at the end of the transfer.  */
static void sendbytes(struct l3_pins *adap, const u8 *buf, int len)
/* Send a set of bytes to the chip. We need to pulse the MODE line between each byte, but never at the start nor at the end of the transfer.  */
static void sendbytes(struct l3_pins *adap, const u8 *buf, int len)
{
	int i;
	for (i = 0; i < len; i++) {
		if (i) {
			udelay(adap->mode_hold);
			adap->setmode(0);
			udelay(adap->mode);
		}
		adap->setmode(1);
		udelay(adap->mode_setup);
		sendbyte(adap, buf[i]);
	}
}