Intel 80310 I/O Processor Chipset AAU Coding Techniques
Intel 80310 I/O Processor Chipset AAU Coding Techniques
Intel 80310 I/O Processor Chipset AAU Coding Techniques
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Intel</strong> ® <strong>80310</strong> I/O <strong>Processor</strong> <strong>Chipset</strong> <strong>AAU</strong> <strong>Coding</strong> <strong>Techniques</strong><strong>AAU</strong> Source Code766 /* */767 /* Parameters: aau_dev: <strong>AAU</strong> device as parameter */768 /* */769 /* Returns: NONE */770 /* */771 /* Notes/Assumptions: */772 /* */773 /* History: Dave Jiang 07/19/01 Initial Creation */774 /*=======================================================================*/775 static void aau_task(void *aau_dev)776 {777 iop310_aau_t *aau = (iop310_aau_t *) aau_dev;778 u8 end_chain = 0;779 sw_aau_t *sw_desc = NULL;780 aau_head_t *listhead = NULL;/* user list */781782 DPRINTK("Entering bottom half\n");783784 if(!list_empty(&aau->hold_q))785 {786 sw_desc = SW_ENTRY(aau->hold_q.next);787 listhead = (aau_head_t *) sw_desc->sgl_head;788 }789 else790 return;791792 /* process while <strong>AAU</strong> chain is complete */793 while(sw_desc && (sw_desc->tail->status & (<strong>AAU</strong>_NOTIFY | <strong>AAU</strong>_INCOMPLETE)))794 {795 /* clean up until end of <strong>AAU</strong> chain */796 while(!end_chain)797 {798 /* IE flag indicate end of chain */799 if(sw_desc->aau_desc.DC & <strong>AAU</strong>_DCR_IE)56 White Paper