Re: [patch 0/3] New dock patches

Pavel Machek
2006-02-23T21:40:56Z

> > I tested the new version from today... it works okay. It produces some
> > weird messages:
> >
> > acpiphp: Slot [4294967295] registered
> > ACPI Exception (acpi_bus-0072): AE_NOT_FOUND, No context for object
> > [c1d081e8] [20060210]
> > PCI: Found IBM Dock II Cardbus Bridge applying quirk
> > PCI: Found IBM Dock II Cardbus Bridge applying quirk
> > PCI: Transparent bridge - 0000:02:03.0
> > PCI: Bus #0c (-#0f) is hidden behind transparent bridge #02 (-#0b)
> > Please report the result to linux-kernel to fix this permanently
> > PCI: Bus #10 (-#13) is hidden behind transparent bridge #02 (-#0b)
> > Please report the result to linux-kernel to fix this permanently
> > ACPI Exception (acpi_bus-0072): AE_NOT_FOUND, No context for object
> > [c1d02368] [20060210]
> >
> > Could the code be fixed not to start numbering slots from -1?
> >
> > Pavel
>
> Yeah, the problem is that laptops don't implement _SUN, which is used
> for the slot numbering by the existing acpiphp code. So the slot number
> will read -1 if _SUN is missing. I'm not sure if 0 is a valid slot
> number, and I wasn't sure if that would make sense either. I think that
> I'm going to have to provide a separate user space interface to the dock
> anyway, since we now know that it's possible to have a dock station that
> has no pci slots at all.

I'd certainly say that 0 is better slot number then -1... If it is
easy to make it 0 instead of -1, please change it.
Pavel
--
Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted...