Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145594208
D34653.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
512 B
Referenced Files
None
Subscribers
None
D34653.diff
View Options
diff --git a/sys/compat/linuxkpi/common/src/linux_pci.c b/sys/compat/linuxkpi/common/src/linux_pci.c
--- a/sys/compat/linuxkpi/common/src/linux_pci.c
+++ b/sys/compat/linuxkpi/common/src/linux_pci.c
@@ -654,7 +654,8 @@
spin_lock(&pci_lock);
list_add(&pdrv->node, &pci_drivers);
spin_unlock(&pci_lock);
- pdrv->bsddriver.name = pdrv->name;
+ if (pdrv->bsddriver.name == NULL)
+ pdrv->bsddriver.name = pdrv->name;
pdrv->bsddriver.methods = pci_methods;
pdrv->bsddriver.size = sizeof(struct pci_dev);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 22, 11:01 PM (20 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28945488
Default Alt Text
D34653.diff (512 B)
Attached To
Mode
D34653: LinuxKPI: allow bsddriver name to be set for PCI
Attached
Detach File
Event Timeline
Log In to Comment