Re: [PATCH 2 of 2] tpm: updates for new hardware

From: Benjamin Herrenschmidt
Date: Mon Nov 14 2005 - 19:18:26 EST



> Why don't you use ioread8() instead of defining atmel_getb()?
>
> You'd still need something PPC64-specific to initialize the iomem cookie,
> but the accessors would go away.
>
> Unfortunately, ioread8() and associated interfaces aren't mentioned
> under Documentation/, but there are some hints in lib/iomap.c.

Yes, I was about to reply the same thing :)

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/