Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Header for Bestcomm ATA task driver
0003  *
0004  *
0005  * Copyright (C) 2006 Freescale - John Rigby
0006  * Copyright (C) 2006 Sylvain Munaut <tnt@246tNt.com>
0007  *
0008  * This file is licensed under the terms of the GNU General Public License
0009  * version 2. This program is licensed "as is" without any warranty of any
0010  * kind, whether express or implied.
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 /* __BESTCOMM_ATA_H__ */
0030