From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/powerpc/sysdev/bestcomm/ata.h | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ANDROID_3.4.5/arch/powerpc/sysdev/bestcomm/ata.h (limited to 'ANDROID_3.4.5/arch/powerpc/sysdev/bestcomm/ata.h') diff --git a/ANDROID_3.4.5/arch/powerpc/sysdev/bestcomm/ata.h b/ANDROID_3.4.5/arch/powerpc/sysdev/bestcomm/ata.h new file mode 100644 index 00000000..0b237181 --- /dev/null +++ b/ANDROID_3.4.5/arch/powerpc/sysdev/bestcomm/ata.h @@ -0,0 +1,30 @@ +/* + * Header for Bestcomm ATA task driver + * + * + * Copyright (C) 2006 Freescale - John Rigby + * Copyright (C) 2006 Sylvain Munaut + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +#ifndef __BESTCOMM_ATA_H__ +#define __BESTCOMM_ATA_H__ + + +struct bcom_ata_bd { + u32 status; + u32 src_pa; + u32 dst_pa; +}; + +extern struct bcom_task * bcom_ata_init(int queue_len, int maxbufsize); +extern void bcom_ata_rx_prepare(struct bcom_task *tsk); +extern void bcom_ata_tx_prepare(struct bcom_task *tsk); +extern void bcom_ata_reset_bd(struct bcom_task *tsk); +extern void bcom_ata_release(struct bcom_task *tsk); + +#endif /* __BESTCOMM_ATA_H__ */ + -- cgit