.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SN_PCI_DMA_SUPPORTED" "" "06 October 2005" "" "" .SH NAME sn_pci_dma_supported \- test a DMA mask .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int sn_pci_dma_supported (struct pci_dev * \fIhwdev\fB, u64 \fImask\fB); \fR .SH "ARGUMENTS" .TP \fB\fIhwdev\fB\fR device to test .TP \fB\fImask\fB\fR DMA mask to test .SH "DESCRIPTION" .PP Return whether the given PCI device DMA address mask can be supported properly. For example, if your device can only drive the low 24-bits during PCI bus mastering, then you would pass 0x00ffffff as the mask to this function. Of course, SN only supports devices that have 32 or more address bits when using the PMU. We could theoretically support <32 bit cards using direct mapping, but we'll worry about that later--on the off chance that someone actually wants to use such a card.