Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 9 | f9daq | 1 | #ifndef __ASKPCI_H__ |
| 2 | #define __ASKPCI_H__ |
||
| 3 | |||
| 4 | //**************************************************************************** |
||
| 5 | // Copyright (C) 2000-2004 ARW Elektronik Germany |
||
| 6 | // |
||
| 7 | // |
||
| 8 | // This program is free software; you can redistribute it and/or modify |
||
| 9 | // it under the terms of the GNU General Public License as published by |
||
| 10 | // the Free Software Foundation; either version 2 of the License, or |
||
| 11 | // (at your option) any later version. |
||
| 12 | // |
||
| 13 | // This program is distributed in the hope that it will be useful, |
||
| 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
| 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
| 16 | // GNU General Public License for more details. |
||
| 17 | // |
||
| 18 | // You should have received a copy of the GNU General Public License |
||
| 19 | // along with this program; if not, write to the Free Software |
||
| 20 | // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
||
| 21 | // |
||
| 22 | // This product is not authorized for use as critical component in |
||
| 23 | // life support systems without the express written approval of |
||
| 24 | // ARW Elektronik Germany. |
||
| 25 | // |
||
| 26 | // Please announce changes and hints to ARW Elektronik |
||
| 27 | // |
||
| 28 | // Maintainer(s): Klaus Hitschler (klaus.hitschler@gmx.de) |
||
| 29 | // |
||
| 30 | //**************************************************************************** |
||
| 31 | |||
| 32 | //**************************************************************************** |
||
| 33 | // |
||
| 34 | // askpci.h - definitions for basic access functions of pci information |
||
| 35 | // |
||
| 36 | // $Log: askpci.h,v $ |
||
| 37 | // Revision 1.6 2004/08/13 19:23:26 klaus |
||
| 38 | // conversion to kernel-version 2.6, released version 3.0 |
||
| 39 | // |
||
| 40 | // Revision 1.5 2002/10/18 21:56:28 klaus |
||
| 41 | // completed functional features, untested |
||
| 42 | // |
||
| 43 | // Revision 1.4 2002/10/18 21:56:28 klaus |
||
| 44 | // completed functional features, untested |
||
| 45 | // |
||
| 46 | // Revision 1.3 2002/10/10 18:57:46 klaus |
||
| 47 | // source beautyfied |
||
| 48 | // |
||
| 49 | //**************************************************************************** |
||
| 50 | |||
| 51 | /*--- INCLUDES -------------------------------------------------------------------------*/ |
||
| 52 | #include <linux/version.h> |
||
| 53 | #include <linux/pci.h> |
||
| 54 | #include <asm/types.h> |
||
| 55 | #include <linux/list.h> |
||
| 56 | |||
| 57 | #include "main.h" |
||
| 58 | |||
| 59 | /*--- TYPEDEFS -------------------------------------------------------------------------*/ |
||
| 60 | |||
| 61 | /*--- PROTOTYPES -------------------------------------------------------------------------*/ |
||
| 62 | int GetPCIConfig(DRIVER_OBJ *drv, u16 device_id, u16 vendor_id, u16 subsys_id, u16 subven_id); |
||
| 63 | void DeletePCIConfig(DRIVER_OBJ *drv); |
||
| 64 | |||
| 65 | #endif /* __ASKPCI_H__ */ |
||
| 66 | |||
| 67 |