summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros/ar71xx_setup.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-04-05 00:22:17 +0000
committeradrian <adrian@FreeBSD.org>2013-04-05 00:22:17 +0000
commit2c677dafec0c92cf5f3a89fee74a022d226e4980 (patch)
treeb7cc669f57747c4a2ff546ccec3d686dccaefb2a /sys/mips/atheros/ar71xx_setup.c
parent25cb76a4d89a6379be149d50a18261cbcc7700fb (diff)
downloadFreeBSD-src-2c677dafec0c92cf5f3a89fee74a022d226e4980.zip
FreeBSD-src-2c677dafec0c92cf5f3a89fee74a022d226e4980.tar.gz
* Add AR9330/AR9331 to the soc identifier enum;
* Set it when probing the CPU type.
Diffstat (limited to 'sys/mips/atheros/ar71xx_setup.c')
-rw-r--r--sys/mips/atheros/ar71xx_setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/atheros/ar71xx_setup.c b/sys/mips/atheros/ar71xx_setup.c
index 34a7c80..c79286d 100644
--- a/sys/mips/atheros/ar71xx_setup.c
+++ b/sys/mips/atheros/ar71xx_setup.c
@@ -148,11 +148,13 @@ ar71xx_detect_sys_type(void)
rev = (id & AR933X_REV_ID_REVISION_MASK);
chip = "9330";
ar71xx_cpu_ops = &ar933x_chip_def;
+ ar71xx_soc = AR71XX_SOC_AR9330;
break;
case REV_ID_MAJOR_AR9331:
minor = 1;
rev = (id & AR933X_REV_ID_REVISION_MASK);
chip = "9331";
+ ar71xx_soc = AR71XX_SOC_AR9331;
ar71xx_cpu_ops = &ar933x_chip_def;
break;
OpenPOWER on IntegriCloud