Hello all,

 

I'm facing a problem with this build when running on an x86 machine. It
seems that ddi_regs_map_setup()does not return the correct device
address. When offset provided to ddi_get() a wrong data is read from the
device. 

 

The following attribute is provided:

ddi_device_acc_attr_t dev_attr = {

      DDI_DEVICE_ATTR_V0,

      DDI_NEVERSWAP_ACC,

      DDI_STRICTORDER_ACC,

      DDI_FLAGERR_ACC

};

 

When range # 0 is provided to ddi_regs_map_setup  the correct data is
read from the configuration space. The issue is for memory mapped I/O,
on x86 (Sparc works) and OpenSolaris build 110.

 

I would appreciate any advice.

 

Eitan

 

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

Reply via email to