aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dec
Commit message (Collapse)AuthorAgeFilesLines
* First pass at removing Alpha kernel support.John Baldwin2006-05-114-413/+0
| | | | Notes: svn path=/head/; revision=158458
* Start each of the license/copyright comments with /*-, minor shuffle of linesWarner Losh2005-01-064-4/+4
| | | | Notes: svn path=/head/; revision=139749
* Use __FBSDID().David E. O'Brien2003-08-241-1/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* Introduce a boot environment variable (clock_compat_osf1) which canAndrew Gallatin2001-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 Notes: svn path=/head/; revision=85982
* Fix a botch where we wrote the year register with > 2 digits (andMatt Jacob2001-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. Notes: svn path=/head/; revision=74051
* Add missing $FreeBSD$Peter Wemm2000-05-012-0/+2
| | | | Notes: svn path=/head/; revision=59868
* * Factor out the object system from new-bus so that it can be used byDoug Rabson2000-04-081-0/+2
| | | | | | | | | | | | | non-device code. * Re-implement the method dispatch to improve efficiency. The new system takes about 40ns for a method dispatch on a 300Mhz PII which is only 10ns slower than a direct function call on the same hardware. This changes the new-bus ABI slightly so make sure you re-compile any driver modules which you use. Notes: svn path=/head/; revision=59093
* Ho, ho, ho... this clock chip is not y2k compliant. MotorolaMatt Jacob2000-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. Notes: svn path=/head/; revision=55378
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Calibrate the processor cycle counter instead of believing what theDoug Rabson1999-05-182-1/+28
| | | | | | | firmware says. Notes: svn path=/head/; revision=47309
* Add semicolon to INTERFACE declarationsNicolas Souchu1998-11-081-2/+2
| | | | Notes: svn path=/head/; revision=41012
* [Add missing files from previous commit]Doug Rabson1998-06-141-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major changes to the generic device framework for FreeBSD/alpha: * 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. Notes: svn path=/head/; revision=36973
* Major changes to the generic device framework for FreeBSD/alpha:Doug Rabson1998-06-144-131/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. Notes: svn path=/head/; revision=36972
* Add initial support for the FreeBSD/alpha kernel. This is very much aDoug Rabson1998-06-104-0/+438
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 Notes: svn path=/head/; revision=36849