Re: pciehp - Problems with ExpressCard hotplug

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kenji Kaneshige
Date: Tuesday, November 9, 2010 - 1:17 am

(2010/11/06 4:11), Mike DeKoker wrote:

(snip.)



I guess the following code in setup-bus.c skips your device
whose class code is undefined.

static void __dev_sort_resources(struct pci_dev *dev,
                                  struct resource_list *head)
{
         u16 class = dev->class >> 8;

         /* Don't touch classless devices or host bridges or ioapics.  */
         if (class == PCI_CLASS_NOT_DEFINED || class == PCI_CLASS_BRIDGE_HOST)
                 return;

Can you try with the above two lines commented out?

Regards,
Kenji Kaneshige

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pciehp - Problems with ExpressCard hotplug, Mike DeKoker, (Wed Nov 3, 7:10 pm)
Re: pciehp - Problems with ExpressCard hotplug, Rafael J. Wysocki, (Wed Nov 3, 10:06 pm)
Re: pciehp - Problems with ExpressCard hotplug, Kenji Kaneshige, (Thu Nov 4, 10:57 pm)
RE: pciehp - Problems with ExpressCard hotplug, Mike DeKoker, (Fri Nov 5, 12:11 pm)
Re: pciehp - Problems with ExpressCard hotplug, Kenji Kaneshige, (Tue Nov 9, 1:17 am)