Use device_set_desc() instead of device_set_desc_copy() as we don't
manipulate the verbose description of a device.
This commit is contained in:
parent
a73a40561c
commit
a823cbc6f7
@ -177,7 +177,7 @@ bfe_probe(device_t dev)
|
||||
while (t->bfe_name != NULL) {
|
||||
if (pci_get_vendor(dev) == t->bfe_vid &&
|
||||
pci_get_device(dev) == t->bfe_did) {
|
||||
device_set_desc_copy(dev, t->bfe_name);
|
||||
device_set_desc(dev, t->bfe_name);
|
||||
return (BUS_PROBE_DEFAULT);
|
||||
}
|
||||
t++;
|
||||
|
Loading…
Reference in New Issue
Block a user