summaryrefslogtreecommitdiffstats
path: root/uClinux-2.4.20-uc1/include/linux/de2fpga.h
blob: e1f8f1d9ec11ac8a3ff228cd1a024e04a55cb239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 *  linux/include/linux/de2fpga.h -- FPGA driver for the DragonEngine
 *
 *	Copyright (C) 2003 Georges Menie
 *
 *  This file is subject to the terms and conditions of the GNU General Public
 *  License. See the file COPYING in the main directory of this archive for
 *  more details.
 */

#ifndef _DE2FPGA_H
#define _DE2FPGA_H

#define DE2FPGA_PARAMS_GET _IOR('F', 0, struct de2fpga_info)

#define DE2FPGA_MAX_TAGLEN 128

struct de2fpga_info {
	int status;
	int file;
	int part;
	int date;
	int time;
	char buf[DE2FPGA_MAX_TAGLEN];
};

#define DE2FPGA_STS_UNKNOWN 0
#define DE2FPGA_STS_ERROR -1
#define DE2FPGA_STS_OK 1

#endif