FreeBSD Bugzilla – Attachment 211029 Details for
Bug 243586
audio/oss: Fix build on 13-CURRENT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch-kernel_OS_FreeBSD_os__freebsd.c.diff (text/plain), 1003 bytes, created by
Masachika ISHIZUKA
on 2020-01-25 12:59:14 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Masachika ISHIZUKA
Created:
2020-01-25 12:59:14 UTC
Size:
1003 bytes
patch
obsolete
>--- /home/ishizuka/patch-kernel_OS_FreeBSD_os__freebsd.c 2020-01-18 03:52:42.000000000 +0900 >+++ patch-kernel_OS_FreeBSD_os__freebsd.c 2020-01-25 21:25:22.149001000 +0900 >@@ -110,15 +110,31 @@ > return 0; > } > >-@@ -659,6 +683,11 @@ soundcard_detach (void) >- >+@@ -656,6 +680,11 @@ soundcard_detach (void) > if (refcount > 0 || open_devices > 0) > return EBUSY; >-+ >+ > + for (i = 0; i < MAX_TMOUTS; ++i) > + callout_drain(&tmouts[i].timer); > + > + mtx_destroy(&oss_timeout_mutex); >- >++ > oss_unload_drivers (); > >+ osdev_delete (core_osdev); >+@@ -920,15 +949,9 @@ oss_poll (struct cdev *bsd_dev, int events, struct thr >+ return ev.revents; >+ } >+ >+-#if defined(D_VERSION_03) && (D_VERSION == D_VERSION_03) >+ static int >+ oss_mmap (struct cdev *bsd_dev, vm_ooffset_t offset, vm_paddr_t * paddr, >+ int nprot, vm_memattr_t *memattr) >+-#else >+-static int >+-oss_mmap (struct cdev *bsd_dev, vm_offset_t offset, vm_paddr_t * paddr, >+- int nprot) >+-#endif >+ { >+ int retval; >+ int dev;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243586
: 211029