Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove clause 3 from Izumi Tsutsui's licenses. | marius | 2009-12-25 | 1 | -3/+1 |
| | | | | Obtained from: NetBSD | ||||
* | Style changes | marius | 2009-12-25 | 1 | -12/+13 |
| | | | | Obtained from: NetBSD (mc146818reg.h) | ||||
* | Export mc146818_def_{read,write}() so the front-end can make use | marius | 2007-06-16 | 1 | -0/+4 |
| | | | | of them if needed. | ||||
* | o mc146818(4): | marius | 2005-05-19 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | - Add locking. - Account for if the MC146818_NO_CENT_ADJUST flag is set we don't need to check wheter year < POSIX_BASE_YEAR. - Add some comments about mapping the day of week from the range the generic clock code uses to the range the chip uses and which I meant to add in the initial version. - Minor clean-up, use __func__ instead of hardcoded function names in error strings. o in the rtc(4) front-end additionally: - Don't leak resources in case mc146818_attach() fails. - Account for ebus(4) defaulting to SYS_RES_MEMORY for the memory resources since ebus.c rev. 1.22. | ||||
* | Start each of the license/copyright comments with /*-, minor shuffle of lines | imp | 2005-01-06 | 1 | -1/+1 |
| | |||||
* | Add a driver back end for MC146818 and compatible clocks based on the | marius | 2004-11-17 | 1 | -0/+60 |
respective NetBSD driver for use with the genclock interface. It's first use will be on sparc64 but it was also tested on alpha with a preliminary patch to switch alpha to use the genclock code together with this driver instead of the respective code in alpha/alpha/clock.c and the rather MD mcclock(4). Using it on i386 and amd64 won't be that hard but some changes/extensions to improve the genclock code in general should be done first, e.g. add locking and make it easier to access the NVRAM usually coupled with RTCs. |