Add the i80321 watchdog.
This commit is contained in:
parent
d96d350b95
commit
f34de841db
@ -77,6 +77,7 @@ device uart
|
|||||||
device pci
|
device pci
|
||||||
device ata
|
device ata
|
||||||
device pty
|
device pty
|
||||||
|
device iopwdog # I80321 Watchdog
|
||||||
#options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
|
#options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
|
||||||
# output. Adds ~128k to driver.
|
# output. Adds ~128k to driver.
|
||||||
#options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
|
#options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
|
||||||
|
@ -6,3 +6,4 @@ arm/xscale/i80321/i80321_mcu.c standard
|
|||||||
arm/xscale/i80321/i80321_pci.c optional pci
|
arm/xscale/i80321/i80321_pci.c optional pci
|
||||||
arm/xscale/i80321/i80321_space.c standard
|
arm/xscale/i80321/i80321_space.c standard
|
||||||
arm/xscale/i80321/i80321_timer.c standard
|
arm/xscale/i80321/i80321_timer.c standard
|
||||||
|
arm/xscale/i80321/i80321_wdog.c optional iopwdog
|
||||||
|
@ -253,6 +253,7 @@ iq80321_attach(device_t dev)
|
|||||||
busno = 0;
|
busno = 0;
|
||||||
device_add_child(dev, "obio", 0);
|
device_add_child(dev, "obio", 0);
|
||||||
device_add_child(dev, "itimer", 0);
|
device_add_child(dev, "itimer", 0);
|
||||||
|
device_add_child(dev, "iopwdog", 0);
|
||||||
device_add_child(dev, "pcib", busno);
|
device_add_child(dev, "pcib", busno);
|
||||||
bus_generic_probe(dev);
|
bus_generic_probe(dev);
|
||||||
bus_generic_attach(dev);
|
bus_generic_attach(dev);
|
||||||
|
Loading…
Reference in New Issue
Block a user