> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of Arnd Bergmann
> Sent: Friday, October 12, 2007 10:34 PM
> To: linuxppc-dev@ozlabs.org
> Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED]
> Subject: Re: [PATCH v3 3/9] add Freescale SerDes PHY support
> 
> On Friday 12 October 2007, Li Yang wrote:
> > The SerDes(serializer/deserializer) PHY block is a new SoC 
> block used 
> > in Freescale chips to support multiple serial interfaces, 
> such as PCI 
> > Express, SGMII, SATA.
> 
> Some of my comments here are similar to those for the ata 
> driver, so I won't be as verbose here
> 
> > +static int __init setup_serdes(struct device_node *np) {
> > +   void __iomem *regs;
> > +   const void *prot;
> > +   const unsigned int *freq;
> > +   struct resource res;
> > +   u32 rfcks;
> > +
> > +   of_address_to_resource(np, 0, &res);
> > +   regs = ioremap(res.start, res.end - res.start + 1);
> 
> of_iomap?

I'd like to but of_iomap() couldn't provide the physical address of the
device used as identification.

- Leo
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to