On Fri, Oct 7, 2011 at 10:18:16 -0700, Jeremy Huddleston wrote:
> +/**
> + * Map the legacy memory space for the PCI domain containing \c dev.
> + *
> + * \param dev Device whose memory region is to be mapped.
> + * \param base Base address of the range to be mapped.
> + * \param size Size of the range to be mapped.
> + * \param write_enable Map for writing (non-zero).
Still write_enable here.
> + * \param addr Location to store the mapped address.
> + *
> + * \returns
> + * Zero on success or an \c errno value on failure.
> + */
> +int
> +pci_device_map_legacy(struct pci_device *dev, pciaddr_t base, pciaddr_t size,
> + unsigned map_flags, void **addr)
> +{
Cheers,
Julien
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel