Messages in this thread | | | From | Segher Boessenkool <> | Subject | Re: [PATCH] PCI: also read revision ID for sparc64, ppc, read class at the same time | Date | Sun, 10 Jun 2007 14:17:48 +0200 |
| |
>> + 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |