xref: /openbsd/sys/dev/ic/ax88190var.h (revision d874cce4)
1*d874cce4Sray /*	$OpenBSD: ax88190var.h,v 1.2 2008/06/26 05:42:15 ray Exp $	*/
2c5defd1dSaaron /*	$NetBSD$	*/
3c5defd1dSaaron 
4c5defd1dSaaron /*-
5c5defd1dSaaron  * Copyright (c) 2001 The NetBSD Foundation, Inc.
6c5defd1dSaaron  * All rights reserved.
7c5defd1dSaaron  *
8c5defd1dSaaron  * This code is derived from software contributed to The NetBSD Foundation
9c5defd1dSaaron  * by Enami Tsugutomo.
10c5defd1dSaaron  *
11c5defd1dSaaron  * Redistribution and use in source and binary forms, with or without
12c5defd1dSaaron  * modification, are permitted provided that the following conditions
13c5defd1dSaaron  * are met:
14c5defd1dSaaron  * 1. Redistributions of source code must retain the above copyright
15c5defd1dSaaron  *    notice, this list of conditions and the following disclaimer.
16c5defd1dSaaron  * 2. Redistributions in binary form must reproduce the above copyright
17c5defd1dSaaron  *    notice, this list of conditions and the following disclaimer in the
18c5defd1dSaaron  *    documentation and/or other materials provided with the distribution.
19c5defd1dSaaron  *
20c5defd1dSaaron  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
21c5defd1dSaaron  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22c5defd1dSaaron  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23c5defd1dSaaron  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
24c5defd1dSaaron  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25c5defd1dSaaron  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26c5defd1dSaaron  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27c5defd1dSaaron  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28c5defd1dSaaron  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29c5defd1dSaaron  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30c5defd1dSaaron  * POSSIBILITY OF SUCH DAMAGE.
31c5defd1dSaaron  */
32c5defd1dSaaron 
33c5defd1dSaaron #ifndef _DEV_IC_AX88190VAR_H_
34c5defd1dSaaron #define	_DEV_IC_AX88190VAR_H_
35c5defd1dSaaron 
36c5defd1dSaaron #ifdef _KERNEL
37c5defd1dSaaron void	ax88190_media_init(struct dp8390_softc *);
38c5defd1dSaaron void	ax88190_media_fini(struct dp8390_softc *);
39c5defd1dSaaron 
40c5defd1dSaaron int	ax88190_mediachange(struct dp8390_softc *);
41c5defd1dSaaron void	ax88190_mediastatus(struct dp8390_softc *, struct ifmediareq *ifmr);
42c5defd1dSaaron void	ax88190_init_card(struct dp8390_softc *);
43c5defd1dSaaron void	ax88190_stop_card(struct dp8390_softc *);
44c5defd1dSaaron #endif /* _KERNEL */
45c5defd1dSaaron 
46c5defd1dSaaron #endif /* _DEV_IC_AX88190VAR_H_ */
47