summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2005-01-15 16:56:22 +0000
committercognet <cognet@FreeBSD.org>2005-01-15 16:56:22 +0000
commitf34de841db15968fb56f1529d8e297c4081e4748 (patch)
treee9eacaec3ee2a60ebb387478fd0336321079960c /sys
parentd96d350b95d6635028e73403c8d68aea8e67d3de (diff)
downloadFreeBSD-src-f34de841db15968fb56f1529d8e297c4081e4748.zip
FreeBSD-src-f34de841db15968fb56f1529d8e297c4081e4748.tar.gz
Add the i80321 watchdog.
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/conf/IQ312441
-rw-r--r--sys/arm/xscale/i80321/files.i803211
-rw-r--r--sys/arm/xscale/i80321/iq80321.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/conf/IQ31244 b/sys/arm/conf/IQ31244
index 105d4f9..412a4bb 100644
--- a/sys/arm/conf/IQ31244
+++ b/sys/arm/conf/IQ31244
@@ -77,6 +77,7 @@ device uart
device pci
device ata
device pty
+device iopwdog # I80321 Watchdog
#options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
# output. Adds ~128k to driver.
#options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
diff --git a/sys/arm/xscale/i80321/files.i80321 b/sys/arm/xscale/i80321/files.i80321
index 9a5cd12..c10a961 100644
--- a/sys/arm/xscale/i80321/files.i80321
+++ b/sys/arm/xscale/i80321/files.i80321
@@ -6,3 +6,4 @@ arm/xscale/i80321/i80321_mcu.c standard
arm/xscale/i80321/i80321_pci.c optional pci
arm/xscale/i80321/i80321_space.c standard
arm/xscale/i80321/i80321_timer.c standard
+arm/xscale/i80321/i80321_wdog.c optional iopwdog
diff --git a/sys/arm/xscale/i80321/iq80321.c b/sys/arm/xscale/i80321/iq80321.c
index bd202e0..aef3aac 100644
--- a/sys/arm/xscale/i80321/iq80321.c
+++ b/sys/arm/xscale/i80321/iq80321.c
@@ -253,6 +253,7 @@ iq80321_attach(device_t dev)
busno = 0;
device_add_child(dev, "obio", 0);
device_add_child(dev, "itimer", 0);
+ device_add_child(dev, "iopwdog", 0);
device_add_child(dev, "pcib", busno);
bus_generic_probe(dev);
bus_generic_attach(dev);
OpenPOWER on IntegriCloud