• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) International Business Machines  Corp., 2001
3  * Copyright (c) 2013 Oracle and/or its affiliates. All Rights Reserved.
4  *
5  * This program is free software;  you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY;  without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
13  * the GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program;  if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #define PCI_DEVICE_NAME		"ltp_tpci"
21 #define MAX_DEVFN		256
22 #define MAX_BUS			256
23 
24 enum PCI_TCASES {
25 	PCI_DISABLE = 0,
26 	PCI_ENABLE,
27 	FIND_BUS,
28 	FIND_DEVICE,
29 	FIND_CLASS,
30 	FIND_SUBSYS,
31 	BUS_SCAN,
32 	SLOT_SCAN,
33 	ENABLE_BRIDGES,
34 	BUS_ADD_DEVICES,
35 	MATCH_DEVICE,
36 	REG_DRIVER,
37 	UNREG_DRIVER,
38 	PCI_RESOURCES,
39 	SAVE_STATE,
40 	RESTORE_STATE,
41 	FIND_CAP,
42 	PCI_EXP_CAP_CONFIG,
43 	PCI_TCASES_NUM,
44 };
45