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 class DevicePCI : public Device { 15 public: 16 DevicePCI(Device* parent); 17 virtual ~DevicePCI(); 18 virtual Attributes GetBusAttributes(); 19 virtual BString GetBusStrings(); 20 virtual void InitFromAttributes(); 21 virtual BString GetBusTabName(); 22 23 private: 24 uint16 fClassBaseId; 25 uint16 fClassSubId; 26 uint16 fClassApiId; 27 uint16 fVendorId; 28 uint16 fDeviceId; 29 uint16 fSubsystemVendorId; 30 uint16 fSubSystemId; 31 }; 32 33 #endif /* DEVICEPCI_H */ 34