Hi Manuel,

On Fri, 18 Jan 2008 10:09:13 +0100, Manuel Lauss wrote:
> Hi Jean,
> 
> On Sat, Oct 27, 2007 at 08:05:21PM +0200, Jean Delvare wrote:
> > 
> > > +/* All Alchemy demoboards with I2C have this #define in their headers */
> > > +#ifdef SMBUS_PSC_BASE
> > > +static struct resource pbdb_smbus_resources[] = {
> > > + {
> > > +         .start  = SMBUS_PSC_BASE,
> > > +         .end    = SMBUS_PSC_BASE + 0x24 - 1,
> > > +         .flags  = IORESOURCE_MEM,
> > 
> > Aren't resources supposed to have a name, so that they are displayed
> > properly in /proc/iomem)?
> 
> it looks okay to me the way it is, so I didn't change it:
> 
> b1a00000-b1a00023 : au1xpsc_smbus.0
>   b1a00000-b1a00023 : au1xpsc_smbus

Ah, OK, I didn't know that. I guess that the driver core can give
default names to resources that have no name at registration time.
Thanks for the info!

-- 
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to