mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
Kernel: Try to detect Sound Blaster 16 before creating an instance
We shouldn't create a SB16 instance without checking if the Sound Blaster 16 card is actually installed in the system.
This commit is contained in:
parent
5bb35da784
commit
f2faf11d61
3 changed files with 16 additions and 2 deletions
|
@ -268,7 +268,7 @@ void init_stage2(void*)
|
|||
new FullDevice;
|
||||
new RandomDevice;
|
||||
PTYMultiplexer::initialize();
|
||||
new SB16;
|
||||
SB16::detect();
|
||||
VMWareBackdoor::the(); // don't wait until first mouse packet
|
||||
|
||||
bool force_pio = kernel_command_line().contains("force_pio");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue