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) {
|
while (t->bfe_name != NULL) {
|
||||||
if (pci_get_vendor(dev) == t->bfe_vid &&
|
if (pci_get_vendor(dev) == t->bfe_vid &&
|
||||||
pci_get_device(dev) == t->bfe_did) {
|
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);
|
return (BUS_PROBE_DEFAULT);
|
||||||
}
|
}
|
||||||
t++;
|
t++;
|
||||||
|
Loading…
Reference in New Issue
Block a user