Hi All,
I need some small question to be clarified.
when i insert any cardbus card on the Windows-200 using a PCI-PCMCIA
converter(which supports Cardbus also), it does not get any resources
(programming the BARs) untill i install the drivers for the cardbus
card.But if you look at the PCI devices it will get all the resources it
required. SO my doubt was how does the driver assigns the BaseAddress for
the card bus card, without knowing which address(System Memory) details?
So can anyone clarify my doubt as how the resources for the cardbus card
and PCI Devices are assigned by either PCMCIA/PCI drivers?
Regards,
Vishwanath Maram
> Hi All,
I need some small question to be clarified.
when i insert any cardbus card on the Windows-200 using a PCI-PCMCIA
converter(which supports Cardbus also), it does not get any resources
(programming the BARs) untill i install the drivers for the cardbus
card.But if you look at the PCI devices it will get all the resources it
required. SO my doubt was how does the driver assigns the BaseAddress for
the card bus card, without knowing which address(System Memory) details?
The BARs for PCI devices are typically set up by the BIOS before the system
boots but they can also be set up by pci.sys the Bus Driver for PCI devices on
Windows 2000. When a cardbus card is inserted PCMCIA.sys will assign resources
to the cardbus device and set the BAR’s. For a WDM driver this is done before
START_DEVICE pnp IRP is sent to the driver. IIRC for an NDIS driver NDIS.SYS
calls MiniportInitialize when it receives this PNP IRP from the system. Using
the NDIS API’s to get your base address and IRQ will get hold of the
information programmed by PCMCIA.sys
Mike