summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/nvram.c
AgeCommit message (Collapse)Author
2004-04-24Preliminary switch to an mvme88k bus_space world. Not all drivers have beenMiod Vallat
converted yet, and they rely upon some linear mappings provided by bus_space. In order to not impact performance, almost all the bus_space accesses go through macros and inline functions. This currently restricts us to D16 and D32 access modes, which are selected at compilation time. Since there are no plans to support D8 vme devices in the future, this is acceptable for now. This makes the "len" locator for vme devices go away, and allows to simplify some code which was using the pcctwo device, and will now directly access hardware which is known to exist, rather than wait until the device is attached. While there, try to enforce more interrupt vector number checks, since these changes pointed out that dart(4) had been working correctly so far by sheer luck only.
2004-04-15Since *ramread and *ramwrite are the same code, really, factorize them a laMiod Vallat
memread/memwrite.
2004-01-14Do not fill more than the first three fields of cfdriver structures unlessMiod Vallat
necessary. No functional change.
2003-10-05De-registerMiod Vallat
2003-09-28Be less verbose, unless option DEBUG, when the nvram battery is toast.Miod Vallat
2003-06-02licence cleanupTheo de Raadt
2002-04-28Use the prototypes defined via cdev_decl() macros, instead of rolling ourMiod Vallat
own; thus fix a lot of foo_open(), foo_close() and foo_ioctl() prototypes in the process.
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-05Kill prom stuff duplicates from bugio.[ch].Miod Vallat
2001-12-19Introduce brdtyp and change what cputyp means.Steve Murphree
2001-12-16Revert the mvme88k to 20011212. Recent changes had not been merged correctly,Miod Vallat
and I am fed up with dissecting diffs to put back code that disappeared. This will likely be fixed shortly.
2001-12-13Support for MVME197 completed. Fix SPL defs.Steve Murphree
2001-11-06Kill vm/vm_param.h, move it to uvm/uvm_param.hArtur Grabowski
2001-11-01Change d_mmap in struct cdevsw from:Artur Grabowski
int (*d_mmap) __P((dev_t, int, int)); to: paddr_t (*d_mmap) __P((dev_t, off_t, int)); This allows us to mmap devices past 4GB offsets.
2001-08-26Add prototypes, fix compilation warnings, random style fixes.Miod Vallat
2001-06-14Big cleanup of VM issues:Miod Vallat
o get rid of m88k_foo macros when there is an mi foo macro o remove the ability, for the pmap module, to handle a native mmu page size different from the vm module page size. This allows some optimizations in pmap.c o remove dead stuff from <machine/vmparam.h>
2001-03-09kernel will compile with -Werror. Added intr.hSteve Murphree
2001-03-08Some warning hunting.Miod Vallat
Define new include files for convenience, for use by drivers who can attach either to pcctwo or syscon, or need bug console routines.
2001-01-04Y2K fix for TODC - Submitted by Bob Harbour. Thanks Bob!Steve Murphree
2000-04-11Check usec for >= 1000000, not just > ; as msaitoh@NetBSD.orgPaul Janzen
1999-09-27adding support for MVME188 and MVME197. Plus 32bit if_ie.Steve Murphree
1999-04-11Fix for 25 Mhz.Steve Murphree
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1998-12-15Commit for the first real OpenBSD mvme88k port.Steve Murphree
1997-03-03Third try at importing the mvme88k port. This is a working kernelDale S. Rahn
from nivas. Userland and compiler still need to be worked on. Make certain what directory the import is done from.