diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/linux/atm_nicstar.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/linux/atm_nicstar.h')
-rw-r--r-- | include/linux/atm_nicstar.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/include/linux/atm_nicstar.h b/include/linux/atm_nicstar.h new file mode 100644 index 000000000000..577b79f33e8d --- /dev/null +++ b/include/linux/atm_nicstar.h | |||
@@ -0,0 +1,53 @@ | |||
1 | /****************************************************************************** | ||
2 | * | ||
3 | * atm_nicstar.h | ||
4 | * | ||
5 | * Driver-specific declarations for use by NICSTAR driver specific utils. | ||
6 | * | ||
7 | * Author: Rui Prior | ||
8 | * | ||
9 | * (C) INESC 1998 | ||
10 | * | ||
11 | ******************************************************************************/ | ||
12 | |||
13 | |||
14 | #ifndef LINUX_ATM_NICSTAR_H | ||
15 | #define LINUX_ATM_NICSTAR_H | ||
16 | |||
17 | /* Note: non-kernel programs including this file must also include | ||
18 | * sys/types.h for struct timeval | ||
19 | */ | ||
20 | |||
21 | #include <linux/atmapi.h> | ||
22 | #include <linux/atmioc.h> | ||
23 | |||
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 */ | ||
30 | |||
31 | typedef struct buf_nr | ||
32 | { | ||
33 | unsigned min; | ||
34 | unsigned init; | ||
35 | unsigned max; | ||
36 | }buf_nr; | ||
37 | |||
38 | |||
39 | typedef struct pool_levels | ||
40 | { | ||
41 | int buftype; | ||
42 | int count; /* (At least for now) only used in NS_GETPSTAT */ | ||
43 | buf_nr level; | ||
44 | } pool_levels; | ||
45 | |||
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 | ||
51 | |||
52 | |||
53 | #endif /* LINUX_ATM_NICSTAR_H */ | ||