CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2008/12/22 21:12:19
Modified files:
sys/dev/pci : azalia.c azalia.h azalia_codec.c
Log message:
a) a widget's nid is always it's index in the codec's widget list.
b) members of the widget connection list may be invalid.
so,
- change azalia_nid_to_index to azalia_widget_enabled, and have it only
check that the given nid is valid, and that the corresponding widget
is enabled.
- use azalia_widget_enabled every time members of the connection list
are used.