mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
PR:19945
Reviewed by:tanimura Fix boot panic introduced by newmidi code.
This commit is contained in:
parent
ef36241a4a
commit
307754cbe2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63461
@ -324,7 +324,8 @@ gusc_attach(device_t dev)
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
bus_setup_intr(dev, scp->irq, INTR_TYPE_TTY, gusc_intr, scp, &ih);
|
||||
if (scp->irq != NULL)
|
||||
bus_setup_intr(dev, scp->irq, INTR_TYPE_TTY, gusc_intr, scp, &ih);
|
||||
bus_generic_attach(dev);
|
||||
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user