Path: blob/master/arch/powerpc/sysdev/bestcomm/ata.h
10818 views
/*1* Header for Bestcomm ATA task driver2*3*4* Copyright (C) 2006 Freescale - John Rigby5* Copyright (C) 2006 Sylvain Munaut <[email protected]>6*7* This file is licensed under the terms of the GNU General Public License8* version 2. This program is licensed "as is" without any warranty of any9* kind, whether express or implied.10*/1112#ifndef __BESTCOMM_ATA_H__13#define __BESTCOMM_ATA_H__141516struct bcom_ata_bd {17u32 status;18u32 src_pa;19u32 dst_pa;20};2122extern struct bcom_task * bcom_ata_init(int queue_len, int maxbufsize);23extern void bcom_ata_rx_prepare(struct bcom_task *tsk);24extern void bcom_ata_tx_prepare(struct bcom_task *tsk);25extern void bcom_ata_reset_bd(struct bcom_task *tsk);26extern void bcom_ata_release(struct bcom_task *tsk);2728#endif /* __BESTCOMM_ATA_H__ */29303132