summaryrefslogtreecommitdiffstats
path: root/sys/dev/dec/mcclock.c
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* Introduce a boot environment variable (clock_compat_osf1) which cangallatin2001-11-031-12/+2
| | | | | | | | | be set to 1 to make FreeBSD and Tru64 coexist peacefully on a dual boot system and not clobber each other's year in the TOY clock. (Tru64 uses an offset 52 years higher than one would expect) Obtained from: NetBSD MFC After: 1 week
* Fix a botch where we wrote the year register with > 2 digits (andmjacob2001-03-091-9/+6
| | | | | | then knocked the extra digits off). Blegh. Update the comment and adjustment method reading the chip clock year register to note that anything less than 70 means we're past the year 2000.
* Ho, ho, ho... this clock chip is not y2k compliant. Motorolamjacob2000-01-041-1/+14
| | | | | | has it blacklisted. Silly us for not planning ahead. Tsk. Anyway- a 10 year window patch is probably sufficient to still detect nonsense in the clock but allow us to roll past the year 2000.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Calibrate the processor cycle counter instead of believing what thedfr1999-05-181-1/+27
| | | | firmware says.
* Major changes to the generic device framework for FreeBSD/alpha:dfr1998-06-141-41/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Eliminate bus_t and make it possible for all devices to have attached children. * Support dynamically extendable interfaces for drivers to replace both the function pointers in driver_t and bus_ops_t (which has been removed entirely. Two system defined interfaces have been defined, 'device' which is mandatory for all devices and 'bus' which is recommended for all devices which support attached children. * In addition, the alpha port defines two simple interfaces 'clock' for attaching various real time clocks to the system and 'mcclock' for the many different variations of mc146818 clocks which can be attached to different alpha platforms. This eliminates two more function pointer tables in favour of the generic method dispatch system provided by the device framework. Future device interfaces may include: * cdev and bdev interfaces for devfs to use in replacement for specfs and the fixed interfaces bdevsw and cdevsw. * scsi interface to replace struct scsi_adapter (not sure how this works in CAM but I imagine there is something similar there). * various tailored interfaces for different bus types such as pci, isa, pccard etc.
* Add initial support for the FreeBSD/alpha kernel. This is very much adfr1998-06-101-0/+141
work in progress and has never booted a real machine. Initial development and testing was done using SimOS (see http://simos.stanford.edu for details). On the SimOS simulator, this port successfully reaches single-user mode and has been tested with loads as high as one copy of /bin/ls :-). Obtained from: partly from NetBSD/alpha
OpenPOWER on IntegriCloud