1*607ca46eSDavid Howells /* atmioc.h - ranges for ATM-related ioctl numbers */ 2*607ca46eSDavid Howells 3*607ca46eSDavid Howells /* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */ 4*607ca46eSDavid Howells 5*607ca46eSDavid Howells 6*607ca46eSDavid Howells /* 7*607ca46eSDavid Howells * See http://icawww1.epfl.ch/linux-atm/magic.html for the complete list of 8*607ca46eSDavid Howells * "magic" ioctl numbers. 9*607ca46eSDavid Howells */ 10*607ca46eSDavid Howells 11*607ca46eSDavid Howells 12*607ca46eSDavid Howells #ifndef _LINUX_ATMIOC_H 13*607ca46eSDavid Howells #define _LINUX_ATMIOC_H 14*607ca46eSDavid Howells 15*607ca46eSDavid Howells #include <asm/ioctl.h> 16*607ca46eSDavid Howells /* everybody including atmioc.h will also need _IO{,R,W,WR} */ 17*607ca46eSDavid Howells 18*607ca46eSDavid Howells #define ATMIOC_PHYCOM 0x00 /* PHY device common ioctls, globally unique */ 19*607ca46eSDavid Howells #define ATMIOC_PHYCOM_END 0x0f 20*607ca46eSDavid Howells #define ATMIOC_PHYTYP 0x10 /* PHY dev type ioctls, unique per PHY type */ 21*607ca46eSDavid Howells #define ATMIOC_PHYTYP_END 0x2f 22*607ca46eSDavid Howells #define ATMIOC_PHYPRV 0x30 /* PHY dev private ioctls, unique per driver */ 23*607ca46eSDavid Howells #define ATMIOC_PHYPRV_END 0x4f 24*607ca46eSDavid Howells #define ATMIOC_SARCOM 0x50 /* SAR device common ioctls, globally unique */ 25*607ca46eSDavid Howells #define ATMIOC_SARCOM_END 0x50 26*607ca46eSDavid Howells #define ATMIOC_SARPRV 0x60 /* SAR dev private ioctls, unique per driver */ 27*607ca46eSDavid Howells #define ATMIOC_SARPRV_END 0x7f 28*607ca46eSDavid Howells #define ATMIOC_ITF 0x80 /* Interface ioctls, globally unique */ 29*607ca46eSDavid Howells #define ATMIOC_ITF_END 0x8f 30*607ca46eSDavid Howells #define ATMIOC_BACKEND 0x90 /* ATM generic backend ioctls, u. per backend */ 31*607ca46eSDavid Howells #define ATMIOC_BACKEND_END 0xaf 32*607ca46eSDavid Howells /* 0xb0-0xbf: Reserved for future use */ 33*607ca46eSDavid Howells #define ATMIOC_AREQUIPA 0xc0 /* Application requested IP over ATM, glob. u. */ 34*607ca46eSDavid Howells #define ATMIOC_LANE 0xd0 /* LAN Emulation, globally unique */ 35*607ca46eSDavid Howells #define ATMIOC_MPOA 0xd8 /* MPOA, globally unique */ 36*607ca46eSDavid Howells #define ATMIOC_CLIP 0xe0 /* Classical IP over ATM control, globally u. */ 37*607ca46eSDavid Howells #define ATMIOC_CLIP_END 0xef 38*607ca46eSDavid Howells #define ATMIOC_SPECIAL 0xf0 /* Special-purpose controls, globally unique */ 39*607ca46eSDavid Howells #define ATMIOC_SPECIAL_END 0xff 40*607ca46eSDavid Howells 41*607ca46eSDavid Howells #endif 42