diff options
Diffstat (limited to 'sys/i4b')
-rw-r--r-- | sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c b/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c index 3f83859..89a7c14 100644 --- a/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c +++ b/sys/i4b/layer1/ifpi2/i4b_ifpi2_pci.c @@ -148,6 +148,7 @@ struct l1_softc *ifpi2_scp[IFPI2_MAXUNIT]; /* * AVM PCI Status Latch 0 read only bits */ +#define ASL_RESET 0x01 #define ASL_TIMERRESET 0x04 #define ASL_ENABLE_INT 0x08 @@ -559,6 +560,13 @@ avma1pp2_attach_avma1pp(device_t dev) printf("avma1pp2_attach: 1 HSCX_STAT %x\n", v); #endif + bus_space_write_1(btag, bhandle, STAT0_OFFSET, 0); + DELAY(SEC_DELAY/100); /* 10 ms */ + bus_space_write_1(btag, bhandle, STAT0_OFFSET, ASL_RESET); + DELAY(SEC_DELAY/100); /* 10 ms */ + bus_space_write_1(btag, bhandle, STAT0_OFFSET, 0); + DELAY(SEC_DELAY/100); /* 10 ms */ + bus_space_write_1(btag, bhandle, STAT0_OFFSET, ASL_TIMERRESET); DELAY(SEC_DELAY/100); /* 10 ms */ bus_space_write_1(btag, bhandle, STAT0_OFFSET, ASL_ENABLE_INT); |