Main Page | Class List | File List | Class Members | File Members | Related Pages

include/otto/control.h

Go to the documentation of this file.
00001 // $Id: control.h,v 1.1 2004/07/07 22:07:11 alpha Exp $ 00002 // 00003 // Copyright (c) 1999-2004 Darius Rad 00004 // 00005 // This file is part of the OpenOtto project. 00006 // 00007 // OpenOtto 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 00016 00017 00018 #ifndef _OTTO_CONTROL_H 00019 #define _OTTO_CONTROL_H 00020 00021 00027 #define OTTO_IOCBUSINIT 0x0001 00028 00031 #define OTTO_IOCSDATARATE 0x0002 00032 00036 #define OTTO_IOCGDATARATE 0x0003 00037 00042 #define OTTO_IOCSBUSADR 0x0004 00043 00048 #define OTTO_IOCGBUSADR 0x0005 00049 00054 #define OTTO_IOCGSELECTFD 0x0006 00055 00059 #define OTTO_IOCGIFCOUNT 0x0007 00060 00061 00063 union otto_control_data 00064 { 00065 struct 00066 { 00067 enum 00068 { 00069 OTTO_INIT_AUTO = 0, 00070 OTTO_INIT_FAST = 1, 00071 OTTO_INIT_SLOW = 2, 00072 } 00073 type; 00074 int addr; 00075 } 00076 init; 00077 00078 int rate; 00079 int addr; 00080 int fd; 00081 }; 00082 00083 00084 #endif

Generated on Thu Jul 8 19:26:04 2004 for OpenOtto by doxygen 1.3.7