hi,
i am trying to write a driver for a custom pci test card we have designed.
it has large MMIO requirements as described by its PCI BAR registers
(BAR1 and BAR2 both needs 512MBytes).
in my attach() ddi_regs_map_setup() works ok on the first BAR but fails
on  the second one.
i can see that ddi_dev_regsize() does report both BARs at 512MB, also i
can see that the parent bridge windows are set correctly to encompass
that space. the device is a 32bit addressable device and has been mapped
below 4GB as expected.
so it looks like pci resources were allocated to that device, but i
can't fully map it. i am not sure where it is failing. i have tried
using dtrace but didn't really find anything about the problem. all i
can tell is that the request is going all the way to the rootnex mapping
function..

what is the a maximum size a given device can allocate?

thx
-jfs
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to