please help: detecting the type of pci slot ?

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

 



Hi,

I have a 64-bit pci card which requires a pci-x slot to operate properly.

When I place the card into a 64-bit PCI-66 slot (not pci-x, 3.3v only),
the driver's probe function crashes the kernel when it attempts to call
pci_read_config_dword.

The card manufacturer says that only use in pci-x (64-bit pc98/c24, both
5v and 3.3v) slots is supported.

Is there anything I can call from within the probe function to determine
the type of PCI slot, so I can return an error before calling
pci_read_config_dword and thus avoid crashing the kernel ?

Thanks,
Gabriel

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux