1185377Ssam/*
2185377Ssam * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3185377Ssam * Copyright (c) 2002-2008 Atheros Communications, Inc.
4185377Ssam *
5185377Ssam * Permission to use, copy, modify, and/or distribute this software for any
6185377Ssam * purpose with or without fee is hereby granted, provided that the above
7185377Ssam * copyright notice and this permission notice appear in all copies.
8185377Ssam *
9185377Ssam * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10185377Ssam * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11185377Ssam * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12185377Ssam * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13185377Ssam * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14185377Ssam * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15185377Ssam * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16185377Ssam *
17204644Srpaulo * $FreeBSD$
18185377Ssam */
19185377Ssam#include "opt_ah.h"
20185377Ssam
21185377Ssam#ifdef AH_SUPPORT_AR5312
22185377Ssam
23185377Ssam#include "ah.h"
24185377Ssam#include "ah_internal.h"
25185377Ssam
26185377Ssam#include "ar5312/ar5312.h"
27185377Ssam#include "ar5312/ar5312reg.h"
28185377Ssam#include "ar5312/ar5312phy.h"
29185377Ssam
30185377Ssam
31185377Ssam/*
32185377Ssam * Checks to see if an interrupt is pending on our NIC
33185377Ssam *
34185377Ssam * Returns: TRUE    if an interrupt is pending
35185377Ssam *          FALSE   if not
36185377Ssam */
37185377SsamHAL_BOOL
38185377Ssamar5312IsInterruptPending(struct ath_hal *ah)
39185377Ssam{
40185377Ssam        /*
41185377Ssam         * Some platforms trigger our ISR before applying power to
42185377Ssam         * the card.  For the 5312, this is always true.
43185377Ssam         */
44185377Ssam
45185377Ssam	return(AH_TRUE);
46185377Ssam}
47185377Ssam#endif /* AH_SUPPORT_AR5312 */
48