Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115670784
D47220.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
634 B
Referenced Files
None
Subscribers
None
D47220.diff
View Options
diff --git a/sys/dev/pci/ignore_pci.c b/sys/dev/pci/ignore_pci.c
--- a/sys/dev/pci/ignore_pci.c
+++ b/sys/dev/pci/ignore_pci.c
@@ -41,11 +41,12 @@
#include <dev/pci/pcivar.h>
static int ignore_pci_probe(device_t dev);
+static int ignore_pci_attach(device_t dev);
static device_method_t ignore_pci_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, ignore_pci_probe),
- DEVMETHOD(device_attach, bus_generic_attach),
+ DEVMETHOD(device_attach, ignore_pci_attach),
{ 0, 0 }
};
@@ -68,3 +69,9 @@
}
return(ENXIO);
}
+
+static int
+ignore_pci_attach(device_t dev)
+{
+ return (0);
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 9:36 PM (13 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17822181
Default Alt Text
D47220.diff (634 B)
Attached To
Mode
D47220: ignore_pci: Add a proper stub attach routine
Attached
Detach File
Event Timeline
Log In to Comment