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