Return to tartc.c CVS log | Up to [local] / funnyos / arch / testarm / dev |
version 1.5, 2007/11/06 22:57:45 | version 1.6, 2007/11/06 23:02:14 | ||
---|---|---|---|
|
|
||
* Set timer frequency. | * Set timer frequency. | ||
*/ | */ | ||
if (tartcdd == NULL) | if (tartcdd == NULL) | ||
panic("can't calibrate not configured timer\n"); | panic("tartc_sethz: can't calibrate timer: default device not configured\n"); | ||
bus_write_1(tartcdd->td_bushandlep, tartcdd->td_ioaddr + TARTC_OFF_TMRINTRFREQ, hz); | bus_write_1(tartcdd->td_bushandlep, tartcdd->td_ioaddr + TARTC_OFF_TMRINTRFREQ, hz); | ||
} | } |