1112158Sdas/*
2112158Sdas * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3112158Sdas * Copyright (c) 2002-2008 Atheros Communications, Inc.
4112158Sdas *
5112158Sdas * Permission to use, copy, modify, and/or distribute this software for any
6112158Sdas * purpose with or without fee is hereby granted, provided that the above
7112158Sdas * copyright notice and this permission notice appear in all copies.
8112158Sdas *
9112158Sdas * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10112158Sdas * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11112158Sdas * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12112158Sdas * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13112158Sdas * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14112158Sdas * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15112158Sdas * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16112158Sdas *
17112158Sdas * $FreeBSD$
18112158Sdas */
19112158Sdas#include "opt_ah.h"
20112158Sdas
21112158Sdas#ifdef AH_SUPPORT_AR5312
22112158Sdas
23112158Sdas#include "ah.h"
24112158Sdas#include "ah_internal.h"
25112158Sdas
26112158Sdas#include "ar5312/ar5312.h"
27112158Sdas#include "ar5312/ar5312reg.h"
28112158Sdas#include "ar5312/ar5312phy.h"
29165743Sdas
30165743Sdas
31112158Sdas/*
32112158Sdas * Checks to see if an interrupt is pending on our NIC
33112158Sdas *
34112158Sdas * Returns: TRUE    if an interrupt is pending
35112158Sdas *          FALSE   if not
36112158Sdas */
37112158SdasHAL_BOOL
38112158Sdasar5312IsInterruptPending(struct ath_hal *ah)
39112158Sdas{
40112158Sdas        /*
41112158Sdas         * Some platforms trigger our ISR before applying power to
42112158Sdas         * the card.  For the 5312, this is always true.
43112158Sdas         */
44112158Sdas
45112158Sdas	return(AH_TRUE);
46112158Sdas}
47112158Sdas#endif /* AH_SUPPORT_AR5312 */
48112158Sdas