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