1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-05 18:05:16 +00:00

Add a stub AR93xx RF module just to keep the linker happy.

When building AR933x test images, I'd like to only build only the ar9300
HAL.  To do this, it needs to supply an RF linker entry or it won't compile.

Tested:

* AR933x test builds
This commit is contained in:
Adrian Chadd 2013-06-26 04:33:57 +00:00
parent 47ccafd283
commit a778f8a19a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252233

View File

@ -652,3 +652,24 @@ ar9300SetMulticastFilterIndex(struct ath_hal *ah, uint32_t ix)
}
return (AH_TRUE);
}
/*
* RF attach stubs
*/
static HAL_BOOL
rf9330_attach(struct ath_hal *ah, HAL_STATUS *status)
{
(*status) = HAL_EINVAL;
return (AH_FALSE);
}
static HAL_BOOL
rf9330_probe(struct ath_hal *ah)
{
return (AH_FALSE);
}
AH_RF(RF9330, rf9330_probe, rf9330_attach);