Skip to content
Snippets Groups Projects
Commit 0f96234a authored by Chris Rees's avatar Chris Rees
Browse files

audio/oss: build fix following src/1c7d15b

parent e10f683b
No related branches found
No related tags found
No related merge requests found
--- setup/FreeBSD/oss/build/bsdpci.inc.orig 2014-02-14 22:59:55.000000000 +0000
+++ setup/FreeBSD/oss/build/bsdpci.inc 2021-12-18 15:09:33.546812000 +0000
@@ -92,8 +92,6 @@
osdev = device_list[i];
if (osdev->dip == dev)
{
- if (device_get_state(dev) == DS_BUSY)
- device_unbusy(dev);
if (!DRIVER_DETACH (osdev))
{
printf (DRIVER_NICK ": Unloading busy device\n");
--- setup/FreeBSD/oss/build/bsdvirtual.inc.orig 2021-12-18 15:12:47.018175000 +0000
+++ setup/FreeBSD/oss/build/bsdvirtual.inc 2021-12-18 15:11:06.335823000 +0000
@@ -34,8 +34,6 @@
{
osdev = device_list[i];
- if (osdev->dip != NULL && device_get_state(osdev->dip) == DS_BUSY)
- device_unbusy(osdev->dip);
if (!DRIVER_DETACH (osdev))
{
printf (DRIVER_NICK ": Unloading busy device\n");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment