opnsense-src/sys/mips/atheros
Adrian Chadd 0155d8f69d [ar71xx] fix watchdog to work on subsequent SoCs
The AR9341 AHB runs at 225MHz, much faster than the 33MHz of the
AR71xx AHB.  So not only is the math going to do weird things, it
will also wrap rather than being clamped.

So:

* clamp! don't wrap!
* tidy up some debugging
* add an option to throw an NMI rather than reset!

Tested:

* AR9341 SoC (TP-Link TL-WDR4300), patting/not patting the watchdog!
2020-07-15 19:34:19 +00:00
..
ar531x Print CPU informtion later in boot. 2020-05-20 21:16:54 +00:00
apb.c follow-up to r336635, update TAILQ to CK_SLIST for ie_handlers 2018-07-23 15:36:55 +00:00
apbvar.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_bus_space_reversed.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_bus_space_reversed.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_caldata.c [ar71xx] add a very simple early boot driver called "caldata" to commit cross-layer atrocities. 2017-05-23 06:20:06 +00:00
ar71xx_chip.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_chip.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_cpudef.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_ehci.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_fixup.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_fixup.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_gpio.c [ar71xx_gpio] Add AR9341/AR9342 to the list of chips for programming function/output enable. 2019-05-15 16:51:08 +00:00
ar71xx_gpiovar.h The Atheros AR7241 has 20 GPIO pins 2019-03-25 07:48:52 +00:00
ar71xx_macaddr.c [ar71xx] generate a random mac address using eth_gen_addr() 2019-12-28 06:56:21 +00:00
ar71xx_macaddr.h [ar71xx] generate a random mac address using eth_gen_addr() 2019-12-28 06:56:21 +00:00
ar71xx_machdep.c Print CPU informtion later in boot. 2020-05-20 21:16:54 +00:00
ar71xx_ohci.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_pci.c follow-up to r336635, update TAILQ to CK_SLIST for ie_handlers 2018-07-23 15:36:55 +00:00
ar71xx_pci_bus_space.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_pci_bus_space.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_setup.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_setup.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_spi.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar71xx_wdog.c [ar71xx] fix watchdog to work on subsequent SoCs 2020-07-15 19:34:19 +00:00
ar71xxreg.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar91xx_chip.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar91xx_chip.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar91xxreg.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar724x_chip.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar724x_chip.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar724x_pci.c follow-up to r336635, update TAILQ to CK_SLIST for ie_handlers 2018-07-23 15:36:55 +00:00
ar724xreg.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar933x_chip.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar933x_chip.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar933x_uart.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar933xreg.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar934x_chip.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar934x_chip.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
ar934x_nfcreg.h Add the AR934x NAND flash controller register definitions. 2014-03-18 12:18:35 +00:00
ar934xreg.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
files.ar71xx [ar71xx] add a very simple early boot driver called "caldata" to commit cross-layer atrocities. 2017-05-23 06:20:06 +00:00
if_arge.c [atheros] [if_arge] Various fixes to avoid TX stalls and bad sized packets 2020-05-10 03:36:11 +00:00
if_argevar.h [atheros] [if_arge] Various fixes to avoid TX stalls and bad sized packets 2020-05-10 03:36:11 +00:00
pcf2123_rtc.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
pcf2123reg.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
qca953x_chip.c sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
qca953x_chip.h Add initial support for the QCA953x ("Honeybee") from Qualcomm Atheros. 2015-11-16 04:28:00 +00:00
qca953xreg.h Add initial support for the QCA953x ("Honeybee") from Qualcomm Atheros. 2015-11-16 04:28:00 +00:00
qca955x_chip.c sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
qca955x_chip.h Add initial Qualcomm Atheros QCA955x SoC support. 2015-01-05 02:06:26 +00:00
qca955x_pci.c follow-up to r336635, update TAILQ to CK_SLIST for ie_handlers 2018-07-23 15:36:55 +00:00
qca955xreg.h Oops - fix typo. 2015-07-03 07:00:24 +00:00
std.ar71xx Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH. 2012-03-29 02:54:35 +00:00
uart_bus_ar71xx.c add snps IP uart support / genaralize UART 2018-08-19 21:10:21 +00:00
uart_bus_ar933x.c add snps IP uart support / genaralize UART 2018-08-19 21:10:21 +00:00
uart_cpu_ar71xx.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
uart_cpu_ar933x.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
uart_dev_ar933x.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
uart_dev_ar933x.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00