Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175296150
D60449.id189002.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
773 B
Referenced Files
None
Subscribers
None
D60449.id189002.diff
View Options
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -1380,14 +1380,20 @@
*/
efiblk_memdisk_preload();
- devinit();
-
/*
* Parse command line arguments before any operation that may configure
* the network so DHCP overrides are available on the first attempt.
*/
howto = parse_args(argc, argv);
+ /*
+ * We want to initialize after giving loader args a chance to elect a
+ * different console than what we autodetect, but we need efinet to
+ * have initialized before netbooting an initmd has any chance of
+ * working.
+ */
+ devinit();
+
/*
* If we didn't find a ipxe image, and we're netbooting, try to
* download an initmd that the dhcp server tells us about.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 10, 6:22 PM (52 m, 56 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40450115
Default Alt Text
D60449.id189002.diff (773 B)
Attached To
Mode
D60449: loader.efi: devinit() just after parsing args instead
Attached
Detach File
Event Timeline
Log In to Comment