[BACK]Return to ata.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / powerpc / sysdev / bestcomm

File: [Development] / linux-2.6-xfs / arch / powerpc / sysdev / bestcomm / ata.h (download)

Revision 1.1, Mon Dec 3 16:26:37 2007 UTC (9 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD

Merge up to 2.6.24-rc3
Merge of 2.6.x-xfs-melb:linux:30183b by kenmcd.

/*
 * 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__ */