pci_map_single return value

David Boutcher boutcher at us.ibm.com
Thu Dec 11 02:27:04 EST 2003


Because 0 is a valid TCE in the current ppc64 implementation :-)  Though
actually Dave E made some changes lately that may make that not true any
more, I'm not sure.

owner-linuxppc64-dev at lists.linuxppc.org wrote on 12/10/2003 08:51:41 AM:
> Why is it that pci_map_single returns NO_TCE on failure on PPC64 and 0
> on failure on IA64? Which one is correct? If NO_TCE is correct, then why
> is it defined in a ppc64 include? This makes it difficult for device
> drivers to actually check for it.

Dave Boutcher
IBM Linux Technology Center


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list