Page MenuHomeFreeBSD

sound: Retire the version constants
AcceptedPublic

Authored by christos on Mon, Sep 21, 12:11 PM.
Tags
None
Referenced Files
F172900660: D59873.id187327.diff
Mon, Sep 21, 11:05 PM
F172893629: D59873.diff
Mon, Sep 21, 9:58 PM
F172884580: D59873.diff
Mon, Sep 21, 8:22 PM
F172851243: D59873.id187327.diff
Mon, Sep 21, 2:21 PM
Subscribers

Details

Summary

They exist only to fill in MODULE_DEPEND() and MODULE_VERSION(), and
every consumer passed the same value for all three, so the version
range never did anything. Use 1, like the rest of the tree does.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77135
Build 74018: arc lint + arc unit

Event Timeline

christos retitled this revision from sound: Retire the SOUND_*VER macros to sound: Retire the version constants.
sys/dev/sound/pcm/sound.c
745

I guess this could be an issue if folks have out-of-tree modules.

sys/dev/sound/pcm/sound.c
745

Theoretically yes, but I haven't found any out-of-tree driver which depends on sound(4)'s versioning, so if there is any that I missed, I think it's worth just doing a rebuild. sound(4) versions have been unmaintained for long and there is no use for them.

This revision is now accepted and ready to land.Mon, Sep 21, 6:23 PM