Milos RTOS v0.3.4a
Real Time Operating System
ioctl.h
Go to the documentation of this file.
00001 /***************************************************************************
00002  * ioctl.h
00003  * (C) 2010 Ivan Meleca
00004  * Based on original code written by Ruben Meleca
00005  * www.milos.it
00006 
00007 #   This program is free software; you can redistribute it and/or modify
00008 #   it under the terms of the GNU General Public License as published by
00009 #   the Free Software Foundation; either version 2 of the License, or
00010 #   (at your option) any later version.
00011 #
00012 #   This program is distributed in the hope that it will be useful,
00013 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 #   GNU General Public License for more details.
00016 #
00017 #   You should have received a copy of the GNU General Public License
00018 #   along with this program; if not, write to the Free Software
00019 #   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020 
00021 ***************************************************************************/
00022 
00023 /*
00024  * Main file for IOCTL codes definitions.
00025  * New IOCTL codes should be appended at the end.
00026  * IOCTL code from __deviceIOCtl() function is a 32-bit value
00027  * so there are 0xFFFFFFFF values left to declare.
00028  * In many cases a single ioctl code should be reused in different
00029  * drivers.
00030  */
00031 
00032 #define __IOCTL_SETSPEED            0       
00033 #define __IOCTL_GETSPEED            1       
00034 #define __IOCTL_SETBITLENGHT        2       
00035 #define __IOCTL_GETBITLENGHT        3       
00036 #define __IOCTL_SETPARITY           4       
00037 #define __IOCTL_GETPARITY           5       
00038 #define __IOCTL_SETSTOPBITS         6       
00039 #define __IOCTL_GETSTOPBITS         7       
00040 #define __IOCTL_SETFLOWCONTROL      8       
00041 #define __IOCTL_GETFLOWCONTROL      9       
00042 #define __IOCTL_SETRXTIMEOUT        10      
00043 #define __IOCTL_GETRXTIMEOUT        11      
00044 #define __IOCTL_SETTXTIMEOUT        12      
00045 #define __IOCTL_GETTXTIMEOUT        13      
00046 #define __IOCTL_ECHO_ONOFF          14      
00047 #define __IOCTL_ECHO                15      
00048 #define __IOCTL_SETRTS              16      
00049 #define __IOCTL_SETDTR              17      
00050 #define __IOCTL_ASSERT_CS           18      
00051 #define __IOCTL_SET_CS              19      
00052 #define __IOCTL_MEDIA_AVAILABLE     20      
00053 #define __IOCTL_WRITE_PROTECTED     21      
00054 #define __IOCTL_SET_SECTOR          22      
00055 #define __IOCTL_GET_SECTOR          23      
00056 #define __IOCTL_GET_POWER_STATUS    24      
00057 #define __IOCTL_SET_POWER_STATUS    25      
00058 #define __IOCTL_GET_SECTOR_COUNT    26      
00059 #define __IOCTL_GET_BLOCK_SIZE      27      
00060 #define __IOCTL_GET_CARD_TYPE       28      
00061 #define __IOCTL_GET_CSD             29      
00062 #define __IOCTL_GET_CID             30      
00063 #define __IOCTL_GET_OCR             31      
00064 #define __IOCTL_GET_SDSTAT          32      
00065 #define __IOCTL_GET_FIX_FLAG        33      
00066 #define __IOCTL_TERMINAL_OUTPUT     34      
00067 #define __IOCTL_SET_LINE            35      
00068 #define __IOCTL_SET_COLUMN          36      
00069 #define __IOCTL_CLEAR_LINE          37      
00070 #define __IOCTL_CLEAR_SCREEN        38      
00071 #define __IOCTL_SET_REMOTE_ADDR     39      
00072 #define __IOCTL_SET_REMOTE_SUBADDR  40      
00073 #define __IOCTL_SET_OWN_ADDR        41      
00074 #define __IOCTL_SET_MODE            42      
00075 #define __IOCTL_SET_BLOCK           43      
00076 #define __IOCTL_GET_BLOCK           44      
00077 #define __IOCTL_SET_ADDRESS         45      
00078 #define __IOCTL_GET_ADDRESS         46      
00079 #define __IOCTL_SET_PAGE            47      
00080 #define __IOCTL_GET_PAGE            48      
00081 #define __IOCTL_SET_MAX_PAGES       49      
00082 #define __IOCTL_GET_MAX_PAGES       50      
00083 #define __IOCTL_GET_FRAME_SIZE      51      
00084 #define __IOCTL_GET_MAC_ADDRESS     52      
00085 #define __IOCTL_GET_LINK_STATUS     53      
00086 #define __IOCTL_QUERY_LINK_STATUS   54      
00087 #define __IOCTL_SET_RXBUF_SIZE      55      
00088 #define __IOCTL_SET_TXBUF_SIZE      56      
00089 #define __IOCTL_GET_RXBUF_SIZE      57      
00090 #define __IOCTL_GET_TXBUF_SIZE      58      
 All Data Structures Files Functions Variables Typedefs Defines