How does user specify PCI board instance for configuration?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If a user needs to provide configuration information specific to a
particular PCI board, how does one have the user identify the board?

When my driver's probe() function is called, it appears that
pdev->slot is null, so that's not useful.

Should I use pci_name(pdev) as the identifier for the user to specify
when configuring a particular board?

Is pci_name(pdev) associated with a phisical slot guaranteed to be
unchaged after a reboot?  After other PCI cards are added/removed?

-- 
Grant Edwards               grant.b.edwards        Yow! ... he dominates the
                                  at               DECADENT SUBWAY SCENE.
                              gmail.com            

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux