x86: fix bogus KERN_ALERT on oops
[wrt350n-kernel.git] / arch / powerpc / sysdev / bestcomm / gen_bd.h
blob5b6fa803c6aa697729c9aca9d61ae32241718d8e
1 /*
2 * Header for Bestcomm General Buffer Descriptor tasks driver
5 * Copyright (C) 2007 Sylvain Munaut <tnt@246tNt.com>
6 * Copyright (C) 2006 AppSpec Computer Technologies Corp.
7 * Jeff Gibbons <jeff.gibbons@appspec.com>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License version 2 as published
11 * by the Free Software Foundation.
16 #ifndef __BESTCOMM_GEN_BD_H__
17 #define __BESTCOMM_GEN_BD_H__
19 struct bcom_gen_bd {
20 u32 status;
21 u32 buf_pa;
25 extern struct bcom_task *
26 bcom_gen_bd_rx_init(int queue_len, phys_addr_t fifo,
27 int initiator, int ipr, int maxbufsize);
29 extern int
30 bcom_gen_bd_rx_reset(struct bcom_task *tsk);
32 extern void
33 bcom_gen_bd_rx_release(struct bcom_task *tsk);
36 extern struct bcom_task *
37 bcom_gen_bd_tx_init(int queue_len, phys_addr_t fifo,
38 int initiator, int ipr);
40 extern int
41 bcom_gen_bd_tx_reset(struct bcom_task *tsk);
43 extern void
44 bcom_gen_bd_tx_release(struct bcom_task *tsk);
47 #endif /* __BESTCOMM_GEN_BD_H__ */