[lkml]   [1999]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] pci probing

    > How does a driver define an arbitrary probe order under your scheme?
    > Forcing a driver to depend on the order of the values returned from a
    > pci_find_class() iteration is not always desireable.

    Yes, but are the cases where you need your own order common enough
    to justify complicating the helper functions?

    > And small nit while I was looking at pci-scan: You need to use
    > IORESOURCE_IO not PCI_BASE_ADDRESS_SPACE_IO when testing the flags
    > member of 'struct resource' if I'm not mistaken.

    Both work. The resource->flags field contains both generic resource flags
    (as IORESOURCE_IO) and PCI region flags (lower 4 bits where PCI_BASE_ADDRESS_SPACE_IO

    Have a nice fortnight
    Martin `MJ' Mares <>
    Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
    "Is there a life before death?"

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

     \ /
      Last update: 2005-03-22 13:53    [W:0.067 / U:3.036 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site