Commit Graph

1174 Commits

Author SHA1 Message Date
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
perry
c4fae2a286 NORVEGIAN -> NORWEGIAN 1998-07-27 23:52:49 +00:00
christos
1253bfdf46 Utilize the centralized probe function. 1998-07-23 19:32:42 +00:00
fair
86574cd4f8 patch to add "vi/ve" per PR#4583 1998-07-14 20:29:11 +00:00
jonathan
d275e56dee * defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan
011f2bda08 defopt NS, NSIP. 1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4 defopt ISO TPIP. 1998-07-05 04:37:35 +00:00
jonathan
8db0fcdbf7 defopt CCITT. 1998-07-05 02:12:22 +00:00
jonathan
3751946b97 defopt INET, NETATALK. 1998-07-05 00:51:04 +00:00
jonathan
466e784ee1 defopt DDB. 1998-07-04 22:18:13 +00:00
perry
04b3a6bd4a Tweak more. 1998-06-27 02:55:10 +00:00
perry
9209250625 Oops. fix typo. 1998-06-27 02:51:56 +00:00
perry
39b77211e9 Boost base year to 1995. 1985 was over 12 years ago. 1998-06-27 02:51:18 +00:00
cgd
651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
thorpej
680a3d77f4 Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
all ISA DMA.  Needed by e.g. the SmartCard reader for Sharks.
1998-06-09 01:04:17 +00:00
thorpej
e333272393 Change the ISA DMA API to take an isa_chipset_tag_t rather than
a struct device * corresponding to the ISA bus device.  The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.

These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.
1998-06-09 00:12:18 +00:00
thorpej
98d02e5c94 Provide an isa_chipset_tag_t to the ISA bus device. 1998-06-09 00:12:00 +00:00
thorpej
dde710c6f9 Adjust for changes to the ISA DMA API. 1998-06-09 00:11:34 +00:00
thorpej
ec7941bba2 Nuke __BROKEN_INDIRECT_CONFIG. 1998-06-08 06:45:55 +00:00
thorpej
6d29690288 Implement bounce buffers for mbufs. 1998-06-03 21:50:48 +00:00
thorpej
051c391187 Optimize the ISA DMA map load somewhat; don't traverse the buffer twice.
Instead, just attempt to do a normal load first.  If we exceed the bounce
threshold or the number of segments, then we bounce the transfer.
1998-06-03 06:37:54 +00:00
drochner
8b49b1c0b1 Set console to polling mode before calling cngetc(). 1998-05-03 10:14:19 +00:00
thorpej
aefae6b463 Eliminate some needless indirection through ISA DMA front-end functions. 1998-04-27 00:21:57 +00:00
thorpej
ff701f8abb Garbage-collect the DMA tag's "_cookie" member; it's not used for anything. 1998-04-26 22:37:20 +00:00
drochner
543407f7ee use the mi header (dev/pckbc/pckbdreg.h) 1998-04-17 13:09:23 +00:00
drochner
fa82ea6398 it's mi now (dev/isa) 1998-04-17 13:06:48 +00:00
drochner
46f77d75da Make sysbeep() use dev/isa/pcppi. (sysbeep0 at pcppi?)
Remove findcpuspeed() - it's useless and was commented out for a while.
1998-04-16 20:15:10 +00:00
tv
482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
cgd
0d0f2a0713 kill unnecessary (unused) definition of partab (char partab[];), which
caused a compiler warning with egcs.
1998-04-02 02:46:02 +00:00
drochner
e9ca6a9081 Remove conditionals on PCVT_{NET,FREE}BSD to make the source easier to
read.
1998-03-31 08:22:13 +00:00
mycroft
1a36e9e970 Add explicit int types for egcs. 1998-03-30 06:07:40 +00:00
mycroft
1fc84bbd8d Add explicit int types for egcs, and nuke register. 1998-03-30 06:05:39 +00:00
frueauf
65b1639385 Make this compile again: PCKBDCF_PORT->PCKBCPORTCF_PORT. 1998-03-24 11:37:06 +00:00
drochner
c4a9c8a96e Allow to use pccons with the new MI keyboard controller driver.
This is more or less for testing (it doesn't contribute to the beauty
of the code).
1998-03-22 17:40:08 +00:00
drochner
a773a26ab1 Allow to attach the mouse driver to the new MI keyboard controller driver.
This should allow to use old X servers which depend on the old mouse
interface to work in the future.
XXX There can be only one attachment - either to an old console driver
or to the new pckbc driver - be configured.
1998-03-22 16:48:51 +00:00
drochner
06471a2eed switch to non-BROKEN_INDIRECT_CONFIG 1998-03-22 12:52:03 +00:00
mycroft
2ada4b4af1 Replace TS_WOPEN with t_wopen, per mail on tech-kern. 1998-03-21 04:02:47 +00:00
mycroft
919340aaa5 In npxdna(), if there was an exception state in the FPU but npxproc was
null, the frstor would fault on a PPro.  I'm pretty sure this is not
how the chip is supposed to behave, but it's easy enough to do a fninit
to throw away the exception state.
Also, some other minor changes to the documentation.
1998-03-20 20:15:14 +00:00
leo
6356561f35 Use bus-dma functions. Also make sure that dma will not use the bounce
buffers (Tested & requested by Noriyuki Soda).
1998-03-16 15:48:00 +00:00
mikel
7d4b078022 print proper invalid IRQ, from Heiko Rupp in PR 5128 1998-03-09 06:20:26 +00:00
mikel
dfb1317f8a remove some lint; from Thorsten Frueauf in PR 5085.
also made one implicit int declaration explicit.
1998-03-02 06:20:16 +00:00
mikel
3119a26ccd s/CFLAGS/CPPFLAGS/ 1998-03-02 06:17:29 +00:00
christos
4e915f8681 PR/4950: Rene Hexel: Add id for Terratec EWS64 joystick 1998-02-21 13:19:14 +00:00
frueauf
5e3035adb1 include <unistd.h> for optarg/optind. 1998-02-20 09:19:11 +00:00
thorpej
30aa56fc66 Use M_DMAMAP where appropriate. 1998-02-11 01:37:51 +00:00
mrg
d90485202c - add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
mrg
29e93b8bea add the i386 MD portions for UVM. 1998-02-06 07:21:42 +00:00