Skip to contentSkip to conversation

Reservation of resources shared by two PCI devices

DISCUSSION Krzysztof Halasa 1 participant 1 message Aug 16, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I have a PCI card with a bridge and two devices behind it. There is a custom circuitry connected to the first PCI device, controlling operation of both devices.

The IO and possibly MMIO resources used for controlling the custom circuitry (part of device #0 registers) are not used for other purposes. Access is controlled by a spin lock.

What's the best way to handle IO/MMIO resource reservations of this shared part of device #0?

Should I switch away from pci_register_driver()?

Signature · 1 line
Krzysztof Halasa