PCIe: Xilinx: sdhci-pci: probe() issue

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

 



Hi ,

I have a Verilog image & hardware which provides a PCIe interface with
two BAR’s(BAR0 & BAR1) to host.

BAR0 is having customized UART, GPIO and 1-wire prom modules. These
modules are accessed via customized PCIe interface driver.

BAR1 is having SD Host controller as per SD Specifications. Here
requirement is such that we should use Linux kernel stack drivers
(sdhci.ko & sdhci-pci.ko).


Here the issue is only one driver’s probe() function gets executed
i.e. either customized PCIe driver or sdhci-pci.ko.


Output of lspci:
02:00.0 SD Host controller: PLDA Device 5555


Customized PCIe driver's struct pci_device_id:
static struct pci_device_id pci_id_table[] = {

    { PCI_DEVICE( 0x1556, 0x5555)},

    { 0 },

};


For example: If I load the customized PCIe driver first and then
sdhci-pci, then only customized PCIe driver’s probe() function gets
called.

If I change the order of loading the module i.e. sdhci-pci first then
only sdhci-pci’s probe gets called.


Is there any better solution to use customized PCIe driver for BAR0
and sdhci for BAR1?

I will be happy to provide additional debugging info, just let me know.


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



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux