0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef __BESTCOMM_ATA_H__
0014 #define __BESTCOMM_ATA_H__
0015
0016
0017 struct bcom_ata_bd {
0018 u32 status;
0019 u32 src_pa;
0020 u32 dst_pa;
0021 };
0022
0023 extern struct bcom_task * bcom_ata_init(int queue_len, int maxbufsize);
0024 extern void bcom_ata_rx_prepare(struct bcom_task *tsk);
0025 extern void bcom_ata_tx_prepare(struct bcom_task *tsk);
0026 extern void bcom_ata_reset_bd(struct bcom_task *tsk);
0027 extern void bcom_ata_release(struct bcom_task *tsk);
0028
0029 #endif
0030