[lkml]   [2007]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: pci probe
    Manu Abraham wrote:
    > Hi,
    > I do have a device that's a multifunction device. Eventhough a MFD, it
    > just has one Interrupt which is shared by by a Configuration space for
    > each function. ie, INTA is shared between them functions.
    > In such a case, i am wondering, (since pci_probe returns a pointer to
    > one PCI function alone and i need to use both the functions in one
    > module alone rather than using a module for each function and that the
    > functions are quite similar for them to be used in different modules,
    > such that a separate probe/ISR etc is used) whether using pci_get_device
    > would be a better alternative to do manual searching for the functions
    > in such a case.

    Just figured out that pci_get_subsys() does work in a better. Looking at
    kernel sources all i find is just one single user of pci_get_subsys()

    building the code around pci_get_subsys(), does this have any negative
    impact ?

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-05-15 15:19    [W:0.020 / U:9.692 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site