WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [XenPPC] [PATCH/RFC] Support Xen console=comX option

On Thu, 2006-08-10 at 13:25 -0400, Amos Waterland wrote:
> 
> +        str = strrchr(buf, '/');
> +        if (str == NULL || strncmp(str + 1, "serial@", 7) != 0)
> +            continue; 

OK, I was wrong. :) (You can disagree, you know...) The original
strchr() was better.

Actually, don't we want to be looking at the device_type property
instead of the path anyways?

-- 
Hollis Blanchard
IBM Linux Technology Center


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel