Messages in this thread | | | Subject | Re: [PATCH 6/7] AMD Geode GX/LX support | From | Alan Cox <> | Date | Mon, 03 Oct 2005 20:07:43 +0100 |
| |
On Llu, 2005-10-03 at 12:02 -0600, Jordan Crouse wrote: > + u32 val; > + > + val = *((u32 *) (geode_rng_base + GEODE_RNG_DATA_REG)); > + return val; > +} > + > +static unsigned int geode_data_present(void) { > + u32 val; > + > + val = *((u32 *) (geode_rng_base + GEODE_RNG_STATUS_REG)); > + return val; > +}
ioremap space is not directly for reference evenif it happens to work currently for this case - use readl
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |