1 /* 1 /* 2 * Header for Bestcomm ATA task driver 2 * Header for Bestcomm ATA task driver 3 * 3 * 4 * 4 * 5 * Copyright (C) 2006 Freescale - John Rigby 5 * Copyright (C) 2006 Freescale - John Rigby 6 * Copyright (C) 2006 Sylvain Munaut <tnt@246t 6 * Copyright (C) 2006 Sylvain Munaut <tnt@246tNt.com> 7 * 7 * 8 * This file is licensed under the terms of th 8 * This file is licensed under the terms of the GNU General Public License 9 * version 2. This program is licensed "as is" 9 * version 2. This program is licensed "as is" without any warranty of any 10 * kind, whether express or implied. 10 * kind, whether express or implied. 11 */ 11 */ 12 12 13 #ifndef __BESTCOMM_ATA_H__ 13 #ifndef __BESTCOMM_ATA_H__ 14 #define __BESTCOMM_ATA_H__ 14 #define __BESTCOMM_ATA_H__ 15 15 16 16 17 struct bcom_ata_bd { 17 struct bcom_ata_bd { 18 u32 status; 18 u32 status; 19 u32 src_pa; 19 u32 src_pa; 20 u32 dst_pa; 20 u32 dst_pa; 21 }; 21 }; 22 22 23 extern struct bcom_task * bcom_ata_init(int qu 23 extern struct bcom_task * bcom_ata_init(int queue_len, int maxbufsize); 24 extern void bcom_ata_rx_prepare(struct bcom_ta 24 extern void bcom_ata_rx_prepare(struct bcom_task *tsk); 25 extern void bcom_ata_tx_prepare(struct bcom_ta 25 extern void bcom_ata_tx_prepare(struct bcom_task *tsk); 26 extern void bcom_ata_reset_bd(struct bcom_task 26 extern void bcom_ata_reset_bd(struct bcom_task *tsk); 27 extern void bcom_ata_release(struct bcom_task 27 extern void bcom_ata_release(struct bcom_task *tsk); 28 28 29 #endif /* __BESTCOMM_ATA_H__ */ 29 #endif /* __BESTCOMM_ATA_H__ */ 30 30 31 31
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.