diff options
author | Paul Mackerras <paulus@samba.org> | 2007-10-17 22:31:13 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-17 22:31:13 +1000 |
commit | 4acadb965c4aa587aac29a0a91203c4745d6fb4e (patch) | |
tree | d2284b40a6b8948947890e1ca33ae23545b6e5a7 /arch/powerpc/sysdev/bestcomm/ata.h | |
parent | 5cae826e9e54a31f06b4c11b73f4af29e2ea4932 (diff) | |
parent | b147d93d62d161559a49e0108767122caa4d2576 (diff) |
Merge branch 'for-2.6.24' of git://git.secretlab.ca/git/linux-2.6-mpc52xx into merge
Diffstat (limited to 'arch/powerpc/sysdev/bestcomm/ata.h')
-rw-r--r-- | arch/powerpc/sysdev/bestcomm/ata.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/bestcomm/ata.h b/arch/powerpc/sysdev/bestcomm/ata.h new file mode 100644 index 00000000000..10982769c46 --- /dev/null +++ b/arch/powerpc/sysdev/bestcomm/ata.h @@ -0,0 +1,37 @@ +/* + * Header for Bestcomm ATA task driver + * + * + * Copyright (C) 2006 Freescale - John Rigby + * Copyright (C) 2006 Sylvain Munaut <tnt@246tNt.com> + * + * 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 dst_pa; + u32 src_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); + + +#endif /* __BESTCOMM_ATA_H__ */ + |