/* Read the 64 bit we'd like to have - It a series of 64 bits showing up in the LSB of the base register.  */
static void ds1216_read(u8 __iomem *ioaddr, u8 *buf)
/* Read the 64 bit we'd like to have - It a series of 64 bits showing up in the LSB of the base register.  */
static void ds1216_read(u8 __iomem *ioaddr, u8 *buf)
{
	unsigned char c;
	int i, j;
	for (i = 0; i < 8; i++) {
		c = 0;
		for (j = 0; j < 8; j++)
			c |= (readb(ioaddr) & 0x1) << j;
		buf[i] = c;
	}
}