[32] | 1 | /* $Id: osspci.h,v 1.1.1.1 2003/07/02 13:56:58 eleph Exp $ */
|
---|
| 2 | /*
|
---|
| 3 | * Header for OSS PCI definitions
|
---|
| 4 | *
|
---|
| 5 | * (C) 2000-2002 InnoTek Systemberatung GmbH
|
---|
| 6 | * (C) 2000-2001 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
| 7 | *
|
---|
| 8 | * This program is free software; you can redistribute it and/or
|
---|
| 9 | * modify it under the terms of the GNU General Public License as
|
---|
| 10 | * published by the Free Software Foundation; either version 2 of
|
---|
| 11 | * the License, or (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
|
---|
| 19 | * License along with this program; if not, write to the Free
|
---|
| 20 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
---|
| 21 | * USA.
|
---|
| 22 | *
|
---|
| 23 | */
|
---|
| 24 |
|
---|
| 25 | #ifndef __OSSPCI_H__
|
---|
| 26 | #define __OSSPCI_H__
|
---|
| 27 |
|
---|
| 28 | #ifdef __cplusplus
|
---|
| 29 | extern "C" {
|
---|
| 30 | #endif
|
---|
| 31 |
|
---|
[679] | 32 | VOID RMCreateDriverU32(VOID);
|
---|
| 33 | VOID RMCreateAdapterU32(ULONG DevID, ULONG *phAdapter, USHORT BusDevFunc, ULONG CardNum);
|
---|
[63] | 34 | BOOL RMRequestIO(ULONG ulIOBase, ULONG ulIOLength);
|
---|
| 35 | BOOL RMRequestMem(ULONG ulMemBase, ULONG ulMemLength);
|
---|
[545] | 36 | BOOL RMRequestIRQ(ULONG ulIrq, BOOL fShared, ULONG *phRes);
|
---|
| 37 | BOOL RMDeallocateIRQ(ULONG hRes);
|
---|
[679] | 38 | VOID RMDeallocRes(VOID);
|
---|
| 39 | VOID RMSetHandles(ULONG hAdapter);
|
---|
[32] | 40 |
|
---|
| 41 | #ifdef __cplusplus
|
---|
| 42 | }
|
---|
| 43 | #endif
|
---|
| 44 |
|
---|
| 45 | #endif
|
---|