Base Address assignment???

I have a kernel driver and an NDIS Miniport driver on
W2K. The Kernel driver uses HalGetBusData and
HalTranslateBusData to get the physical address while
the Miniport NdisMPciAssignResources to get the Phy
addr. But the values are slightly different. Miniport

  • 0xd7000000 Kernel 0xd700000C. On looking into the
    PCI spec and talking with the HW Eng they point out
    the PCI core supports pre-fetchable and 64 bit
    decoder. So it looks like my Kernel driver is correct
    but both the pci command in softIce and NDIS seem to
    ignore the least significant nibble.

Any comments??

Thanks
Daniel


Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

The least significant nibble is used to specify what kind of transfers your
pci card can make. I actually thought it was just the two least significant
bits, but it may be the whole nibble (whole nibble? is that a contradiction
:). Anyway, check in the pci spec to make sure, but you will probably just
mask off the nibble.

andy

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Dan .
Sent: Monday, April 08, 2002 6:11 PM
To: NT Developers Interest List
Subject: [ntdev] Base Address assignment???

I have a kernel driver and an NDIS Miniport driver on
W2K. The Kernel driver uses HalGetBusData and
HalTranslateBusData to get the physical address while
the Miniport NdisMPciAssignResources to get the Phy
addr. But the values are slightly different. Miniport

  • 0xd7000000 Kernel 0xd700000C. On looking into the
    PCI spec and talking with the HW Eng they point out
    the PCI core supports pre-fetchable and 64 bit
    decoder. So it looks like my Kernel driver is correct
    but both the pci command in softIce and NDIS seem to
    ignore the least significant nibble.

Any comments??

Thanks
Daniel


Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


You are currently subscribed to ntdev as: xxxxx@charter.net
To unsubscribe send a blank email to %%email.unsub%%