RXCHAN
switch (type & (TXCHAN|RXCHAN)) {
case RXCHAN:
switch (chan->chan_type & (RXCHAN|TXCHAN)) {
case RXCHAN:
if (chan->chan_type == RXCHAN)
if (chan->chan_type == RXCHAN) {
ring = pasemi_dma_alloc_chan(RXCHAN, sizeof(struct pasemi_mac_rxring),