aboutsummaryrefslogtreecommitdiffstats
path: root/lib/raid6/algos.c
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2010-03-10 15:44:58 -0500
committerIngo Molnar <mingo@elte.hu>2010-03-11 08:11:26 -0500
commit6f4edd69e40aba4f45bf9558c1e9a950d79ab4e4 (patch)
tree5fe1b45f8e03beb66d9d4b3fdd08705963ea8658 /lib/raid6/algos.c
parent522dba7134d6b2e5821d3457f7941ec34f668e6d (diff)
x86, UV: Clean up UV headers for MMR definitions
Update UV mmr definitions header file. Eliminate definitions no longer needed. Move 2 definitions from tlb_uv.c into the header file where they belong. Signed-off-by: Jack Steiner <steiner@sgi.com> LKML-Reference: <20100310204458.GA28835@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions
b">int flag; } kcapi_flagdef; typedef struct kcapi_carddef { char driver[32]; unsigned int port; unsigned irq; unsigned int membase; int cardnr; } kcapi_carddef; /* new ioctls >= 10 */ #define KCAPI_CMD_TRACE 10 #define KCAPI_CMD_ADDCARD 11 /* OBSOLETE */ /* * flag > 2 => trace also data * flag & 1 => show trace */ #define KCAPI_TRACE_OFF 0 #define KCAPI_TRACE_SHORT_NO_DATA 1 #define KCAPI_TRACE_FULL_NO_DATA 2 #define KCAPI_TRACE_SHORT 3 #define KCAPI_TRACE_FULL 4 #ifdef __KERNEL__ #include <linux/list.h> #include <linux/skbuff.h> #include <linux/workqueue.h> #define KCI_CONTRUP 0 /* arg: struct capi_profile */ #define KCI_CONTRDOWN 1 /* arg: NULL */ struct capi20_appl { u16 applid; capi_register_params rparam; void (*recv_message)(struct capi20_appl *ap, struct sk_buff *skb); void *private; /* internal to kernelcapi.o */ unsigned long nrecvctlpkt; unsigned long nrecvdatapkt; unsigned long nsentctlpkt; unsigned long nsentdatapkt; struct mutex recv_mtx; struct sk_buff_head recv_queue; struct work_struct recv_work; int release_in_progress; /* ugly hack to allow for notification of added/removed * controllers. The Right Way (tm) is known. XXX */ void (*callback) (unsigned int cmd, __u32 contr, void *data); }; u16 capi20_isinstalled(void); u16 capi20_register(struct capi20_appl *ap); u16 capi20_release(struct capi20_appl *ap); u16 capi20_put_message(struct capi20_appl *ap, struct sk_buff *skb); u16 capi20_get_manufacturer(u32 contr, u8 buf[CAPI_MANUFACTURER_LEN]); u16 capi20_get_version(u32 contr, struct capi_version *verp); u16 capi20_get_serial(u32 contr, u8 serial[CAPI_SERIAL_LEN]); u16 capi20_get_profile(u32 contr, struct capi_profile *profp);