The branch main has been updated by christos:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=1b82d425ec0ac155765bcdf706040534309e9c94

commit 1b82d425ec0ac155765bcdf706040534309e9c94
Author:     Christos Margiolis <chris...@freebsd.org>
AuthorDate: 2024-04-18 20:35:26 +0000
Commit:     Christos Margiolis <chris...@freebsd.org>
CommitDate: 2024-04-18 20:35:41 +0000

    sound: Remove obsolete DV_F_* flags
    
    The ISA sound drivers that used them are retired.
    
    Last reference of DV_F_DRQ_MASK and DV_F_DUAL_DMA:
    716924cb4832ea0a440daf09913a06f3166f243e ("Retire snd_sbc ISA sound card
    driver")
    
    Last reference of DV_F_DEV_MASK and DV_F_DEV_SHIFT:
    5126e5eeeb5e07ceef3c809452a8c9f508b2d4d1 ("Retire snd_mss ISA sound card
    driver")
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Reviewed by:    markj, emaste
    Differential Revision:  https://reviews.freebsd.org/D44858
---
 sys/dev/sound/pcm/sound.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index b72348ccf486..fe310a3be3d6 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -341,14 +341,6 @@ void snd_mtxassert(void *m);
 int sndstat_register(device_t dev, char *str);
 int sndstat_unregister(device_t dev);
 
-/* usage of flags in device config entry (config file) */
-#define DV_F_DRQ_MASK  0x00000007      /* mask for secondary drq */
-#define        DV_F_DUAL_DMA   0x00000010      /* set to use secondary dma 
channel */
-
-/* ought to be made obsolete but still used by mss */
-#define        DV_F_DEV_MASK   0x0000ff00      /* force device type/class */
-#define        DV_F_DEV_SHIFT  8               /* force device type/class */
-
 /*
  * this is rather kludgey- we need to duplicate these struct def'ns from 
sound.c
  * so that the macro versions of pcm_{,un}lock can dereference them.

Reply via email to