Re: [2/3] Use insert_resource in pci_claim_resource

From: Russell King (rmk+lkml_at_arm.linux.org.uk)
Date: 03/19/04

  • Next message: Miquel van Smoorenburg: "Re: 2.6.4-mm2"
    Date:	Fri, 19 Mar 2004 09:56:00 +0000
    To: Matthew Wilcox <willy@debian.org>
    
    

    On Thu, Mar 18, 2004 at 11:52:17PM +0000, Matthew Wilcox wrote:
    > On ia64, the parent resources are not necessarily PCI resources and
    > so won't get found by pci_find_parent_resource. Use the shiny new
    > insert_resource() function instead, which I think we would have used
    > here had it been available at the time.

    I think we want to preserve the existing behaviour rather than change
    it. We really do want to request the device resource against its
    immediate parent because that is the way PCI works - if a devices
    resources don't fall within the parent bus resources, we want to
    know about it.

    May I suggest that ia64 sets the parent bus resources appropriately,
    which should relieve this problem (iow, pci_root_bus->resource[0..3])?
    If pci_find_parent_resource() is returning the wrong thing, its likely
    that other users of this function will also be getting the wrong answer.

    -- 
    Russell King
     Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
     maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                     2.6 Serial core
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Miquel van Smoorenburg: "Re: 2.6.4-mm2"

    Relevant Pages

    • Re: 2 AD domains same physical switches and router ?
      ... Currently the remote sites resources live on our parent companies ... I'm not really wanting to have to put static dns entries onto the ... the workstations and user accounts to be part of your Active Directory ...
      (microsoft.public.windows.server.networking)
    • Re: sub domain
      ... In a Windows 2000 network, parent and child domains have an automatic ... resources in both domains using the user accounts in each. ... assign permissions to the Domain Local group. ... I was going to create groups on the>subdomain and add the users from the parent to that domain. ...
      (microsoft.public.win2000.active_directory)
    • Re: 2 AD domains same physical switches and router ?
      ... Currently the remote sites resources live on our parent companies ... workstations and user accounts to be part of your Active Directory ... Instead of the website you're using, try using OEx (Outlook Express ...
      (microsoft.public.windows.server.networking)
    • Re: permanent hooks
      ... If the parent process terminates, the hook is removed by the ... This might waste some resources in the rare case where the parent ...
      (microsoft.public.win32.programmer.ui)
    • Re: Sun using the "I" word
      ... And had Alpha been given the same amount of resources that IA64, ... The Alpha EV7 schedule was driven by the need to fix ...
      (comp.os.vms)