Author: adrian Date: Fri Apr 5 00:22:17 2013 New Revision: 249118 URL: http://svnweb.freebsd.org/changeset/base/249118
Log: * Add AR9330/AR9331 to the soc identifier enum; * Set it when probing the CPU type. Modified: head/sys/mips/atheros/ar71xx_setup.c head/sys/mips/atheros/ar71xx_setup.h Modified: head/sys/mips/atheros/ar71xx_setup.c ============================================================================== --- head/sys/mips/atheros/ar71xx_setup.c Fri Apr 5 00:21:17 2013 (r249117) +++ head/sys/mips/atheros/ar71xx_setup.c Fri Apr 5 00:22:17 2013 (r249118) @@ -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; Modified: head/sys/mips/atheros/ar71xx_setup.h ============================================================================== --- head/sys/mips/atheros/ar71xx_setup.h Fri Apr 5 00:21:17 2013 (r249117) +++ head/sys/mips/atheros/ar71xx_setup.h Fri Apr 5 00:22:17 2013 (r249118) @@ -38,7 +38,9 @@ enum ar71xx_soc_type { AR71XX_SOC_AR7241, AR71XX_SOC_AR7242, AR71XX_SOC_AR9130, - AR71XX_SOC_AR9132 + AR71XX_SOC_AR9132, + AR71XX_SOC_AR9330, + AR71XX_SOC_AR9331, }; extern enum ar71xx_soc_type ar71xx_soc; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"