gwr
19d5694f93
Remove the hack that faked up an "ssp" value. It is now up to
...
locore.s to put the right sp in the frame. Also move memory
access code into db_memrw.c so it can be taken separately.
1996-02-22 23:23:23 +00:00
mark
88be357d42
Fixed declaration of a debugging variable.
1996-02-22 23:03:44 +00:00
mark
7b9c8753a7
Added #ifdef guards round the FPE initialisation calls.
1996-02-22 22:56:16 +00:00
mark
66198928f8
Fixed several function declarations.
1996-02-22 22:51:14 +00:00
mark
2c74bc8511
Removed some dead code and fixed several function declarations.
1996-02-22 22:48:05 +00:00
mark
f266edf8b8
Default to running an FPA at full speed. Updated delay() to take an
...
unsigned int.
1996-02-22 22:44:58 +00:00
mark
9a3e71626d
Fixed a little bug that zeroed the first couple of words of the symbol
...
table when the bss is zeroed.
1996-02-22 22:41:31 +00:00
mark
80684b67bc
Fixed registration of the symbol table.
1996-02-22 22:38:48 +00:00
mark
6a3087958a
Add #ifdef _LOCORE round delay() prototype and move DELAY macro
...
to param.h as well.
1996-02-22 22:21:55 +00:00
pk
2f3ad94f8d
An #ifndef _LOCORE to make this file safe to include in locore.s.
...
Introduce a couple of `CPU-type' helper macros to reduce the preprocessor
tangos in many a source file.
1996-02-22 21:59:08 +00:00
leo
db7d722c4b
A bit of reshuffling. Also some stricter prototyping.
1996-02-22 21:07:05 +00:00
scottr
f7dff866af
Remove VAX-specific register reference from comment (closes PR 1481)
1996-02-22 20:30:16 +00:00
mark
9777b1173f
Thought I had already removed this ... Junk file that got checked in
...
due to finger trouble.
1996-02-22 17:46:24 +00:00
pk
e259a02425
Correct some prototypes.
1996-02-22 15:04:07 +00:00
scottr
a7daa2d931
- Clean up DEBUG code.
...
- Setting the "monitor BSY" flag for polled PDMA is non-optimal. The
polled requests generate an interrupt that isn't serviced until the
command has been cleared from the queue.
1996-02-22 14:31:26 +00:00
jtk
a56b76451d
add M_AFS
1996-02-22 12:47:33 +00:00
leo
c9dfd5cb44
First bunch of changes due to stricter prototype checking.
1996-02-22 10:10:44 +00:00
thorpej
c86505a6a5
If we get a transfer with the SCSI_POLL flag set, don't use DVMA. We
...
only get these during autoconfiguration and during crash dumps. During
autoconfiguration, the transfers are small enough that DVMA won't be used
anyway. However, using DVMA during a crash dump can be dangerous,
depending on the nature of the panic, so we avoid it.
1996-02-22 07:25:05 +00:00
thorpej
2f132eb5e7
Bring in Gordon's fix from the sun3 port:
...
Correct the DMA transfer count when the target disconnects before
the whole transfer is completed. (Affects VME writes)
Reselect now works on the VME si board!
1996-02-22 07:14:53 +00:00
thorpej
a246f6c835
Fixup some RCS ids.
1996-02-22 06:50:49 +00:00
mycroft
3ec5928403
Keep the terminal count information around, as it's self-clearing.
1996-02-22 06:21:48 +00:00
scottr
5be12dbfc8
Move the speaker driver to 'new' config. (Closes PR 1361, from Rafal Boni)
1996-02-22 05:53:16 +00:00
gwr
012b23ca17
fix a trace message
1996-02-22 04:06:03 +00:00
gwr
3700dbe324
Correct the DMA transfer count when the target disconnects before
...
the whole transfer is completed. (Affects VME writes)
Reselect now works on the VME si board!
1996-02-22 03:22:52 +00:00
gwr
a19a024e59
Do not mark target/LUN busy until we commit to working with it,
...
after the check for reselections. (From Matthias Pfaller, PR 2105)
Also improve the selection code WRT concurrent reselection.
1996-02-22 03:10:47 +00:00
scottr
89179744bd
Use unsigned variables to calibrate delay_factor.
1996-02-22 02:04:14 +00:00
christos
17de1d7eae
Close PR/2105: if.c does not compile without COMPAT_43 due to missing casts.
1996-02-21 14:28:33 +00:00
pk
66fedbbe19
Correct format in a printf().
1996-02-21 10:21:14 +00:00
chuck
f63dd5fef2
sync with sparc version:
...
minor clean up: revise locations of disk_busy/disk_unbusy calls to match xd.c
1996-02-21 03:40:39 +00:00
chuck
adeed1d823
minor clean up: revise locations of disk_busy/disk_unbusy calls to match xd.c
1996-02-21 03:36:51 +00:00
cgd
c9a23604b9
fourth argument to kern_sysctl() must be a size_t *. simply passing a pointer
...
to SCARG(uap, len) won't do, because that'd be an int *. copy the value
into a size_t, and pass pointer to that.
1996-02-21 00:10:59 +00:00
cgd
9c95634273
in mfs_print: mfs_baseoff is a pointer, should be printed as %p, and
...
should NOT be cast to unsigned int.
1996-02-21 00:06:45 +00:00
cgd
c0cdc0cf04
when printing data modified on the free list:
...
(1) do not cast it to (void *), and
(2) print it as 0x%x, rather than %p.
This is not perfect (because the data being printed is "int32_t"-sized), but
is more correct than printing it as a pointer because the data is _not_ a
pointer, it is data to be printed in hex, and on some systems, pointers are
wider than the data items being printed, which leads to excess and misleading
output. The only 'right' solution to this is to have a printf specifier
that prints the fixed-sized types the right way, and that's not really
practical.
1996-02-20 23:56:16 +00:00
cgd
e98dc62664
Third argument to VOP_PATHCONF is a register_t *, and register_t may be
...
different than 'int'. Do the right thing when declaring variables which
are used this way.
1996-02-20 23:45:10 +00:00
gwr
9daf57454e
use phys_map for DVMA like the sparc
1996-02-20 22:05:32 +00:00
gwr
dfdd60a3d1
keep static symbols
1996-02-20 22:03:56 +00:00
gwr
b80de84521
kill SCSIDEBUG
1996-02-20 22:03:20 +00:00
mycroft
a35f0ac985
Add more debugging code.
1996-02-20 12:13:09 +00:00
mycroft
947cae817e
Do not allow the gain to be changed on an original SoundBlaster.
1996-02-20 11:48:50 +00:00
mycroft
d1b5c90fd6
Check for errors while changing gain.
1996-02-20 11:47:22 +00:00
mycroft
015ee926f6
Fix mono volume adjustment.
1996-02-20 11:15:15 +00:00
mycroft
5f732f379e
Trivial (and probably not very good) implementation of SIGIO.
1996-02-20 10:00:31 +00:00
mycroft
b5f3c5cbdc
XXX This is a kluge.
...
Check to see if the DMA transfer is finished; if not, don't do interrupt
processing.
1996-02-20 04:19:24 +00:00
mycroft
4d6412e7bf
Move the terminal count check into a separate function.
1996-02-20 04:17:05 +00:00
gwr
e3e5c394ae
Oh. Now that size is unsigned, (size >= 0) is always true.
1996-02-20 02:42:55 +00:00
scottr
5fd93a11ca
Clear interrupt before enabling in calibrate_delay() (from John P. Wittkoski)
1996-02-19 21:40:48 +00:00
christos
bd06e49fd9
Remove ns_cksum.c; I'll send mail to portmasters about it.
1996-02-19 21:29:44 +00:00
christos
cd5249589d
if_ep.c: Recognize 3c595
1996-02-19 20:18:40 +00:00
christos
c456eaedc6
pcidevs was changed.
1996-02-19 20:09:24 +00:00
christos
b6e5342075
Add 3c595 id
1996-02-19 20:08:25 +00:00
scottr
98a0e7986a
Bitfields are usually implemented in natural bit order. Pointed
...
out by Masaru Oki <oki@yk.rim.or.jp>
1996-02-19 18:29:04 +00:00
pk
9bfd34f41e
Adapt to NFSv3.
1996-02-19 15:41:38 +00:00
mycroft
5021ab87f1
Update copyright notice.
1996-02-19 15:23:25 +00:00
mycroft
5bc567b0d3
Set IER_ETXRDY before outputting any bytes, to prevent race condition.
1996-02-19 15:09:25 +00:00
mycroft
c011a5eae4
Handle break more correctly.
...
Make IER_ETXRDY track TS_BUSY. (Prevents a loop in comintr() if no output
is available.)
Add a bunch of debugging code.
1996-02-19 14:53:03 +00:00
pk
b9de283ae6
Fix typo; pointed out by jtk.
1996-02-19 10:30:09 +00:00
pk
9b46365465
Adapt to changed kernel data structures (PR#2100).
1996-02-19 09:46:32 +00:00
leo
dc321cad51
New disklabel handling code (Waldi Ravens).
...
These are the final (?) modifications to the layout of the NetBSD/Atari
bootblock. The bootblock handling can be made backwards compatible using
the right config options (COMPAT_11 + DISKLABEL_AHDI).
1996-02-19 09:05:31 +00:00
scottr
8fe7b2bbb7
Be a bit more careful when setting up the timer for calibrating delay().
1996-02-19 05:20:54 +00:00
gwr
ce56580f30
Attach should get unit from _dev.dv_unit not sc_unit
1996-02-19 04:36:13 +00:00
gwr
e9d6e59c62
Fix two bugs found by Bill Studenmund:
...
Driver can not use tp->t_sc for its own purposes
Attach should take the unit number from _dev.dv_unit
1996-02-19 04:34:01 +00:00
briggs
ab3f741911
Update to latest Atari driver, but with some local modifications.
1996-02-19 02:51:03 +00:00
thorpej
a9012450ec
Fix bug in bwtwounblank() ... didn't have code to enable video on sun4/200
...
obio framebuffer. Noticed when my 4/260 dropped into DDB and the screen
didn't unblank. Pull all of the video enable/disable into functions so
this mishap doesn't happen again.
1996-02-19 00:15:46 +00:00
mycroft
91e913b297
Handle EOF a little differently.
1996-02-19 00:06:07 +00:00
mycroft
c5326f656e
Change variable name to avoid GCC warning.
1996-02-18 23:21:48 +00:00
mycroft
2b9c3e10b9
Add SCSI scanner device.
1996-02-18 22:57:54 +00:00
mycroft
8d110517c8
We no longer need the old hack for allocating the u-area on the i386.
1996-02-18 22:53:43 +00:00
mycroft
f9596bfc43
Use the same timing hacks as in pccons for the keyboard.
1996-02-18 22:49:12 +00:00
mycroft
0e335a2150
Move the DDB initialization later.
1996-02-18 22:44:27 +00:00
mycroft
760b34026c
Declare a variable...
1996-02-18 22:19:44 +00:00
mycroft
ba2ac1b587
Clean this up a bit.
1996-02-18 22:17:37 +00:00
mycroft
2dfda50bb9
Minor tweak; make sure window size is 0 on close.
1996-02-18 20:44:40 +00:00
mycroft
8f0f40e8b3
Missed some prototyping foo.
1996-02-18 20:41:18 +00:00
mycroft
342c383728
Truncate to the window size in ssminphys(), not ssread().
1996-02-18 20:38:44 +00:00
mycroft
294879d4ee
Add SCSI scanner support by Kenneth Stailey and Joachim Koenig-Baltes,
...
hacked a bit. Needs more work.
1996-02-18 20:32:40 +00:00
mycroft
23726708b0
Minor change.
1996-02-18 20:30:53 +00:00
christos
b2cc81b8fe
Fix PR/2095 options MROUTING did not compile.
1996-02-18 18:58:32 +00:00
jtk
47286969ae
Add bass/treble input filter adjustment controls to SB (Pro) driver
1996-02-18 16:36:44 +00:00
pk
a5ea7547d2
Correct timetochip() prototype.
...
Cleanup microtime() a bit.
1996-02-18 15:38:41 +00:00
pk
9e2cbae0ea
Adapt compat NFS mount code to NFSv3.
1996-02-18 14:46:25 +00:00
fvdl
e9788cf246
Fix a missing 'error =' before 'if (error)'.
1996-02-18 14:06:50 +00:00
mycroft
d1bae2700f
Add the obligatory copyright notice.
1996-02-18 13:01:05 +00:00
fvdl
56a654e17f
Changes for NVSv3 code: pull in more NFS include files into kern_time.c
...
to get types right (overkill for just one function call, but oh well).
Clear B_NEEDCOMMIT in bdwrite().
1996-02-18 11:57:06 +00:00
fvdl
8514e928bd
Changes for NFSv3 merge: change NFS mount arguments and add B_NEEDCOMMIT
1996-02-18 11:55:45 +00:00
fvdl
5ac7df1caf
Bring in a merge of Rick Macklem's NFSv3 code from Lite2
1996-02-18 11:53:36 +00:00
mycroft
e5730c4a73
Fix a race condition where we might stop outputting if a write follows a
...
flush too closely.
1996-02-18 09:10:15 +00:00
christos
6c52b1a5eb
Fixed bug I introduced in the previous changes. In the ctlinput functions,
...
I used the void * arg, instead of the sockaddr argument...
1996-02-18 05:42:59 +00:00
jtk
e8aa4c9806
fix stray MOUNT_UFS -> MOUNT_FFS
1996-02-17 23:08:36 +00:00
briggs
2efbb04ae0
Make delay() match prototype.
1996-02-17 19:23:03 +00:00
ragge
aeaef139aa
Console TU58 device driver for 11/750 added.
...
It cannot write tapes yes, but reading works OK.
1996-02-17 18:48:53 +00:00
ragge
90b84d2da5
Add standalone driver for TU58 (DECtape II). Now initial installation
...
from TU58 on 11/750 is possible.
Change types on pte pointers, due to the change of pte's from
int to struct pte.
1996-02-17 18:23:18 +00:00
ragge
5025b0f9c9
Definition file for RSP (Radial Serial Protocol) used by DECtape II.
1996-02-17 18:14:50 +00:00
jtk
45eee6c55b
remove #ifdef notdef made unnecessary by previous changes (PR#1597)
...
put in missing "if (error)" that caused tape IO to always fail.
(closes PR#2086)
1996-02-17 16:00:22 +00:00
briggs
f851e3e8b3
Move spl stuff from param.h to psl.h. Prototype delay() in param.h.
1996-02-17 14:50:40 +00:00
pk
08fa33d37f
struct ifaliasreq: adapt nomenclature to protocol specific counterparts, ie.
...
swap `ifra_broadaddr' and `ifra_dstaddr'.
1996-02-17 12:32:50 +00:00
pk
1a62c0b31b
delay() takes an unsigned int; get the code to match.
1996-02-17 09:47:48 +00:00
mycroft
203f5d5329
Add some text describing the UART lossage worked around in the previous.
1996-02-17 04:51:41 +00:00
jtk
03f1e1432a
fix compile error from gusprobe() cleanup
1996-02-17 04:49:50 +00:00
mycroft
121f6570d7
Drain the transmitter FIFO before changing the baud rate or FIFO depth
...
registers. Fixes PR 2046.
Also, if COMCONSOLE is defined, expect CONSPEED to be the baud rate.
1996-02-17 04:04:28 +00:00
jtk
28feffd508
avoid panic'ing when driver gets confused--just spit out a message and
...
keep going.
Improve error messages to include device name.
use STATIC for function declarations/definitions so it's easier to get a
useful symbol table by flipping a switch.
1996-02-17 03:35:22 +00:00
jtk
4f3fc10939
Fix PR#2060 (add AUDIO_PERROR ioctl to query # of playback drops), also
...
fix semantics of AUDIO_WERROR (now returns a count).
Also repair audio driver back to "real-time mode" where user must
provide data quickly enough for real time audio or silence is played
until user catches up. Add optional "play all" mode (additional bit in
mode field) to play all samples provided, with silence when needed to
avoid buffer underrun.
1996-02-17 02:28:56 +00:00
pk
1caa80a432
Bring prototypes into scope.
...
Fix a few bogus `return's.
1996-02-17 00:03:17 +00:00
gwr
b3547c4296
New handlers for kernel trace and breakpoint traps. These allow
...
the kernel debugger (ddb or kgdb) to play with the stack pointer.
1996-02-16 23:36:52 +00:00
gwr
7dff812d6e
prototype fixes
1996-02-16 23:32:00 +00:00
mark
bfad88d38d
Added prototype declaration of delay().
1996-02-16 23:29:45 +00:00
pk
f1518de67c
delay() prototype.
1996-02-16 22:13:34 +00:00
pk
cdb37b19d3
Account for the fact that `clockreg' might not be page-aligned.
...
Misc prototype goo.
1996-02-16 22:12:13 +00:00
gwr
c59b002704
Sync. with sparc version, and fix some cosmetic nits...
1996-02-16 20:36:11 +00:00
gwr
9433112204
Have <sys/param.h> so no need for <sys/types.h>
1996-02-16 20:33:27 +00:00
gwr
1c0f939eba
Fix comment
1996-02-16 20:18:51 +00:00
gwr
b49f01b2ce
Fix comments
1996-02-16 20:17:58 +00:00
gwr
7b4335f9db
Moved functions for debugger memory access to db_memrw.c
...
so they can be pulled in for either ddb and/or kgdb.
1996-02-16 20:08:44 +00:00
gwr
5cb4cacff1
Add some things needed by KGDB
1996-02-16 20:04:36 +00:00
gwr
49b1d84e94
Resurrecting db_memrw.c to hold some code shared by ddb and kgdb.
1996-02-16 19:11:27 +00:00
gwr
5404ccfbd7
Improved delay() implementation with lower overhead,
...
makes very short delays much more accurate.
1996-02-16 18:06:11 +00:00
gwr
bcfac202c8
No longer need delay2us(), just use delay(2)
1996-02-16 18:00:33 +00:00
gwr
510218d471
Make delay() prototype into a comment.
1996-02-16 17:25:46 +00:00
gwr
04ff35d122
Add stub for nfs_boot_getfh if NETHER==0
1996-02-16 15:18:19 +00:00
mycroft
7847c9efee
Various:
...
* Snap the sample rate when setting it, and remember only the time constant.
* Set the time constant when changing between play/record.
* Always return the actual sample rate with AUDIO_GETINFO.
1996-02-16 10:10:21 +00:00
mycroft
19f59bf3c2
Prototype the probe and attach functions.
1996-02-16 08:18:32 +00:00
mycroft
9cbadb3ec2
Remove incorrect comment. From Mike Long, PR 1277.
1996-02-16 08:12:33 +00:00
mycroft
7af4edd731
Various, including:
...
* Add more delays while writing registers.
* Replace sc_dma{in,out}_inprogress with sc_dmadir.
* Eliminate the need for sc_locked.
* Add more DPRINTF()s.
1996-02-16 08:07:40 +00:00
mycroft
8ba7909bb4
Eliminate sc_silence, and handle output interrupts somewhat differently.
...
From John Kohl, slightly edited.
1996-02-16 02:25:43 +00:00
christos
7e24291099
Protect include in lfs_cksum.c so that it can be used by userland programs.
1996-02-16 02:22:05 +00:00
mark
f741f471f6
Added new routine for polling the keyboard.
1996-02-15 23:24:44 +00:00
mark
7e883ebf5b
Fixed kernel panic when the debugger called cngetc().
1996-02-15 22:54:45 +00:00
mark
23d71d4d59
Fixed undefined instruction handler chaining. The FPE will now correctly
...
pass on an undefined instruction if it was not an FP instruction.
1996-02-15 22:45:21 +00:00
mark
ab9201ff05
Replacement for armfpe.c. This is much nicer.
1996-02-15 22:44:31 +00:00
mark
1f4ced2016
armfpe.c was messy. Removing it in and replacing its function with
...
armfpe.s
1996-02-15 22:42:17 +00:00
mark
b5acab13ca
Added files for machine specific debugger code
...
armfpe.c replaced with armfpe.s
1996-02-15 22:40:08 +00:00
mark
6f2a81d3e1
Initial commit of the machine dependant in-kernel debugger code.
1996-02-15 22:37:13 +00:00
mark
63b7c56cb6
Added setjmp and longjmp routines for the debugger.
1996-02-15 22:15:21 +00:00
mark
b5a6e0bbf9
Added initialisation hooks for DDB.
1996-02-15 22:07:11 +00:00
mark
443bbc1025
Fixed disassembly of LDR & STR instructions, shifts by a register are
...
not allowed and count as undefined instructions.
1996-02-15 22:05:20 +00:00
mark
f69e31fcc1
Initial commit of the machine specific header for the in-kernel
...
debugger.
1996-02-15 21:54:30 +00:00
mark
f134e05316
Fixed performance problems caused by the ring buffer becoming flodded when
...
multiple packets were being received due to not flushing newly received
packets from the ring buffer between receiving an interupt and pulling
in the packets.
1996-02-15 21:48:59 +00:00
mark
5ef42fccf7
Removed debug printing from lpt interrupt routine.
1996-02-15 21:33:52 +00:00
phil
a3a96d6af3
Another tweek to support libcompat.
1996-02-15 20:19:48 +00:00
jonathan
ab3b20faba
Remove the compile-time conditionalization for either CFB or SFB,
...
based on "#ifdef MELLON": examine the framebuffer dimensions in the
fb softc, and initialize the x-axis offset appropriately.
User-level changes to (e.g.) an Xserver are still needed to work
on an SFB.
1996-02-15 19:18:22 +00:00
jonathan
d25690e30a
Propagate changes from cfb driver to not require "needs-count" to other
...
pmax framebuffer drivers.
1996-02-15 19:13:08 +00:00
phil
2afc843cce
change _insque and _remque to match the prototypes in sys/systm.h.
1996-02-15 08:39:27 +00:00
phil
5e7b18feac
Catch up with changes in the libkern and libcompat get $S ...
...
Comment out ns_cksum.c.
1996-02-15 08:37:56 +00:00
christos
fce99a5188
Add disk related prototypes.
1996-02-14 21:49:49 +00:00
christos
0bc63f486d
scsi prototypes
1996-02-14 21:46:52 +00:00
christos
1c2a80cfe3
add another missing prototype with TPCONS is not defined.
1996-02-14 21:32:37 +00:00
gwr
64a13b9a7b
Remove ns_cksum.c (now in sys/conf/files)
1996-02-14 15:59:57 +00:00
briggs
946dc72362
Get d_npartitions right.
1996-02-14 14:20:54 +00:00
leo
7992289e54
Fix unterminated comment.
1996-02-14 08:10:51 +00:00
leo
2708c1593e
Oops, should have been updated in conjunction with ncr5380.c .
1996-02-14 08:09:47 +00:00
briggs
ef9b75f679
HZ used to be in Makefile.mac68k... It is 60 on the mac, not 100.
1996-02-14 04:26:38 +00:00