diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-09-21 16:06:29 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-09-21 16:06:29 +0000 |
commit | 7f01c9d6df9ead7cf08e5b2dbc317ada575b5350 (patch) | |
tree | dbd168f135b9c5f511ea40d4c05340ff79bc5ed8 /sys/dev/ic/ac97.h | |
parent | 4ecdc1954f4fbdcb4552591930031f4e3396fbe8 (diff) |
Add get_portnum_by_name to ac97 vtbl.
get_portnum_by_name returns the mixer port # given a (class, device,
qualifier) tuple.
Diffstat (limited to 'sys/dev/ic/ac97.h')
-rw-r--r-- | sys/dev/ic/ac97.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/ac97.h b/sys/dev/ic/ac97.h index 018bbe73184..eae4855c0e1 100644 --- a/sys/dev/ic/ac97.h +++ b/sys/dev/ic/ac97.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ac97.h,v 1.1 1999/09/19 06:45:12 csapuntz Exp $ */ +/* $OpenBSD: ac97.h,v 1.2 1999/09/21 16:06:28 csapuntz Exp $ */ /* * Copyright (c) 1999 Constantine Sapuntzakis @@ -49,6 +49,9 @@ struct ac97_codec_if_vtbl { int (*mixer_get_port)(struct ac97_codec_if *addr, mixer_ctrl_t *cp); int (*mixer_set_port)(struct ac97_codec_if *addr, mixer_ctrl_t *cp); int (*query_devinfo)(struct ac97_codec_if *addr, mixer_devinfo_t *cp); + int (*get_portnum_by_name)(struct ac97_codec_if *addr, + char *class, char *device, + char *qualifier); }; struct ac97_codec_if { |