Re: [PATCH] PCI: also read revision ID for sparc64, ppc, read class at the same time

From: Segher Boessenkool
Date: Sun Jun 10 2007 - 08:18:03 EST


+ dev->revision = get_int_prop(node, "revision-id", 0);

It's not clear to me in the spec if nodes are required to have the
"revision-id" property.

It is required for every PCI node.

I guess 0 is a safe default though.

As good as any -- that is, no default is save. 0 should
be "good enough" here I guess.


Segher

-
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/