Commit Graph

601 Commits

Author SHA1 Message Date
sos
9fd71f3fa9 Updated swedish keymap. 1994-04-26 09:24:06 +00:00
sos
90387385b1 Fixed missing bounds check in scroll up/down sequence, that could
cause a panic (and did).
1994-04-26 09:09:57 +00:00
dg
bac3b7fca5 From John Dyson:
Fixed physio in the 386 case - write faults weren't properly implemented.
1994-04-25 23:48:20 +00:00
ache
21aeb462c0 Fix proper include place 1994-04-24 00:07:35 +00:00
ache
8f71b3e562 We don't have DMA automode, so correct all places to work without
it too.
1994-04-23 22:54:31 +00:00
wollman
7745e6da4c Define new option, INACCURATE_MICROTIME_IS_OK. When this is defined,
the NTP kernel PLL is disabled, and acquire_timer0() is enabled, thus
opening the door for microtime() (and hence gettimeofday()) to return
bogus timestamps.  This option is necessary for the `pca' driver to
work, but is implemented to underscore the fact that accurate timekeeping
and the `pca' driver are incompatible at present.  If someone writes a version
of microtime() that works when the `pca' driver is being used, this can get
junked.
1994-04-23 21:39:18 +00:00
ache
0378205e1d device pca0 added 1994-04-23 12:13:27 +00:00
ache
f980caed30 Little optimization of contigmalloc parameters 1994-04-23 05:21:33 +00:00
ache
585b12b56d Additional changes for 2.5 1994-04-23 04:16:53 +00:00
dg
3c6dc6acde Added support for the 16 port Boca via a flag to specify that there is
no master port.
1994-04-23 02:11:43 +00:00
ache
f277d23264 Sound driver updated to version 2.5 1994-04-23 02:03:17 +00:00
ache
9e4ffe0fd9 Updated to version 2.5 1994-04-23 01:55:45 +00:00
ache
8c1b1c10fa Update sound driver to version 2.5 1994-04-23 01:50:14 +00:00
wollman
17ab3af527 Tell the user that we didn't try to set the bus speed, in case they're
used to NetBSD or older versions of the code that did do it.
Will document TUNE_1542 also.
1994-04-21 22:14:43 +00:00
sos
09a968ec10 Changed timer usage to new functions in clock.c 1994-04-21 14:22:26 +00:00
sos
133b947de1 Change timer usage to use new functions in clock.c 1994-04-21 14:21:50 +00:00
sos
879ba563bd Added IO_PPI define, pulled timer related stuff 1994-04-21 14:20:54 +00:00
sos
608f223696 Pulled out timer related functions -> now in clock.c 1994-04-21 14:20:07 +00:00
sos
a02f0d6fd9 New support for sharing the timers
acquire_timer / release_timer

Pulled in timer related functions from isa.c
1994-04-21 14:19:16 +00:00
sos
f850d82cc5 pcaudio device driver:
Driver for playing .au type files through the internal speaker
	Uses new timer support in clock.c
1994-04-21 14:16:55 +00:00
sos
d07e39d1a7 pcaudio.c added 1994-04-21 14:13:43 +00:00
sos
0fb3a557e2 New file for pcaudio device driver 1994-04-21 14:12:28 +00:00
sos
e9dc6cbbbd cdev 24 used for pcaudio (PCM speaker driver) 1994-04-21 14:10:31 +00:00
phk
b2b233fcc4 Adding bootoption '-r' which is "use compiled in root". This allows me to
boot from a floppy and have root on wd2 for instance.
1994-04-20 22:06:24 +00:00
dg
239ae571f1 Bug fixes and performance improvements from John Dyson and myself:
1) check va before clearing the page clean flag. Not doing so was
	causing the vnode pager error 5 messages when paging from
	NFS. (pmap.c)
2) put back interrupt protection in idle_loop. Bruce didn't think
	it was necessary, John insists that it is (and I agree). (swtch.s)
3) various improvements to the clustering code (vm_machdep.c). It's
	now enabled/used by default.
4) bad disk blocks are now handled properly when doing clustered IOs.
	(wd.c, vm_machdep.c)
5) bogus bad block handling fixed in wd.c.
6) algorithm improvements to the pageout/pagescan daemons. It's amazing
	how well 4MB machines work now.
1994-04-20 07:06:57 +00:00
wollman
c080508e59 Reserve block device 8 and character device 32 for users' drivers. 1994-04-19 23:45:43 +00:00
dg
9bb0d0905e Changes from John Dyson and myself:
1) Removed all instances of disable_intr()/enable_intr() and changed
	them back to splimp/splx. The previous method was done to improve
	the performance, but Bruces recent changes to inline spl* have
	made this unnecessary.
2) Cleaned up vm_machdep.c considerably. Probably fixed a few bugs, too.
3) Added a new mechanism for collecting page statistics - now done by
	a new system process "pagescan". Previously this was done by the
	pageout daemon, but this proved to be impractical.
4) Improved the page usage statistics gathering mechanism - performance is
	much improved in small memory machines.
5) Modified mbuf.h to enable the support for an external free routine when
	using mbuf clusters. Added appropriate glue in various places to
	allow this to work.
6) Adapted a suggested change to the NFS code from Yuval Yurom to take
	advantage of #5.
7) Added fault/swap statistics support.
1994-04-14 07:49:40 +00:00
dg
f066d3fd23 Add delays after changing from 8/16 - 16/8 bit mode and after enabling/
disabling the shared memory. The 83C790 needs these or it does bad things.
1994-04-13 10:15:34 +00:00
ache
82ca87349a Make all devices at least 2*64K buffers, 2*32K buffers
isn't enough for my home 33Mhz.
1994-04-13 01:57:03 +00:00
ache
c3cfb2dfa0 snd7 config line corrected, irqaremoved 1994-04-13 01:29:14 +00:00
ache
2dbc8e0742 Now SoundDriver use 64K DMA region instead of older 4K by
using new contigmalloc function.
1994-04-13 01:10:08 +00:00
csgr
7607f20040 Remove lpa from the generic kernels - one step closer to nuking lpa !! 1994-04-12 16:05:13 +00:00
ache
d0078dd4ff Patch from S0ren, 80x50 font trashed after switching from X console 1994-04-12 00:05:23 +00:00
ache
8755afc140 Tenmicrosec change backed out, because our DELAY is accurate
only about 40 microseconds.
1994-04-11 21:27:00 +00:00
ache
69e77c870d We have a better way to wait ten microseconds then inbs:
tenmicrosec() now use DELAY(10)
1994-04-11 18:17:12 +00:00
dg
87e8efd84b Fixed brokeness in the support of the 83C790/Elite Ultra (now that I
finally have the f**king documentation!):

1) Changed all the numeric register offsets to symbolic ones (it should
	have been this way originally).
2) If 16 bit, disable the shared memory when not using it. Apparantly
	switching between 8/16bit mode makes the Ultra unhappy unless
	this is done (i.e. it trashes the bus).
1994-04-10 20:06:28 +00:00
csgr
868c85662b Modify wdprobe() to correctly recognise some 2 drive systems,
on which it was failing.  Modifications follow ATA, but also
allow some weird setups which seem to contradict ATA (aaarrrrgghhh!!)
1994-04-10 11:17:13 +00:00
csgr
e18ba77d44 change to lptioctl 1994-04-08 22:13:49 +00:00
ache
50c9f98382 Fix arguments of CONS_GETINFO 1994-04-07 23:23:01 +00:00
ache
6d829d17b9 Remove unneded irq/drq/vector from snd? 1994-04-07 22:18:49 +00:00
dg
24d135e218 from kimmel@varese.cs.umass.edu (Matt Kimmel):
"el" driver for 3COM 3C501. This driver has some serious performance
problems and drops packets on the floor like hot potatos.
1994-04-07 12:10:31 +00:00
dg
91178a77f4 Make Bruce happy: silently enter ddb on a BPT or trace trap if ddb is
configured in the kernel.
1994-04-07 10:51:00 +00:00
csgr
e910246f9f Changes to lpt driver:
- ansi prototypes in lpt.c
- a bit of tidying in lpt.c
- ioctl in lpt.c for switching between polling and using interrupts
- added lpt.h - needed for ioctl to allow switching between polling
        and interrupt-driven modes.
1994-04-06 16:42:33 +00:00
dg
9c6c99e9ff from John Dyson:
1) fixed some bugs related to the bounce buffer code
2) vnode pager now supports clustered pageouts
3) experimental code for clustering all I/O via a new "cldisksort"
4) added >16MB check to Bustek driver
5) made some experimental algorithmic changes to the pageout daemon
6) fixed bugs in truncating mapped files (esp when mapped via NFS)
7) reorganized vnode pager I/O code
1994-04-05 03:23:32 +00:00
wollman
b4d4ec15af First pass at adding locale support. This code only deals with the LC_CTYPE
class of locale data, but could be extended to handle other locale
classes, as well as message catalogues and other non-locale i18n
support.

I have left the old _ctype_ array in place, and moved the ctype.h
header to octype.h, so that existing shared binaries will still be
able to find and use it as they require.

See /usr/src/share/locale for information on how to create new locale
data files (eventually this procedure will be improved).  I'd like to
have a family of locale files for various countries, languages, and
character sets, so please contribute some.

This code was originally written by Paul Borman and contributed to
4.4; I did the integration, and have somewhat tested it.  crt0.c
probably ought to call setlocale() if it doesn't already, but I'd like
for people to create some locale files and try things manually first
before I make every program do this.
1994-04-04 21:11:12 +00:00
phk
7d2bbe7dd6 corrected pointer to sound.doc 1994-04-04 17:27:45 +00:00
ache
2cb0e0266a This addition allows compilation with EXCLUDE_AUDIO
without compilation error.
1994-04-03 22:16:38 +00:00
ache
7f6867dd0f Add declaration missing from previous bde's version 1994-04-03 12:25:57 +00:00
ache
cf1e229f66 CHANGES from Bruce:
---
This list of changes is in approximately chronological order (oldest first).

	o Many cosmetic changes - renamed comintr1 -> siointr1, moved
	  things around and fixed whitespace.
	o Reduced SLIP latency (FRAME_END hack) from 20-30 ms to 16 ms
	  at 115200 bps (you won't notice the average 10 ms improvement
	  on slow lines).  ppp seems to use only counted transfers so
	  there's no similar hack available.  It's too hard for the
	  driver to know the count.
	o Temporary #ifdefs for new and old interrupt handling
	  (OLD_INTERRUPT_HANDLING decided by setsofttty() not being
	  externally defined.
	o Don't test for the IIR_NOPEND bit being set - test for the
	  non-fifo part of the iir equalling it like the docs say to.
	  States with other IIR_NOPEND set in combination with the
	  other iir bits are undefined.  The docs may be stupid - the
	  old test would not have broken when the fifo bits were
	  introduced.
	o Noted more problems with DTR wait.
	o Rewrote console stuff.  Still some initialization and state
	  preservation problems.  Same for kgdb stuff.  The driver
	  doesn't do anything about the console close bug.  It needs
	  to be fixed entirely in i386/cons.c.  I like chmr's version
	  where the the console driver revectors the device open and
	  close routines.
	o Temporary (?) #ifdefs for references to tty buffers.
	o Noted further things to do in (2 comments about 3 places) for
	  phk's change to not touch RTS unless it is being used for flow
	  control.
	o Temporary #ifdefs for timestamp handling.  It needs fixing.
	  The microtime() call breaks the first rule of writing fast
	  interrupt handlers: NO calls to functions that might do slow
	  and bad things.  microtime() enables interrupts.  This turns
	  out to be only moderately harmful.  Also, I want the timestamp
	  copy outside of the normal interrupt handler.
	o Don't init com->tp early for the !DONT_MALLOC_TTYS case -
	  both sides are NULL.
	o Worry about com->tp == NULL in siopoll.  I don't see how you
	  survived the (incc <= 0 || !(tp->state & TS_ISOPEN)) test.
	  Perhaps early sttys or comcontrols set up the tp's for _all_
	  the ports before this code is reached.
1994-04-03 11:41:11 +00:00
ache
5721b2f2d5 Change from Bruce:
isa_dmarangecheck() is off by one error.
> ISARAM_END should be >= ISARAM_END. Only the first page above 16M
was mishandled.
1994-04-02 20:43:25 +00:00