added more PCI bus related info for graphicscard: needed for logging update.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15116 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2005-11-24 15:05:41 +00:00
parent ddb22696d9
commit e33ce45ebf

View File

@ -39,8 +39,6 @@
# define B_USER_CLONEABLE_AREA 0
#endif
#define DEVICE_FORMAT "%04X_%04X_%02X%02X%02X" // apsed
/* Tell the kernel what revision of the driver API we support */
int32 api_version = B_CUR_DRIVER_API_VERSION; // apsed, was 2, is 2 in R5
@ -699,6 +697,9 @@ static status_t open_hook (const char* name, uint32 flags, void** cookie) {
si->vendor_id = di->pcii.vendor_id;
si->device_id = di->pcii.device_id;
si->revision = di->pcii.revision;
si->bus = di->pcii.bus;
si->device = di->pcii.device;
si->function = di->pcii.function;
/* map the device */
result = map_device(di);