revert between 56095 -> 55830 in arch
[AROS.git] / rom / hidds / pci / pcitool / saveinfo.h
blob960a3fab7f7dc17bc82863359eb1d5ead57eb505
1 /*
2 Copyright (C) 2003-2009, The AROS Development Team.
3 $Id$
4 */
6 #ifndef SAVEINFO_H_
7 #define SAVEINFO_H_
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <proto/dos.h>
14 /*Memory for the PCI Information*/
15 struct PCIInfo
17 char Driver_name[200];
18 char Direct_bus[200];
19 char Hardware_info[200];
20 char IOBase[11];
21 char Description[200];
22 char Vendor_name[200];
23 char Product_name[200];
24 char Subsystem[200];
25 char Owner[200];
26 char VendorID[10];
27 char ProductID[10];
28 char RevisionID[10];
29 char Class[200];
30 char Subclass[200];
31 char Interface[200];
32 char ROM_Base[10];
33 char ROM_Size[10];
34 char IRQ[10];
35 char Status[200];
36 char Rangelist_0[200];
37 char Rangelist_1[200];
38 char Rangelist_2[200];
39 char Rangelist_3[200];
40 char Rangelist_4[200];
41 char Rangelist_5[200];
45 /*Save only the displayed PCI Information to RAM Disk*/
46 void SaveToDisk(struct PCIInfo *DeviceInfo);
48 /*Just Open a new Textfile in RAM Disk. No writing yet*/
49 BOOL OpenPCIInfoFile(void);
51 void ClosePCIInfoFile(void);
52 /*Closes the file opened by OpenPCIInfoFile*/
54 /*Writes a set of PCI Information to the Opened file*/
55 void WriteToPCIInfoFile(struct PCIInfo *DeviceInfo);
57 void CleanUpPCIToolInfo(struct PCIInfo *DeviceInfo);
60 /*File Handle*/
61 extern BPTR DeviceInfoFile;
63 #endif /*SAVEINFO_H_*/