[PATCH] w1: Adds a sysfs entry (w1_master_search) that allows you to disable/enable...
[linux-2.6/verdex.git] / include / linux / atm_nicstar.h
blob577b79f33e8d6d85ba62ff3a942a5b2d6ad1c65c
1 /******************************************************************************
3 * atm_nicstar.h
5 * Driver-specific declarations for use by NICSTAR driver specific utils.
7 * Author: Rui Prior
9 * (C) INESC 1998
11 ******************************************************************************/
14 #ifndef LINUX_ATM_NICSTAR_H
15 #define LINUX_ATM_NICSTAR_H
17 /* Note: non-kernel programs including this file must also include
18 * sys/types.h for struct timeval
21 #include <linux/atmapi.h>
22 #include <linux/atmioc.h>
24 #define NS_GETPSTAT _IOWR('a',ATMIOC_SARPRV+1,struct atmif_sioc)
25 /* get pool statistics */
26 #define NS_SETBUFLEV _IOW('a',ATMIOC_SARPRV+2,struct atmif_sioc)
27 /* set buffer level markers */
28 #define NS_ADJBUFLEV _IO('a',ATMIOC_SARPRV+3)
29 /* adjust buffer level */
31 typedef struct buf_nr
33 unsigned min;
34 unsigned init;
35 unsigned max;
36 }buf_nr;
39 typedef struct pool_levels
41 int buftype;
42 int count; /* (At least for now) only used in NS_GETPSTAT */
43 buf_nr level;
44 } pool_levels;
46 /* type must be one of the following: */
47 #define NS_BUFTYPE_SMALL 1
48 #define NS_BUFTYPE_LARGE 2
49 #define NS_BUFTYPE_HUGE 3
50 #define NS_BUFTYPE_IOVEC 4
53 #endif /* LINUX_ATM_NICSTAR_H */