Commit Graph

1220 Commits

Author SHA1 Message Date
mycroft
2cccf3bd4a Update callers of isapnp_devmatch(). 1999-03-22 09:44:12 +00:00
cgd
37d2c204a7 Moved to arch/i386/include/isa_machdep.h,v 1999-03-19 05:02:11 +00:00
cgd
d00106ee06 if you pull in isavar.h, you don't need isa_machdep.h. 1999-03-19 04:58:45 +00:00
cgd
d6d5f13551 Moved to arch/i386/include/isapnp_machdep.h,v 1999-03-19 03:18:54 +00:00
explorer
3ebb419571 Update to slightly altered rnd_attach_source() api 1999-02-28 17:08:05 +00:00
mycroft
0dbf3ab3ca Use DMAMODE_DEMAND. Not tested, but presumed to work. 1999-02-22 02:56:13 +00:00
mycroft
4449a6ef39 Kill vestiges of isa_establish(). 1999-02-19 16:15:06 +00:00
christos
21485fd1d6 noise reduction. 1999-02-13 16:45:28 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
drochner
b2c4a7b933 use mi data conversion functions, simplify inittodr() and resettodr() 1999-02-07 17:29:26 +00:00
drochner
0f145938b4 put all century related code into an own function clock_expandyear(),
touch the CMOS century byte only if the CMOS contents passes a
checksum test which qualifies it as "known compliant"
1999-02-07 16:18:00 +00:00
drochner
bce7f71843 sort the dependencies between terminal devices a bit and add consistency
checks to catch conflicting devices at compile time
1999-02-06 18:46:21 +00:00
christos
0c8f3a4f31 Don't use obsolete sgtty crap. 1999-02-02 13:00:19 +00:00
christos
d102972c3a Add a missing _C_LABEL(). Now an ELF kernel builds (if one removes the
-z flag from the ld line, in the Makefile)
1999-01-26 14:28:05 +00:00
christos
12bbb63ed7 move the assembly functions to locore.s and make the variables used by
them non-static
1999-01-26 14:27:08 +00:00
drochner
4120bf17c4 rename the autoconfiguration related symbols to opms* to avoid namespace
collisions with an mi wscons-capable pms driver
1999-01-23 15:07:10 +00:00
drochner
6ad1646ffb provide backwards-compatible busmouse drivers
(technically identical to lms.c/mms.c)
1999-01-23 15:05:39 +00:00
drochner
45ecb32709 make the busmice work with wscons 1999-01-23 15:03:50 +00:00
drochner
67589898ca Be more cautious about writing to the CMOS century byte. Update it only
if it contained a "19" before. There are machines (in particular PS/2
descendants) which have a checksum at this place.
Introduce a patchable kernel variable "rtc_update_century" to modify
the behaviour: 1="always update" (for testing and if one wants to set
the clock back) or -1="never touch".
1999-01-18 10:50:23 +00:00
augustss
332d7c138f Avoid arithmetic on `void *' since that's not ANSI C. 1999-01-08 18:10:35 +00:00
mycroft
b28c62f40d Run async_update() even if something is select()ing. 1998-12-12 17:29:39 +00:00
thorpej
1e7ec4d50e Use _C_LABEL() to generate C labels in assembly code, don't prepend an
underscore (_) directly.  (XXX Except in a few places, where traditional
CPP's macro evaluation semantics break things, so we test for __ELF__
directly in those places).
1998-12-01 04:30:59 +00:00
mrg
db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
mellon
3cc58a69cc Fix a signed/unsigned thinko (this is cgd's fix) 1998-11-05 15:59:00 +00:00
hubertf
e45fa5e3bb add version for libkeycap 1998-11-01 17:14:27 +00:00
hubertf
eccf9ccdd8 s|share/misc|share/pcvt| 1998-11-01 16:37:06 +00:00
hubertf
bc70dd6bc5 Cleanup includes-installation, ACK'd by Matthias Drochner. 1998-10-28 14:14:45 +00:00
hubertf
c884556c3d Prevent loop caused by custom includes-target 1998-10-28 01:46:46 +00:00
hubertf
7e430fc3fd Install programs & files for pcvt. 1998-10-26 21:01:28 +00:00
perry
3a86ff1e67 Fix a stupid bug -- an if that was supposed to be nested but wasn't. 1998-10-13 15:14:13 +00:00
perry
37cb095897 1) Change "dectohexdec" and "hexdectodec" to "bintobcd" and
"bcdtobin". The old names were bogus.
2) Make the code grok the NVRAM's century field. This code is, to say
the least, poorly tested. It should make NetBSD play nicer with other
OSes that care about the century field, however.
1998-10-12 15:41:11 +00:00
perry
e7340f0ed3 Fix a potential Y2K bug on some clock chips: we were loading invalid
BCD into the year field of the RTC in years > 1999. It seems to have
worked just fine on my old broken down test machine, but apparently
some others actually get hurt. Suckage. We now make sure that we load
valid BCD.

Other ports should check for variations on this theme.
1998-10-06 05:52:23 +00:00
thorpej
49a45fed9b If the memory range of the machine is such that no bouncing is necessary,
or if the device is capable of 32-bit DMA (specified by ISABUS_DMA_32BIT),
clear the map's bounce threshold at map creation time.
1998-10-03 21:53:04 +00:00
thorpej
55df520938 Can't use -traditional; __RENAME() breaks due to a limitation in the
"traditional" C preprocessor.
1998-09-29 08:28:20 +00:00
thorpej
5a5380b92b This program is icky, and will die soon. So, don't put a whole lot of
effort into it, but make it build again by casting the second arg to signal().
1998-09-29 08:27:36 +00:00
thorpej
005af97f9e Use "print-objdir". 1998-09-29 08:16:11 +00:00
christos
50909bd6d9 Assign copyright to TNF. 1998-09-05 15:28:08 +00:00
christos
2d876282c2 Assign copyright to TNF. 1998-09-05 15:28:06 +00:00
lukem
c9db84ecc9 distclean is a synonym for cleandir 1998-09-05 15:15:14 +00:00
lukem
cdf68a7fa3 a minor hack i've had locally for ages: if PCVT_CAPS_IS_CTRL is
defined, make the capslock key act like another control key.
1998-08-30 09:59:47 +00:00
thorpej
daa8ad1747 Add some braces to make egcs happy. 1998-08-25 04:56:01 +00:00
veego
ff2c3adddc Add some braces to stop the new egcs warnings. 1998-08-20 19:55:06 +00:00
mycroft
c9a799adf6 Assign my copyrights to TNF. 1998-08-15 04:57:50 +00:00
mycroft
cc8a78e783 Assign my copyrights to TNF. 1998-08-15 04:42:42 +00:00
mycroft
6d3d8a1350 Make copyright notices with my name consistent. 1998-08-15 03:02:31 +00:00
thorpej
330d142f16 vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t 1998-08-13 21:36:02 +00:00
rvb
d0153a96fe The sense of the pccons_is_console test is backwards 1998-08-13 18:00:05 +00:00
augustss
d8582601c5 Make panic message a little more explicit. 1998-08-05 16:34:36 +00:00
perry
54f97ab9d1 bzero->memset, bcopy->memcpy 1998-08-05 02:28:26 +00:00
perry
bf0943278c Fix a problem first noticed by a user with a screwed up real time
clock past the End of Time.

If time_t is 32 bits, then the "End of Time" is Jan 18/19 2038
(depending on time zone).

This code copes with RTC's past the end of time if time_t is an int32
or less. It just forces the time back to 2037.  This will let users
with screwed up clocks to at least boot and function long enough to
set their clocks to something sane.

This kludge is conditioned on an
	if (sizeof(time_t) <= sizeof(int32_t))
which will automatically optimize the code out once we switch time_t
to a 64 bit quantity, which should happen well before 2037.

Patch based on code from Michael C. Richardson, with help from
Allen Briggs who pointed out a fencepost error.
1998-08-05 01:21:54 +00:00