lkml.org 
[lkml]   [2006]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 3/6] PCI legacy I/O port free driver (take2) - Add device_flags into pci_device_id
    From
    Date
    Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> writes:

    > This patch adds the device_flags field into struct pci_device_id to
    > enables pci device drivers to pass per device ID flags to the
    > kernel. This patch also defines the PCI_DEVICE_ID_FLAG_NOIOPOT flag of
    > the device_flags field which is used to tell the kernel whether the
    > driver need to use I/O port regions to handle the device.


    Thanks. I actually meant to use the existing driver_data field for it,
    but on second thought using a new field like you did makes sense
    because we could use that to easily enable MSI and possibly other
    advanced features in the future too.

    Only thing I would double check is if the generation of modules.pcimap
    (that is used by distribution installers to load the right drivers
    automatically) still works correctly.

    -Andi
    -
    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/

    \
     
     \ /
      Last update: 2006-02-21 15:00    [W:4.091 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site