00001 00010 /**************************************************************************** 00011 * 00012 * Axis 2 PCI Linux Kernel driver 00013 * File: axis_driver.h 00014 * Version: 1.0 00015 * Copyright 2004 Heber Limited (http://www.heber.co.uk) 00016 * 00017 * This program is free software; you can redistribute it and/or modify it 00018 * under the terms of the GNU General Public License as published by the 00019 * Free Software Foundation; either version 2, or (at your option) any 00020 * later version. 00021 * 00022 * This program is distributed in the hope that it will be useful, but 00023 * WITHOUT ANY WARRANTY; without even the implied warranty of 00024 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00025 * General Public License for more details. 00026 * 00027 * You should have received a copy of the GNU General Public License along 00028 * with this program; if not, write to the Free Software Foundation, Inc., 00029 * 675 Mass Ave, Cambridge, MA 02139, USA. 00030 * 00031 * Changes: 00032 * 00033 ****************************************************************************/ 00034 #ifndef AXIS_DRIVER_H 00035 #define AXIS_DRIVER_H 00036 00037 #ifndef AXIS_HARDWARE_H 00038 #include "axis_hardware.h" 00039 #endif //AXIS_HARDWARE_H 00040 00041 00042 extern int axis_activity_thread(void * data); 00051 typedef enum { 00052 sram=0x0, 00053 inputs=0x1, 00054 dipswitches=0x2, 00055 outputs=0x3, 00056 rtc=0x4, 00057 serial_router=0x5, 00058 spi=0x6, 00059 serial_number=0x7, 00060 crypto=0x8, 00061 smart_card=0x9 00062 } axis_sub_device_type; 00063 00065 int add_proc_exports(struct axis_pci_device_entry* device); 00066 00068 void remove_proc_exports(struct axis_pci_device_entry* device); 00069 00070 #endif //AXIS_DRIVER_H 00071
1.3.6