xref: /haiku/src/apps/devices/DevicePCI.h (revision 3be9edf8da228afd9fec0390f408c964766122aa)
1 /*
2  * Copyright 2008-2009 Haiku Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Pieter Panman
7  */
8 #ifndef DEVICEPCI_H
9 #define DEVICEPCI_H
10 
11 
12 #include "Device.h"
13 
14 
15 class DevicePCI : public Device {
16 public:
17 						DevicePCI(Device* parent);
18 	virtual				~DevicePCI();
19 	virtual Attributes	GetBusAttributes();
20 	virtual BString		GetBusStrings();
21 	virtual void		InitFromAttributes();
22 
23 	virtual BString		GetBusTabName()
24 							{ return "PCI Information"; }
25 
26 private:
27 	uint16				fClassBaseId;
28 	uint16				fClassSubId;
29 	uint16				fClassApiId;
30 	uint16				fVendorId;
31 	uint16				fDeviceId;
32 	uint16				fSubsystemVendorId;
33 	uint16				fSubSystemId;
34 };
35 
36 #endif /* DEVICEPCI_H */
37