x86: fix bogus KERN_ALERT on oops
[wrt350n-kernel.git] / arch / powerpc / sysdev / bestcomm / ata.h
blob10982769c46514957d605b06bdb15ac75efa3c5d
1 /*
2 * Header for Bestcomm ATA task driver
5 * Copyright (C) 2006 Freescale - John Rigby
6 * Copyright (C) 2006 Sylvain Munaut <tnt@246tNt.com>
8 * This file is licensed under the terms of the GNU General Public License
9 * version 2. This program is licensed "as is" without any warranty of any
10 * kind, whether express or implied.
13 #ifndef __BESTCOMM_ATA_H__
14 #define __BESTCOMM_ATA_H__
17 struct bcom_ata_bd {
18 u32 status;
19 u32 dst_pa;
20 u32 src_pa;
23 extern struct bcom_task *
24 bcom_ata_init(int queue_len, int maxbufsize);
26 extern void
27 bcom_ata_rx_prepare(struct bcom_task *tsk);
29 extern void
30 bcom_ata_tx_prepare(struct bcom_task *tsk);
32 extern void
33 bcom_ata_reset_bd(struct bcom_task *tsk);
36 #endif /* __BESTCOMM_ATA_H__ */