FYI: Merge in progress...

YhLu YhLu at tyan.com
Mon Oct 18 16:09:00 CEST 2004


self.firstparentdevicelink()

How about IORESOURCE_FIXED ?

static void pnp_set_resource(device_t dev, struct resource *resource)
{
        if (!(resource->flags & IORESOURCE_ASSIGNED)) {
                printk_err("ERROR: %s %02x not allocated\n",
                        dev_path(dev), resource->index);
                return; 
        }       

-----Original Message-----
From: ebiederman at lnxi.com [mailto:ebiederman at lnxi.com] 
Sent: Monday, October 18, 2004 2:22 PM
To: YhLu
Cc: Ronald G. Minnich; Li-Ta Lo; 'LinuxBIOS'
Subject: Re: FYI: Merge in progress...

YhLu <YhLu at tyan.com> writes:

> It should config.g bug, there is some un consistent.

It could be. I should have fixed this Saturday, but...

Looking Hmm...

> For dev33 and it sibling
> should be .bus = &_dev4.link[2],
> instead of 
> 	.bus = &_dev4.link[0],

Good catch.  We do not yet have the link of the parent device set
properly in the .bus field.  It is always hard coded to 0 :(

Ok the fix looks easy, committed.

Hopefully I have not missed any other cases...

Eric





More information about the coreboot mailing list