audiovia97.h revision 68c47f65208790c466e5e484f2293d3baed71c6a
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Purpose: Definitions for the VIA VT82C686A AC97 driver
*/
/*
* Copyright (C) 4Front Technologies 1996-2009.
*/
#ifndef AUDIOVIA97_H
#define AUDIOVIA97_H
#define VIA97_NAME "audiovia97"
#define VIA97_NUM_PORTC 2
#define VIA97_PLAY_SGD_NUM 0
#define VIA97_REC_SGD_NUM 1
#define VIA_VENDOR_ID 0x1106
#define VIA_82C686 0x3058
#define CODEC_TIMEOUT_COUNT 500
typedef struct _via97_devc_t via97_devc_t;
typedef struct _via97_portc_t via97_portc_t;
struct _via97_portc_t
{
int started;
unsigned nframes;
unsigned pos;
int syncdir;
};
struct _via97_devc_t
{
};
#endif /* AUDIOVIA97_H */