Hi,
On Wed, 2006-04-05 at 05:15, Randy.Dunlap wrote:
> +static char *mtrr_strings[MTRR_NUM_TYPES] =
> +{
> + "uncachable", /* 0 */
> + "write-combining", /* 1 */
> + "?", /* 2 */
> + "?", /* 3 */
> + "write-through", /* 4 */
> + "write-protect", /* 5 */
> + "write-back", /* 6 */
> +};
How about something like that ?
+static char *mtrr_strings[MTRR_NUM_TYPES] =
+{
+ [MTRR_TYPE_UNCACHABLE] = "uncachable", /* 0 */
+ [MTRR_TYPE_WRCOMB] = "write-combining", /* 1 */
+ "?", /* 2 */
+ "?", /* 3 */
+ [MTRR_TYPE_WRTHROUGH] = "write-through", /* 4 */
+ [MTRR_TYPE_WRPROT] = "write-protect", /* 5 */
+ [MTRR_TYPE_WRBACK] = "write-back", /* 6 */
+};
(Dunno if it's that helpful though).
Xav
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]