Unpack xfer_mask into pio, mwdma and udma masks
void ata_unpack_xfermask(unsigned long xfer_mask, unsigned long * pio_mask, unsigned long * mwdma_mask, unsigned long * udma_mask);
xfer_mask
xfer_mask to unpack
pio_mask
resulting pio_mask
mwdma_mask
resulting mwdma_mask
udma_mask
resulting udma_mask
Unpack xfer_mask into pio_mask, mwdma_mask and udma_mask. Any NULL distination masks will be ignored.
Jeff Garzik
Author.