bus_managers/pci: set legacy device name to driver name
Change-Id: Idf14da8f105ab7ed6ac78053acb344045d97306a Reviewed-on: https://review.haiku-os.org/c/haiku/+/3388 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
33db0930ac
commit
1aef13ad6d
@ -147,6 +147,7 @@ pci_reserve_device(uchar virtualBus, uchar device, uchar function,
|
||||
device_attr drvAttrs[] = {
|
||||
// info about device
|
||||
{B_DEVICE_BUS, B_STRING_TYPE, {string: "legacy_driver"}},
|
||||
{B_DEVICE_PRETTY_NAME, B_STRING_TYPE, {string: driverName}},
|
||||
{"legacy_driver", B_STRING_TYPE, {string: driverName}},
|
||||
{"legacy_driver_cookie", B_UINT64_TYPE, {ui64: (uint64)nodeCookie}},
|
||||
{NULL}
|
||||
|
Loading…
Reference in New Issue
Block a user