veego
48ac6b6866
s/atari_round_page/m68k_round_page/ s/atari_trunc_page/m68k_trunc_page/
1997-06-10 18:43:46 +00:00
veego
a4c1cd0649
s/atari_round_seg/m68k_round_seg/ s/atari_trunc_seg/m68k_trunc_seg/
...
s/atari_round_page/m68k_round_page/ s/atari_btop/m68k_btop/
s/atari_ptob/m68k_ptob/
1997-06-10 18:41:13 +00:00
veego
0fb1053663
s/atari_trunc_page/m68k_trunc_page/
1997-06-10 18:39:11 +00:00
veego
337441ce5f
s/atari_round_page/m68k_round_page/
1997-06-10 18:37:50 +00:00
veego
42395ee36b
The 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 18:36:32 +00:00
veego
d3c01fde2c
s/amiga_btop/m68k_btop/
1997-06-10 18:34:52 +00:00
veego
2e45a6e310
s/amiga_round_page/m68k_round_page/
1997-06-10 18:30:28 +00:00
veego
7097d0f71e
s/amiga_round_page/m68k_round_page/ s/amiga_btop/m68k_btop/
...
s/amiga_trunc_seg/m68k_trunc_seg/ s/amiga_round_seg/m68k_round_seg/
s/amiga_ptob/m68k_ptob/
1997-06-10 18:26:41 +00:00
veego
d35d17a7c0
s/amiga_trunc_page/m68k_trunc_seg/
1997-06-10 18:24:34 +00:00
veego
b62ba16540
s/amiga_round_page/m68k_round_page/
1997-06-10 18:22:24 +00:00
veego
f7d1a9f167
Add the 'Mach derived conversion macros' from <arch>/include/param.h.
1997-06-10 18:21:23 +00:00
veego
931d90fcee
Use the MI <m68k/param.h> include.
1997-06-10 07:54:35 +00:00
veego
451bfcbc85
New MI include file. Based on the param.h from all m68k ports.
1997-06-10 07:51:43 +00:00
thorpej
912fac1e8b
Add Section Attribute Flags (SHF_*) as defined in _System V Application
...
Binary Interface, Third Edition_, section 4, page 16.
1997-06-10 06:42:55 +00:00
matthias
8033e010bd
In case of a SCSI-error print the extended sense information and not
...
some sort of random garbage.
1997-06-09 19:36:56 +00:00
jonathan
530b4df7e3
Emulate RISC Ultrix cacheflush() and cachectl() syscalls on mips.
1997-06-09 11:57:43 +00:00
jonathan
184599798d
Declare ultrix_sys_symshs(). Ultrix uses the standard (BRL?) hack to
...
implement sysV shm using one system call.
1997-06-09 11:50:52 +00:00
jonathan
f89e57aee7
Add sys_sysarch() calls for the standard mips userspace cache-control calls.
1997-06-09 11:46:16 +00:00
is
b3b47459fe
Fix typo.
1997-06-09 10:37:11 +00:00
jonathan
19e4111ef7
Move the mips sys_machdep.c from pmax/pmax to mips/mips, to enforce a
...
common sysarch on all mips ports.
1997-06-09 02:14:56 +00:00
thorpej
da1b5f9021
It's perfectly normal for an older (e.g. pre SCSI-2) device to send
...
MESSAGE_REJECT in response to SDTR or WDTR. Because of this, the
printfs that indicate refusal of sync/wide negotiation are unneeded
in normal operation. In the __NetBSD__ case, disable them by default.
They, like the other extra-verbose ahc driver boot messages, may be
reenabled with "options DEBUG". The behavior in the !__NetBSD__ case
is unchanged.
1997-06-09 01:51:03 +00:00
thorpej
e78f8ce7da
Duplicate register mapping logic from Tulip driver.
1997-06-09 01:23:20 +00:00
thorpej
3e023b7681
Fix a slight bogon in merge of this driver; make the device map all of
...
its space, and pick the space used by default based on what is appropriate
for the CPU we're running on.
1997-06-09 00:34:18 +00:00
veego
68bc1316cc
Initialize machine_arch from MACHINE_ARCH.
1997-06-09 00:04:03 +00:00
veego
6ab737a609
Initialize machine from MACHINE and machine_arch from MACHINE_ARCH.
1997-06-08 23:59:57 +00:00
veego
a204fb7981
Initialize machine from MACHINE.
1997-06-08 23:54:19 +00:00
thorpej
e962c12a08
Fix pasto: sbus -> pci
1997-06-08 22:15:34 +00:00
thorpej
6bf33a7fe3
Merge pdq-970604 update.
1997-06-08 19:47:13 +00:00
thorpej
2f8150954f
Correct a couple of typos so that this compiles with TULIP_DEBUG,
...
per PR 3723, submitted by enami tsugutomo <enami@ba2.so-net.or.jp>.
1997-06-08 18:49:43 +00:00
thorpej
cd4fc920b0
Put back Matt Thomas's revision ID, per PR 3723, submitted by
...
enami tsugutomo <enami@ba2.so-net.or.jp>.
1997-06-08 18:44:02 +00:00
kleink
82f507b553
Add missing ';'s; necessary for `do {} while (0)' wrapping from last commit.
1997-06-08 17:59:56 +00:00
ragge
4d45dc0466
Use correct console on KA65? machines. Bugfix when specifying adaptor
...
number. Show compile-time for boot. Prettier printout.
1997-06-08 17:49:15 +00:00
pk
5521477455
Remove attempt to use files with holes; it's prone to deadlocks.
1997-06-08 15:59:41 +00:00
pk
6c88c4ca23
Avoid race for residual count and pending requests count.
1997-06-08 15:55:34 +00:00
jonathan
d6a4dfdc41
Declarations for standard MIPS-ABI cacheflush() and cachectl() calls,
...
as used by g++ trampoline code.
1997-06-08 10:52:04 +00:00
jonathan
f15c808e44
Initialize machine_arch from MACHINE_ARCH.
1997-06-08 10:48:02 +00:00
jonathan
ccc08d5a61
Move MACHINE_ARCH and _MACHINE_ARCH from pmax/include/param.h to
...
mips/include/mips_param.h. (They should be common to all mips ports.)
1997-06-08 10:46:01 +00:00
veego
3b868f100b
Use 0x0001 for MDP_STACKADJ. Thanks Klaus.
1997-06-08 10:35:39 +00:00
thorpej
31498892b3
Fix a (fatal) typo in the bus dma changes. From Bill Coldwell
...
<billc@warped.com>
1997-06-08 08:43:52 +00:00
thorpej
c8615e2f7c
Add code to decode the PCIA_RESENT register. Display information on
...
the PCIA revision, and whether or not the STD I/O EISA bridge is
present. Decode, but don't bother displaying, the power consumption
information for each PCI slot.
1997-06-08 07:59:20 +00:00
thorpej
183655c71b
Add bit definitions for the PCIA_PRESENT register.
1997-06-08 07:57:40 +00:00
thorpej
8e2e0fdc91
Don't print the hose number here; that's done in kftprint().
1997-06-08 07:03:18 +00:00
thorpej
42dde867d8
Print the hose number in kftprint().
1997-06-08 07:02:45 +00:00
thorpej
38b9b3385b
Update for changes in the core ISP driver.
1997-06-08 06:35:45 +00:00
thorpej
159c685a42
- Update for changes to core ISP driver.
...
- Convert to use bus dma, greatly simplifying DMA setup.
1997-06-08 06:34:52 +00:00
thorpej
b937ee4745
- Simplify mailbox DMA setup, allowing the front-ends to allocate the
...
mailbox storage in a way they see fit.
- Define macros to index and size the request and result queue entries.
1997-06-08 06:31:52 +00:00
mikel
cf5aa1ba7f
eliminate another dangling reference to <machine/machparam.h>
...
ensure all macros which use {}s are wrapped with do {} while (0)
1997-06-08 05:36:57 +00:00
jonathan
0a875d4298
A pre-busdma pmax <bus.h> skeleton.
1997-06-08 05:10:25 +00:00
pk
7de2a6f83d
Use the `ranges' property to deal with VMEbus address spaces.
1997-06-07 19:16:23 +00:00
pk
af40331aec
Add some VME address modifiers used by vmebus_translate().
1997-06-07 19:10:57 +00:00
cgd
712748bc64
remove extraneous, and now incorrect, cpu_decl()s.
1997-06-07 19:08:01 +00:00
cgd
21bbd49bf2
in vfs_shutdown(), print "syncing disks... " before dropping to spl0(),
...
so that if the drop to spl0() causes another panic (e.g. because there's
still some fatal hardware interrupt that's pending) we'll know that we
dropped IPL to sync the disks.
1997-06-07 17:27:57 +00:00
ragge
2492a42479
System statistics fixes. From Johnny Billquist (bqt@update.uu.se).
1997-06-07 12:15:27 +00:00
ragge
f47d895f8c
Clean up disklabel checking.
1997-06-07 12:13:27 +00:00
ragge
2db3f948a0
Disk statistics fixes. From Johnny Billquist (bqt@update.uu.se).
1997-06-07 12:11:38 +00:00
ragge
0d970d6a78
Create a fake disklabel if there are no one on the disk.
1997-06-07 11:59:44 +00:00
veego
1d24d6350d
GC unused MDP_AST, noticed by Klaus Klein.
1997-06-07 08:27:47 +00:00
thorpej
78cd3ba57f
bus_dmamap_t's always have a pointer to an sgmap cookie. (oops, forgot
...
to commit this to the branch!)
1997-06-07 05:35:06 +00:00
thorpej
413f678ce0
Pull the thorpej-bus-dma branch into the mainline.
1997-06-07 05:29:33 +00:00
mhitch
c108a0ce0b
Fix another weird driver state. After sending the SCSI command to the target
...
after synch negotation during device probes, the 53C94 stops with the target
reqesting more command data. The fifo appears to still contain a couple of
bytes, so transfer them. If the target still wants command data after that,
do a transfer pad. The target seems to function normally after this. A
much better solution thant simply rebooting!
Also fix a problem when compiling with DIAGNOSTIC - a mismatch between using
DIAGNOSTIC and MACH_DIAGNOSTIC caused the compile to fail.
Try to start another target and a device disconnects.
1997-06-07 05:10:42 +00:00
thorpej
6d9b3bc058
Pull the thorpej-bus-dma branch into the mainline.
1997-06-07 01:35:07 +00:00
thorpej
239ce2aa34
Bump version to NetBSD 1.2F.
1997-06-07 00:57:33 +00:00
perry
a630650d7f
Switch to building new boot blocks by default.
1997-06-07 00:35:42 +00:00
thorpej
46b89d7739
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:54:24 +00:00
thorpej
11e78a6b0d
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:43:45 +00:00
veego
029d774d1a
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:31:23 +00:00
thorpej
fbc0df0a1a
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:30:02 +00:00
veego
ef7d5776d0
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:29:25 +00:00
thorpej
63bad43fa4
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:28:40 +00:00
veego
de7e49a954
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:26:01 +00:00
thorpej
7a15aef7ea
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:24:31 +00:00
veego
d04fe1f439
add src/sys/arch/m68k/m68k/m68k_machdep.c
1997-06-06 23:15:28 +00:00
mellon
2a1b799fda
Clean up conflicts during merge (thomas de-970603)
1997-06-06 23:14:58 +00:00
veego
118a503048
Add HW_MACHINE_ARCH for the new sysctl hw.machine_arch which contains the
...
cpu class of a machine.
1997-06-06 23:14:36 +00:00
thorpej
ea7351cb31
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:14:22 +00:00
mellon
4f4f344f71
Clean up conflicts during merge (thomas de-970603)
1997-06-06 23:14:19 +00:00
thorpej
433c3cae0f
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:10:23 +00:00
cgd
2a9a4b6fde
fix slight bogons in splhigh() usage, that were introduced when the
...
behaviour of splhigh() was changed. The new behaviour raised the level to
IPL_HIGH if it was lower, but left it alone if the same or higher. Apparently
the firmware transfers to NetBSD with all interrupts blocked, or something
else blocks all interrupts (including machine checks) before the code
is really started. This meant that machine checks were blocked during
device probes, leading to false device probes _and_ an unexpected (and
therefore fatal) machine check at the spl0() after autoconfiguration.
1997-06-06 19:52:42 +00:00
christos
ca0d389297
PR/3701: Arne H. Juul: olstat can't stat "/", because it still pretended
...
that symlinks don't have inodes.
1997-06-06 19:36:31 +00:00
cjs
e535d1b2c8
Change comment: MSIZE is in machine/param.h, not machine/machparam.h.
1997-06-06 17:17:56 +00:00
kleink
e6f69040f0
Raise MINCLSIZE from (MHLEN + MLEN) to (MHLEN + MLEN + 1): MINCLSIZE is the
...
"smallest amount to put in cluster", and (MHLEN + MLEN) is the largest amount
amount of data that can be stored without clustering.
Pointed out by Thorsten Frueauf <frueauf@ira.uka.de> with W. R. Stevens'
TCP/IP Illustrated, Vol. 2, at hand.
1997-06-06 16:37:41 +00:00
leo
3b2576ad3c
Guard agains multiple inclusion and pull in cpu.h to define clockframe.
1997-06-06 13:15:57 +00:00
pk
f910dab2bd
Get `canwait' argument to kmem_malloc() right.
1997-06-06 10:51:49 +00:00
mikel
d687e871c9
nuke bad MLINKS line; fixes PR port-atari/3605.
1997-06-06 05:26:38 +00:00
thorpej
63ac628f77
Oops, last commit was meant for the thorpej-bus-dma branch, not the
...
trunk.
1997-06-06 02:42:38 +00:00
thorpej
4f5d0d3849
Split DEC 3000/300 and 3000/500 DMA functions into separate files,
...
suggested by Chris Demetriou <cgd@netbsd.org>.
1997-06-06 02:41:09 +00:00
is
7b1633fee3
Make fpfault() faster if 68020/30 only, and the code smaller if 68040/60-only.
1997-06-05 20:57:13 +00:00
is
7ff8fa13b1
Microoptimization in addrerr4060. Reduces code size.
1997-06-05 20:13:37 +00:00
leo
f796b57669
* finalize 060 stuff.
...
For locore.s also nuke cacheop-functions now provided in m68k.
1997-06-05 19:45:29 +00:00
leo
327cf04b4b
Implement and use splraise().
1997-06-05 19:38:16 +00:00
cgd
891e8db771
two more slight bogons
1997-06-05 17:36:26 +00:00
cgd
1c33c6bff8
actually, declare _splraise() as an inline function, because:
...
(1) it was using 'max', and some functions use a variable
of that name (*sigh*), and
(2) that makes it easier to be a bit trickier, and only call
swpipl if changing the IPL.
1997-06-05 17:31:16 +00:00
cgd
100dbb8a3c
parens around macro arg (this is an old one)
1997-06-05 17:20:17 +00:00
cgd
57c012e265
make sure that splnet(), splbio(), splimp(), spltty(), splclock(),
...
splstatclock(), and splhigh() all _raise_ the IPL. (splhigh() is _not_
the highest possible IPL; mcheck is...)
1997-06-05 17:08:06 +00:00
thorpej
d19ef97a43
Add fxp* at pci? declarations, marked untested on the Alpha, but they
...
compile.
1997-06-05 02:29:56 +00:00
thorpej
ab8dcc3eda
Add fxp* at pci? declarations.
1997-06-05 02:27:44 +00:00
thorpej
b2ef3f1591
Add device declaration for Intel EtherExpress PRO 10/100B driver.
1997-06-05 02:15:36 +00:00
thorpej
f2317e1c5b
Changes to support NetBSD, written by me, tested by Matthias Drochner:
...
- Add NetBSD autoconfiguration support.
- Rearrange code slightly to minimize the number of #ifdefs.
- Don't use a structure to access CSRs. Use macros that DTRT for
the NetBSD and FreeBSD cases.
- Deal with alignment contraint on Alpha - add 2-byte padding at the
beginning of the RFA, so that the data will be 4-byte aligned, after
the 14-byte Ethernet header.
Thanks to Matthias Drochner for the testing, and David Greenman for
the feedback on the changes.
1997-06-05 02:01:55 +00:00
thorpej
7fa6876537
Import FreeBSD's Intel EtherExpress PRO 10/100B driver, written
...
by David Greenman.
1997-06-05 01:50:48 +00:00
is
6d6e724440
Reorganize buserr/addrerr stuff, to allow omitting unused code in single-cpu
...
kernels, at the same time getting rid of up to 3 conditional branches and a
bit over one cacheline fetch (for the 68060; the saving is a bit smaller for
040 and yet smaller for the 020/30).
While we're here, also get rid of an redundant lea (using SP-relative
addressing) and of two redundant pushes.
While we're here, also fix a panic which would tear us down on 68060 machines
if a branch prediction error ever occured.
1997-06-04 22:12:43 +00:00
cgd
9d52c4bb31
4th arg to bus_space_{read,write}_multi_2() is a u_int16_t *, and should be
...
cast if it isn't. (These casts aren't necessarily safe, because of
alignment issues, but they allow the code to compile with prototyped versions
of bus_space_{read,write}_multi_2().)
1997-06-04 20:42:56 +00:00
leo
f42858310e
Use m68k cacheops
1997-06-04 14:33:49 +00:00
leo
60d8682a5b
Add the 68060 Software Support Package.
1997-06-04 13:51:48 +00:00
leo
75fe0ae7a5
Export vectab label (68060 changes).
1997-06-04 13:50:25 +00:00
jtk
d935ace5a0
1) When we cannot complete our attachment, don't just return 0 but also
...
disconnect from the BIOS
2) when text segment as claimed by BIOS is out of sensible range, punt
completely rather than trying to shrink it to fit the ISA hole. Some
BIOSes would crash with the previous behavior. Some won't have a
working APM with the new behavior, but their BIOSes are broken.
Suggested by Chris Demetriou, with very minor tweaks by me.
1997-06-04 03:34:43 +00:00
cgd
86b5c1e498
make REGVAL macros use volatile pointers
1997-06-04 01:47:15 +00:00
mark
323b20590a
Remove some nasty casts in macros. This fixes problems accessing raw
...
partitions > 4GB in size.
1997-06-03 23:48:36 +00:00
cgd
079e0c6bff
make REGVAL macros use volatile pointers
1997-06-03 21:54:02 +00:00
cgd
ba43d7fec5
do not spew about processes which have had fatal traps, unless DEBUG
...
is defined. Actually, it never should do it, but DEBUG should be 'never'
for most users.
1997-06-03 17:38:50 +00:00
cgd
e2bc183e52
remove DEBUG from GENERIC kernel
1997-06-03 17:37:58 +00:00
kml
6a233e37f6
Fix urgent pointer overflow problems when used with large windows
1997-06-03 16:17:09 +00:00
thorpej
4ae176cb0a
Ooops! Not meant for the trunk; these need to be added to the branch!
1997-06-03 07:01:58 +00:00
thorpej
36e7d039c0
Add "typedep" code to deal with both the 32-bit and 64-bit PTE formats
...
found on Alpha workstation and server PCI bridge chipsets.
1997-06-03 07:00:20 +00:00
phil
71fb702409
Update Sys V shared memory options. Still commeted out, but now correct.
1997-06-03 01:38:00 +00:00
leo
154afe5d70
Add ipfilter stuff.
1997-06-02 20:40:40 +00:00
leo
6793c446f0
An attempt to make a generic m68k implementation for cache control operations.
...
Not yet completely finished.
1997-06-02 20:26:37 +00:00
leo
37325cfb41
More stuff for handling an 68060.
1997-06-02 12:03:40 +00:00
leo
45ae0c3916
Be a bit more robust when dealing with genassym failures (From mycroft).
1997-06-02 11:49:02 +00:00
jonathan
6aa07ba92c
Add #ifdef _KERNEL/#endif around prototype of mips single-step emulator.
...
Add "struct proc;" inside the ifdef: <sys/proc.h> includes <machine/proc.h>
before declaring struct proc.
1997-06-02 01:58:38 +00:00
perry
d27bc903b5
trivial reformat -- one space to a tab
1997-06-02 00:26:49 +00:00
mjacob
62b3daa7d2
Finally found the cause of that nagging 'lost command' (for the first
...
command) bug: the initial response queue index is take from mbox 5,
not mbox 4, and mbox 5 wasn't getting initialized to zero.
1997-06-01 23:42:04 +00:00
pk
d7b698b984
Set `rr_iospace' to PMAP_OBIO when translating relative sbus addresses.
1997-06-01 22:10:39 +00:00
phil
079405ea2a
Update SHMMAXPGS to a constant of 1024.
1997-06-01 19:23:08 +00:00
phil
2f418f67bd
Update to what I'm using.
1997-06-01 18:15:12 +00:00
mrg
81f7adf672
need to bump this back to version 1.7 (last one).
1997-06-01 14:08:58 +00:00
mrg
76b4fd4206
need to bump this back to version 1.7.
1997-06-01 14:08:15 +00:00
mrg
2a4bfcce7b
need to bump this back to version 1.7.
1997-06-01 14:07:27 +00:00
mrg
640e369d6c
need to bump this back to version 1.7.
1997-06-01 14:07:01 +00:00
mrg
887cadb09b
need to bump this back to version 1.7.
1997-06-01 14:06:23 +00:00
mrg
e3ee873c1f
need to bump this back to version 1.7.
1997-06-01 14:05:49 +00:00
thorpej
6dd15693d9
Add the ipfilter device at cdev major 7.
1997-06-01 09:18:45 +00:00
jonathan
3844d313b1
Add CD9660 and PROCFS filesystems. Sort filesystem options.
...
Add tun, and reorder pseudo-devices to match other systems' GENERIC config.
1997-06-01 08:44:57 +00:00
thorpej
5b0d69d6a8
In ipl_disable(), don't conditionalize the "fr_checkp = fr_savep"
...
operation, since:
- in ipl_enable(), "fr_savep = fr_checkp" is not conditionalized
in the same way (not at all), and
- without this change, it was not possible to enable, disable,
and reenable ipfilter.
1997-06-01 06:57:09 +00:00
mrg
7cedf69cbd
Completely rearrange SPARC boot code, modeling it after alpha and hp300
...
ports' boot programs. Also added support for loading gzip'd kernels,
useful for booting from floppy. From Jason R. Thorpe <thorpej@nas.nasa.gov>,
tested by Matthew Green <mrg@eterna.com.au> and Erik Fair <fair@clock.org>.
1997-06-01 03:39:03 +00:00
oki
ca83937d49
Use cdev_ipf_unit() instead of cdev_ch_unit()
1997-06-01 01:27:51 +00:00
cjs
7a66732d34
Back out BUILDDIR and NOINSTALL changes.
1997-05-31 21:21:13 +00:00
mhitch
ad9b4015c2
Comment out the dc0 at mainbus0: that attempts to include the DS3100 dc
...
device attachment. The 3max dc0 device attaches to the pretended IOASIC.
1997-05-31 20:45:07 +00:00
mhitch
122ef4a659
-Wall cleanup when compiling without all DECstation models defined.
1997-05-31 20:33:30 +00:00
jtk
5759a768d7
add software emulation stub for ulinear_be
1997-05-31 15:30:22 +00:00
cgd
e4f0b64254
Adjust gcc -Wuninitialized warning initializers (or add them) so that
...
compliation without DEBUG and/or DIAGNOSTIC happens without errors.
Note that all such initializations in the Alpha port are marked with "XXX
gcc -Wuninitialized". As far as I'm concerned, the one or two times
-Wuninitialized has saved me from problems are worth the (very minor) cost
involved with the initializations, esp. if it's noted why the
initializations are done. This was prompted by PR#3690, from Ted Lemon.
1997-05-31 05:46:03 +00:00
cjs
83498d7e88
Remove empty libinstall target and add NOINSTALL=1.
1997-05-30 13:43:06 +00:00
jeremy
3f6f86d875
Undo changes which make pmap_xxxx_page() functions re-entrant; just block
...
all interrupts which might cause re-entrancy.
Allow virtual addresses which are not managed by the MI VM system to
participate in the PV system.
Remove a few frivoulous TLB cache flushes.
1997-05-30 07:02:14 +00:00
jeremy
4502541573
When turning off the drive motor, de-select the drive so the busy light
...
extinguishes.
1997-05-30 03:23:11 +00:00
cjs
75380e08a1
Use new NOINSTALL option for libraries that are used only during the build
...
of a program, and not installed into the final system.
1997-05-30 01:55:09 +00:00
jtc
8ab87a1df9
fix tipo
1997-05-30 01:34:49 +00:00
jtc
9d04fc8ed1
New zeropage() implementation based on code contributed by Hiroshi Horitomo
...
<horimoto@cs-aoi.cs.sist.ac.jp> in PR #3641 . I changed the code slightly.
Instead of clearing 13 registers (d1-d7,a1-a6) and zeroing 512 bytes per
loop iteration, I clear 8 registers (d1-d7,a1) and zero 256 bytes. This
reduces the size and complexity of the function.
On the '020, the simpler code is less than 1% slower. Surprisingly, it
is ~3% faster on the '040.
1997-05-30 01:20:23 +00:00
gwr
e512003d6e
Add non-inline version of _splraise.
1997-05-29 22:20:01 +00:00
gwr
2e7b1f13dd
Define getsr() as _getsr() for backward compatibility.
1997-05-29 22:18:24 +00:00
gwr
56e5d1c7c5
Add inline definitions for _getsr() and _splraise(), and
...
define splimp() using splraise so early calls to the VM
code (and pmap) do not accidently enable interrupts.
1997-05-29 22:17:38 +00:00
mycroft
9a7f1bfa84
Use single mode, not demand mode, for auto-initialize transfers.
1997-05-29 21:46:07 +00:00
mycroft
cf09974361
Add DMA37MD_DEMAND and DMA37MD_BLOCK.
1997-05-29 21:42:28 +00:00
gwr
bdb1fd223a
typo
1997-05-29 21:26:20 +00:00
gwr
14cd11bef6
Add non-inline version of _splraise.
1997-05-29 21:22:47 +00:00
gwr
b2502668e5
Increase the default datasize limit to 16MB (enough to build libc).
1997-05-29 21:18:42 +00:00
gwr
175d58b59a
Define getsr() as _getsr() for backward compatibility.
1997-05-29 21:17:38 +00:00
gwr
9ab3caec28
Add inline definitions for _getsr() and _splraise(), and
...
define splimp() using splraise so early calls to the VM
code (and pmap) do not accidently enable interrupts.
1997-05-29 21:16:59 +00:00
jonathan
3906c8cde5
Fix possible uninitialized variable bug which trips -Wall. When
...
recovering from a possible race condition in sii_intr, read the active
target from the destat register, and set the softc state pointer
`state' appropriately. (This warning is in a block that prints a
warning message, and the warning message has _never_ been seen. The
bug is probably innocuous.)
Also addresses the `more thought needed' in the log message for rev. 1.12.
1997-05-29 19:26:06 +00:00
jtc
9442b0fcda
Use movw when loading countdown registers.
1997-05-29 16:31:33 +00:00
jtk
8551fb607a
fix popping noises on 16-bit ulinear output.
...
add big-endian support
XXX ULINEAR_BE still needs ad1848 emulation on gusmax
1997-05-29 05:33:15 +00:00
jtk
1b429137ae
make Jazz16 16-bit output work properly again. Still hangs somewhere
...
(not yet diagnosed) on occasion in high-speed mode, but a ^C will exit
immediately--no 30-second drainage timeout.
1997-05-29 04:57:02 +00:00
mhitch
fe468f64bc
Include pm_ds.c if pm_ds, not dc_ds - dc_ds gets set for the 5000/200 as
...
well as the 3100, but trying to include pm_ds.c for a 5000/200-only
configuration fails.
1997-05-29 03:08:40 +00:00
mhitch
660cdaec8a
Use the generic root/swap in the model-specific configuration files.
1997-05-29 02:22:27 +00:00
mycroft
e9028468cd
Don't use the TC bit to check for wraparound in isa_dmacount(); remember the
...
transfer length and use that.
1997-05-28 20:02:39 +00:00
jtc
0a3a33b1ba
Copyright of this file has been assigned to The NetBSD Foundation
1997-05-28 16:30:54 +00:00
jonathan
ceff1980b7
lint: Add prototypes for the redirection hoks used for rcons/4.3bsd
...
qvss-style in-kernel X inputevent processing.
This whole interface should be replaced with wscons.
1997-05-28 14:21:39 +00:00
thorpej
a464ced388
Change the aps_tout member of struct ap_session from time_t to u_long
...
so that it can be passed to the filter rule aging functions, which
expect a pointer to a u_long. (time_t is an int on the alpha.)
1997-05-28 04:59:34 +00:00
thorpej
fa7df10d8b
Put the #ifndef _KERNEL prototype of get_unit() in <netinet/ip_fil.h>
...
since it is needed by other files, in order to compile on 64-bit
architectures.
1997-05-28 04:48:47 +00:00
jeremy
1b2aae80c2
Added new lock system for the two virtual pages used in temporary mappings.
...
Allows pmap_zero_page() and pmap_copy_page() to be re-entrant.
1997-05-28 04:28:52 +00:00
jeremy
b53e0d4fb7
Coded to work with new lock system for tmp_vpages.
1997-05-28 04:27:00 +00:00
thorpej
8b4b26e8d9
Fix several bugs/warnings:
...
- Pull in correct headers to get types.
- Garbage-collect some unused code.
- Add missing return values.
- Add parenthesis around assignments in conditionals.
1997-05-28 02:49:06 +00:00
thorpej
f160cf5490
Prototype lkmdispatch() in <sys/lkm.h>; all LKMs use it.
1997-05-28 02:44:55 +00:00
thorpej
e80ea6e0b3
Add appropriate parenthesis around assignments within conditionals.
1997-05-28 02:43:30 +00:00
thorpej
cf30e3e3c9
Prototype lkmexists() in <sys/lkm.h> as some LKMs might need to use it.
1997-05-28 02:41:41 +00:00
thorpej
11bbe25fb4
Add braces around the initialized union in MOD_DEV().
1997-05-28 02:35:33 +00:00
thorpej
b987e82127
CVS munched date on copyright; correct it.
1997-05-28 02:11:10 +00:00
thorpej
6ef2799147
Garbage-collect unneeded CFLAGS.
1997-05-28 02:10:28 +00:00
thorpej
bbf6e6fb4d
Fix a typo.
1997-05-28 00:22:43 +00:00
thorpej
9062a97000
Resolve conflicts from merge of 3.2a7, take 2.
1997-05-28 00:22:15 +00:00
thorpej
41d4822677
Resolve conflicts from merge of 3.2a7, take 2. Also, eliminate some
...
silly differences between the NetBSD copy of the code and the
vendor branch, keeping only those which are necessary. Of those
differences that currently exist, several "portability to NetBSD"
issues, which will be fed back to the ipfilter author.
1997-05-28 00:17:11 +00:00
augustss
1bd32f9cad
Add Alaw encoding emulation.
1997-05-28 00:07:46 +00:00
augustss
1616170859
A cosmetic name change.
1997-05-27 23:37:53 +00:00
gwr
01adc15274
Minor reorganization of nfs_mountroot code to simplify BOOTP support.
...
The RPC/bootparamd calls to get the root and swap paths are now done
in nfs_boot_init() instead of nfs_boot_getfh(), so the latter now just
does the RPC/mountd call. Also changed some panics into error returns.
1997-05-27 23:37:39 +00:00
augustss
73ff4bd775
Allow more than one hardware driver to attach to the audio upper layer.
1997-05-27 23:24:56 +00:00
gwr
3cb60b969d
Allow revarpwhoami() to be called multiple times.
...
(Just return the answer if we already have it.)
Without this, the RB_ASKNAME loop fails on every
call to nfs_mountroot after the first call.
1997-05-27 23:14:44 +00:00
leo
1c5b9b33c7
Make the bootloader 68060 aware.
1997-05-27 10:28:30 +00:00
thorpej
67a6c44c15
Make this compile on 32-bit architectures again:
...
- Pull in includes to get appropriate prototypes.
1997-05-27 01:24:31 +00:00
thorpej
faeb45fcca
Make this compile on 32-bit architectures:
...
- Add prototypes.
- Add a forward-decl to avoid a cyclic dependency graph.
1997-05-27 01:23:50 +00:00
thorpej
03e37a1874
Make this compile on 32-bit architectures:
...
- Deal with lame gcc -Wuninitialized warning (which is incorrect)
- Add parens around assignments within conditionals.
1997-05-27 01:22:52 +00:00
thorpej
77a115108c
Make this compile on 32-bit architecutres again:
...
- Get arguments to ioctl right (cmd is a u_long in NetBSD)
1997-05-27 01:21:33 +00:00
thorpej
55323c48ca
Make this compile on 32-bit architectures again:
...
- Add prototypes.
- Get arguments to ioctl right (cmd is a u_long in NetBSD)
1997-05-27 01:20:46 +00:00
thorpej
5d1bb7474a
Make this compile on 32-bit architectures:
...
- Add prototypes.
- garbage-collect unused variables.
1997-05-27 01:19:48 +00:00
thorpej
6c873135ee
Make this compile on 32-bit architectures again:
...
- garbage-collect unused variables.
1997-05-27 01:18:47 +00:00
thorpej
e8e871e8ca
Make this compile on 32-bit architectures again:
...
- Don't prototype functions that don't exist, and do prototype those
that do.
- Get ioctl arguments right (cmd is a u_long in NetBSD).
1997-05-27 01:17:04 +00:00
thorpej
a09051fa6d
Make this compile on 32-bit architectures again:
...
- Fix a really obvious error: ipl_enable() disappeared, but the guts of
the function were scrunched into the "no-op" BSD pseudo-device attach
routine. Would not compile, because of non-void return from a void
function. Fixed by reincarnating ipl_enable(), and reimplementing
the no-op pseudo-device attach.
- #ifdef as appropriate to remove unused variable warnings.
- Call ipl_enable() in iplinit(), rather than the no-op ipfilterattach().
1997-05-27 01:15:21 +00:00
thorpej
8ead9b88e8
Make this compile on 32-bit architectures again:
...
- garbage-collect unused variables, or #ifdef them as appropriate.
1997-05-27 01:09:13 +00:00
thorpej
ad58cb5136
Make kernels with ipfilter compile again: need netinet/ip_proxy.c.
1997-05-27 01:07:48 +00:00
jeremy
89aa743138
Config file for a RAMDISK kernel.
1997-05-27 01:06:33 +00:00
jonathan
ed8e9558ab
Lint: printf formats inside #ifdef DEBUG (long vs int, %x vs pointer).
...
Add XXX to inconsistency: sometimes pmap.c calls blkclr(), sometimes it uses
an inline C loop tuned for 4-entry writebuffer. Why?
1997-05-26 23:02:11 +00:00
pk
f959841d17
Pass correct offset to vn_rdwr().
1997-05-26 20:28:38 +00:00
darrenr
ea9bbec5f5
remove extra #endif
1997-05-26 17:57:21 +00:00
mycroft
6756ff7858
Minor corrections to previous. Notably, make recording work on SBPro again.
1997-05-26 16:13:59 +00:00
darrenr
27be4b8f04
Import new sources for 3.2alpha7
...
(blah, someone want to clean away /cvsroot/sys/netinet ?)
1997-05-26 15:18:15 +00:00
mycroft
6bfd7b7d45
Remove unneeded call to comstop() in commsrint(). This fixes a problem
...
where the driver would sometimes retransmit bytes.
1997-05-26 14:54:46 +00:00
jonathan
03bb8c9b9e
lint: #ifdef DEBUG code: use %p for pointers, %ld for vm_offset_t's.
1997-05-26 06:21:20 +00:00
cjs
5fd7ce7066
These updates to the build allow building against include files
...
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
jeremy
42012469ef
Document that tapeboot has been tested and works.
1997-05-26 03:44:42 +00:00
jonathan
0978222b09
lint:#ifdef DEBUG code. Add parens where requested, Prototype stacktrace().
1997-05-26 02:25:58 +00:00
thorpej
cad3c2f3f0
Garbage-collected long-unused setredzone().
1997-05-26 00:27:43 +00:00
jonathan
333ebdebd6
lint: prototype blkclr __P((caddr_t val, int size)). Used in pmap code.
1997-05-25 23:00:40 +00:00
veego
6647500cd2
New Hardware Cursor support from Michael Teske.
1997-05-25 22:46:21 +00:00
pk
e571ff8ba8
Add code (#ifdef'ed VND_FILLHOLES for now) to fall back on vn_rdwr()
...
if VOP_BMAP() does not produce a translation.
IO_SYNC is used to prevent dirty file cache buffers. On a ffs filesystem,
once a hole is filled, subsequent vnd accesses find will find valid
VOP_BMAP() translations.
Concerns:
* is the assumed semantics correct for all filesystems?
* do we actually want the automagic extension on the VND
backing store..
1997-05-25 22:27:16 +00:00
veego
9aca91d78c
Converted for the use of sys/dev/clock_subr.[ch].
...
Add some comments about the a2000 oki clock chip and stop the clock while
writing.
1997-05-25 22:11:48 +00:00
veego
b2361aa1f6
Remove some defines which are no longer needed.
...
clock.c uses now sys/dev/clock_subr.[ch].
1997-05-25 22:08:24 +00:00
jonathan
d21acac556
Create standard Makefile for arch/pmax/stand.
...
Copy old Makefile with bootblock rules to Makefile.booters.
1997-05-25 22:03:23 +00:00
veego
0e41c5cc23
Add dev/clock_subr.c and the major line for vnd, so you now use swaping
...
to a file.
Add comments and resort some entries.
1997-05-25 22:03:08 +00:00
veego
0275835c28
- Add and change some comments and options.
...
- Use 'options<SPACE><TAB>...'
1997-05-25 22:00:04 +00:00
jonathan
40b20f7799
Move dec_label into a subdir.
1997-05-25 21:39:08 +00:00
jonathan
dbdac42c7e
Add ecoff symbol header definitions for mips1.
1997-05-25 21:22:19 +00:00
pk
740da4fa88
Use an additional structure to keep information on a set of transfers
...
initiated by vnd_strategy(). This allows for more natural error handling
and solves two bugs:
* vnd can disk_unbusy without disk_busy (PR#2657)
* b_resid is set correctly on the external at the end
of a transfer in case of an error.
1997-05-25 19:37:36 +00:00
thorpej
5b2dc97efd
Move the test for "no rootspec and no bootdv" to after we've had a chance
...
to set rootspec in the case of "root on ? type nfs" and no bootdv was
found. From maximum entropy <entropy@tanstaafl.bernstein.com>, PR #3669 .
1997-05-25 19:20:30 +00:00
pk
317703b784
Pass correct transfer count to disk_unbusy().
1997-05-25 16:21:45 +00:00
leo
c803f7baa9
Add serial driver for 68901 UART (modem1 port).
1997-05-25 12:41:27 +00:00
darrenr
29fab67628
fix conflicts
1997-05-25 12:40:11 +00:00
jonathan
8b35fc95ad
GC old ultrix-emul syscall stub used to debug ultrix signals.
1997-05-25 11:09:39 +00:00
jonathan
e319f99e4b
lint: include header files with declarations of input-redirect hooks.
...
Add prototypes and explicit casts where the hooks are polymorphic.
This whole interface should be replaced with wscons.
1997-05-25 10:53:33 +00:00
jonathan
0087cea09e
lint: add prototypes for termio/termios emul conversions and ioctl handlers.
1997-05-25 10:38:00 +00:00
jonathan
4cf3fe8b78
lint: add prototype for pmax serial-console inithook.
1997-05-25 10:28:22 +00:00
jonathan
894ea52659
Update copyright.
1997-05-25 10:24:05 +00:00
jonathan
d06117b286
lint: add prototype for static function make_ultrix_mntent().
1997-05-25 10:21:34 +00:00
jonathan
2548f9ceee
lint: add prototype for kvtophys().
1997-05-25 10:16:17 +00:00
jonathan
59c42b27b1
Lint: use new headers with prototypes. Add local prototypes for
...
locore spl functions; they should only be lint used directly here.
Delete unused variables, etc.
1997-05-25 10:07:38 +00:00
jonathan
e991c94232
Add parens where requested by gcc -Wall.
1997-05-25 10:01:38 +00:00
jonathan
94d7e627c1
Rename cpu_singlstep() to mips_singlestep() and add prototype.
...
(it's not part of the standard interface to MD code.)
XXX Consider moving into process_machdep.c when the mips3 changes are merged.
1997-05-25 09:56:45 +00:00
jonathan
5520aec6bb
Oops, #include <machine/autoconf.h> after previous change.
1997-05-25 08:17:00 +00:00
jonathan
88787ea86a
Lint: machdep.c calls configure() and makebootdev().
...
Move their declaratinos to pmax/autoconf.h.
1997-05-25 06:10:46 +00:00
jonathan
19743d60e1
Lint: add prototype for badaddr() (the expansion of tc_badaddr).
1997-05-25 05:58:36 +00:00
jonathan
84f22cdf55
lint: delete unused variables.
1997-05-25 05:48:14 +00:00
jonathan
c17d51a55d
Add (bogus) prototype for tcinfo() PROM callback until we know what it is.
1997-05-25 05:44:13 +00:00
jonathan
7411774547
lint: add prototype for static local function ultrixstatfs().
1997-05-25 05:30:21 +00:00
jonathan
a2051af8b9
RCSid police. Delete obsolete function-scope extern declarations.
1997-05-25 05:26:00 +00:00
jonathan
cedd6dbe25
Lint: move forward declarations to beginning of file and protoize.
...
delete unused variables and add redundant parens where suggested.
1997-05-25 05:19:51 +00:00
jonathan
a0600d7d94
Prototype for pmap_bootstrap().
1997-05-25 05:04:03 +00:00
jonathan
03953c0e63
Apply NetBSD-1.2 name changes to pmax board-specific trap handler declarations.
1997-05-25 05:01:51 +00:00
jonathan
352da01442
Remove #ifdef NDTOP/#endif wrapper, not needed with new config.
...
Annotate strange #includes (dcreg.h?).
1997-05-25 04:58:36 +00:00
jonathan
42ad3d85be
Move prototypes for X11-upcall hooks to dtopvar.h, for the benefit of
...
the Ultrix framebuffer-API compatibility code.
1997-05-25 04:49:59 +00:00
jonathan
ce0a173bf6
Add prototypes for device-specific handlers and input-event (X11) upcalls.
1997-05-25 02:37:55 +00:00
augustss
b8b6339580
Add defines to be backwards compatible with 1.2 encoding names.
1997-05-24 23:23:17 +00:00
pk
4f292fbb17
Remove `bustype' argument from bus_tmp().
1997-05-24 20:17:04 +00:00
pk
ec02e14ae2
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:06 +00:00
pk
e59f568ea7
Remove `bustype' argument from map[io]dev().
1997-05-24 20:16:05 +00:00
pk
3137152cb5
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:04 +00:00
pk
5ec5d5bca3
Remove `bustype' argument from map[io]dev().
1997-05-24 20:16:03 +00:00
pk
954e31e49a
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:02 +00:00
pk
3cb17e53d3
Remove `bustype' argument from map[io]dev().
1997-05-24 20:16:01 +00:00
pk
c6a933f6ea
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:15:59 +00:00
pk
b3aae0c409
Remove `bustype' argument from map[io]dev().
1997-05-24 20:15:58 +00:00
pk
821f712972
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:15:58 +00:00
pk
9f2499dc98
mapdev() looses the `bustype' argument. It's superseded by `rr_iospace'
...
on all archs.
1997-05-24 20:13:48 +00:00
veego
d3e0c68735
Fix the DESTDIR problem.
1997-05-24 20:09:49 +00:00
pk
72c03c7df9
Use page type encoding macros from pmap.h
1997-05-24 20:09:45 +00:00
pk
fb5c729d4a
Use `rr_iospace' to track the MMU page type bits. On sun4c/sun4m the
...
iospace value is always learned from the PROM; on sun4, we infer it
from the BUS_* parameters.
This obsoletes the `bustype' argument in bus_tmp().
1997-05-24 20:08:41 +00:00
pk
ea0f4900ff
Always use `rr_iospace' to track the MMU page type bits.
...
This obsoletes the `bustype' argument in map[io]dev().
1997-05-24 20:03:03 +00:00
pk
957b6c1c18
Define macros for encoding I/O space bits into the physical address
...
passed to pmap_enter().
1997-05-24 19:59:25 +00:00
christos
6a9f9d3292
PR/3665: Martin Husemann: if_strip calls sl_compress_init with extra arg.
1997-05-24 14:39:44 +00:00
jonathan
d5b9a48fd5
Add prototype for cpu_exec_ecoff_setregs() to mips/inuclde/ecoff_machdep.h.
...
Use it in compat/ultrix/ultrix_misc.c (setting emul type on mips).
1997-05-24 10:26:30 +00:00
jonathan
2b708ca438
lint: gc unused variables in ultrix_sys_mount().
1997-05-24 09:56:47 +00:00
jonathan
6aaa702220
lint: add explicit return type to ultrix_sys_shmsys().
1997-05-24 09:53:11 +00:00
jonathan
3bdc896e84
lint: fix %x vs pointer and tyops in error-logging printfs.
1997-05-24 09:48:53 +00:00
jonathan
a9700d60e4
lint: add missing %d (unit number of unconfigurable device) to panic msg.
1997-05-24 09:37:45 +00:00
jonathan
52afc81f2a
lint: delete unused variable 'dv'.
1997-05-24 09:32:34 +00:00
jonathan
c0c7efb178
Delint debugging-printf() macro.
1997-05-24 09:30:27 +00:00
jonathan
588324e3fb
Lint: include prototypes for TurboChannel framebuffer console-init functions.
...
include prototype for printf() and panic() and delint calls.
1997-05-24 09:17:24 +00:00
jonathan
d617788337
Fix typos in prototypes of console-init entrypoints.
1997-05-24 09:15:46 +00:00
jonathan
b14cdadc36
lint: Create mips/include/conf.h with prototypes for {mem device.
...
Add 'struct proc *p' 4th arg to mmopen(), mmclose().
Delete unused variable.
1997-05-24 08:57:59 +00:00
jonathan
aab81e72b8
lint: add prototypes for interrupt(), softintr(), pppintr().
1997-05-24 08:49:22 +00:00
jonathan
8f17cfaec1
Add 'needs-flag' to pmax, 3max dc (DZ-11 clone) front-ends (dc_ds, dc_ioasic
...
respectively), so console setup code can test forconfiguration of the
correct front-end (via NDC_DC and NDC_IOASIC, respectively).
Delete 'needs-flags' from dc.c. GC obsolete uses of NDC, "dc.h".
1997-05-24 08:19:44 +00:00
jonathan
20e5e29aef
Use a ldscript to work around `features' (not enough section headers)
...
when linking kernels with GNU binutils-2.7 or newer ld.
1997-05-24 05:56:06 +00:00
jonathan
02b403c0bf
#ifdef notyet out the as-yet-Undefined bold mode, instead of commenting it out.
1997-05-24 05:49:22 +00:00
jonathan
5cf71bf343
Add declarations and cdevsw/bdevsw entries for cd, ccd, ss, uk, tun.
1997-05-24 05:28:17 +00:00
thorpej
97c6a307e3
Where _is_ that brick when you need it?!
1997-05-24 03:45:40 +00:00
jeremy
fc60f1979e
Prevent RAM disk hooks from compiling until sun3 md_root.c can support
...
ram disk images that are read in from the outside.
Sync with some old local changes.
1997-05-24 00:09:49 +00:00
jeremy
b06eb8ce7f
Comment reference to ramdisk.h -> md.h
1997-05-23 23:44:34 +00:00
jonathan
ba1c517a52
GNU ld script for linking mips kernels, contributed by Arne Juul.
1997-05-23 22:21:06 +00:00
augustss
72b5ba3901
Redo the way selecting the mode for SB cards is done completely.
...
It is now table driven since there are so many different variations
of SB cards out there.
Also fix a bug that stopped SB2 and SBPro from working.
1997-05-23 21:19:59 +00:00
thorpej
38b3bce886
Make sure reference count manipulation is "atomic", from
...
Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>.
1997-05-23 19:46:08 +00:00
augustss
c612a6fca7
Check that setting IRQ and DRQ on SB16 actually succeeds.
1997-05-23 09:45:40 +00:00
veego
8c07b39516
Use genassym.sh to facilitate cross-compiling.
1997-05-22 22:50:38 +00:00
veego
2c7dbe6639
Add <machine/trap.h> so we don't need to define all the trap values in
...
assym.h.
1997-05-22 22:48:47 +00:00
veego
ddf49ca947
Use genassym.sh to facilitate cross-compiling and add -Wmissing-prototypes.
1997-05-22 22:45:37 +00:00
scottr
4f74abe8b7
Remove redundant cpu_set_kpc() prototype, found by Paul Goyette.
1997-05-22 18:40:10 +00:00
gwr
248eff8eee
Temporary work-around for PR kern/3579 (from Jonathan Stone).
1997-05-22 18:20:06 +00:00
kleink
b7ba6138b6
If the pgrp_id argument of TIOCSPGRP (a.k.a. tcsetpgrp()) does not specify
...
an existing process group, return EINVAL.
1997-05-22 17:35:42 +00:00
mhitch
0db8e55935
DMA state was not getting saved if dmaCurPhase was data-out. If the
...
message-in was a save data pointer, the driver would loop in the
interrupt routine.
1997-05-22 03:26:16 +00:00
lukem
920471eeec
define GID_MAX (max value permitted in gid_t) and UID_MAX (ditto for uid_t)
...
to 2^32-2
1997-05-22 03:02:50 +00:00
gwr
d4af46184c
Deal with another m68k misalignment, this time by changing a
...
short to an int (the first, "pr_type" member). The changed
member was always compared with int values anyway...
1997-05-21 20:09:24 +00:00
gwr
5e15995438
Moved db_kill_proc() and db_show_all_procs() to ddb/db_xxx.c
1997-05-21 19:56:50 +00:00
gwr
55f621803a
Moved db_show_callout() to ddb/db_xxx.c
1997-05-21 19:55:45 +00:00
gwr
e17505a9ea
Add ddb/db_xxx.c
1997-05-21 19:54:54 +00:00
gwr
25bdbcc1dc
Move some DDB stuff here from kern_clock.c and kern_proc.c
1997-05-21 19:54:00 +00:00
jonathan
d212e8744e
Include "rasterconsole.h" to get definition of NRASTERCONSOLE (rcons flag).
...
Don't try rcons on 3100s with keyboards if rcons isn't configured,
1997-05-21 19:41:08 +00:00
jeremy
8253e6e107
Comment for susword was from fusword and hadn't been changed.
1997-05-21 03:51:04 +00:00
gwr
6065389b17
Sync with src/lib/libz
1997-05-20 14:41:54 +00:00
kleink
91830a9500
When a background process attempts to TIOCDRAIN (a.k.a. tcdrain()), send
...
its process group a SIGTTOU signal.
1997-05-20 13:11:33 +00:00
augustss
1fd29f4172
Make the audio default parameters into a globally accessible constant.
1997-05-20 12:51:43 +00:00
jonathan
b088f1b7fd
Change default le entry from "le*" to "le0" so GENERIC kernels
...
configure the pmin/pmax (2100/3100) baseboard ethernet as le0, not le1.
1997-05-20 08:36:42 +00:00
jeremy
0304ff6aed
Implement code to dynamically size the number of page tables based on available
...
RAM at boot.
Also did some cleanup of unused functions, updated several comments, and
removed unecessary 'XXX's.
1997-05-20 06:01:19 +00:00
scottr
a777c246ad
Adjust for previous m68k/pcb.h change
1997-05-20 03:25:07 +00:00
jonathan
1175a38b7f
Use cpu_splXXX() functions to enforce the required ordering of spl()s.
1997-05-19 23:34:40 +00:00
jtc
69f811b13c
copyright assigned to TNF
1997-05-19 23:26:32 +00:00
jonathan
ba2aa6f75a
Add cpu_spl[012345]() definitions to locore. These clear the given
...
interrupt-enable bit in the status register, and all lower bits.
Can be used for spl{bio,net,tty,clock,statclock} on machines where
devices are wried to mips hard-interrupt levels in ascending bit order
so as to match the BSD spl.9 ordering.
1997-05-19 23:25:09 +00:00
augustss
0db08d11e6
Redo the SB mixer code. The driver can now distinguish between the
...
four different mixer options: none, CT1335, CT1345, and CT1745.
It should now be possible to access most of the SB16 functionality.
1997-05-19 23:14:29 +00:00
augustss
604e6c4091
Add missing initialization.
1997-05-19 23:05:14 +00:00
jtc
9784de474e
copyright assigned to TNF
1997-05-19 22:11:12 +00:00
pk
0dae2eb53d
Avoid negative values for `b_dirtyend' and `b_validend'.
1997-05-19 22:08:56 +00:00
veego
f1b84d21b8
Make the install rule nicer.
1997-05-19 21:49:20 +00:00
is
c53cd4cf48
Add forgotten CLEANFILES. Pointed out by Bernd Ernesti.
1997-05-19 21:34:58 +00:00
jonathan
0a995f71a2
Fix typo.
1997-05-19 21:24:10 +00:00
is
3274c536b3
Yet another try to sanitize the bootblock build. Each major target has now
...
its own subdirectory.
Smaller changes involved:
- installboot installs to /usr/mdec
- installboot.8 installs to /usr/share/man/cat8/amiga/
1997-05-19 21:18:58 +00:00
leo
c05eddf7f5
Fix the 'shifting screens' bug on the Falcon. This solution is not perfect
...
since it gives a bit of flicker while switching frame buffers. From
Thomas Gerner.
1997-05-19 21:07:05 +00:00
pk
ae61406a77
Replace bus_tmp() by mapdev() equivalent.
1997-05-19 19:59:36 +00:00
pk
f88bf0a6e9
Replace bus_tmp() with mapdev() equivalent.
1997-05-19 19:56:26 +00:00
scottr
d93126b350
Use common m68k/pcb.h; noted by Erik Bertelsen <erik@sockdev.uni-c.dk>,
...
closes PR 3650.
1997-05-19 17:36:45 +00:00
augustss
0decef1b80
Fix recording source selection bug.
1997-05-19 17:29:12 +00:00
scottr
a0d035c410
Fix some printf format inconsistencies; from SUNAGAWA Keiki
...
<kei_sun@ba2.so-net.or.jp>, fixes PR 3619.
1997-05-19 17:23:09 +00:00
pk
7a45e8a551
Fill in b_dirtyoff/b_dirtyend and b_validoff/b_validend appropriately
...
in each auxiliary buffer; the strategy routines (esp. NFS's) like that.
1997-05-19 14:41:54 +00:00
pk
153ccc307b
Use PHOLD() and PRELE(), rather than manipulating p_holdcnt directly.
1997-05-19 10:43:28 +00:00
veego
a078a4be55
Fix lossage from the latest vm_pmap changes.
1997-05-19 10:14:47 +00:00
mrg
ac74fdbb9c
KNF.
1997-05-19 04:01:16 +00:00
mycroft
f1b8a3c357
Make sure intrtype[] is set. (Curious where this got lost...)
1997-05-19 01:13:01 +00:00
thorpej
14078d838d
Remove comment about bus dma tag. I've been convinced otherwise.
1997-05-18 23:14:03 +00:00
pk
350c3993aa
Remove bus_tmp().
1997-05-18 21:26:40 +00:00
pk
c0036ae48d
Remove bus_tmp(); it's just a special case of mapdev().
1997-05-18 21:26:22 +00:00
kleink
2509589972
Add posix_rename() syscall: regen.
1997-05-18 20:07:27 +00:00
kleink
d3aadd8976
Add posix_rename() syscall.
1997-05-18 19:56:48 +00:00
pk
dc9c65530d
Define a `vme' device on `iommu' and allow `vmes' and `vmel' as sub-busses.
1997-05-18 19:41:02 +00:00
pk
18a4aeea23
A bit of framework for sun4m VME busses.
1997-05-18 19:37:37 +00:00
mhitch
8e9925b45b
Eliminate vm_pmap.
1997-05-18 17:26:30 +00:00
kleink
a1c6b08386
When reading from an empty FIFO no process has opened for writing, and
...
O_NONBLOCK is set, return 0.
1997-05-18 12:19:29 +00:00
mycroft
ad19544997
Remove bogus .PATHs.
1997-05-18 12:14:55 +00:00
thorpej
50a39a3334
Add NetBSD RCS IDs.
1997-05-18 06:08:02 +00:00
thorpej
5e447974cb
Add a comment about why the bus dma tag is not provided to the child
...
bus attaching to the bridge.
1997-05-18 05:30:34 +00:00
thorpej
2b8a15aed4
Add a comment about why the bus dma tag is not forwarded from parent
...
to child if an auxillary PCI bus is attached to the bridge. Also,
remove an extra ';'.
1997-05-18 05:29:24 +00:00
jonathan
ac99526674
Add defines for increasing SPL levels, assuming devices are wired up
...
in to CPU interrupt pins in order of increasing priority.
1997-05-18 03:19:41 +00:00
augustss
8d6f509439
Mask the level registers as the documentation suggests.
1997-05-18 00:36:03 +00:00
augustss
d7a82223f4
Change lowater calculation a little.
...
Fix mixer setting bug and add some missing splaudio().
Set SB drq16 to 5 and don't pretend to be SB v1.0.
1997-05-17 23:26:33 +00:00
christos
cf463415ec
Update to ppp-2.3b5
1997-05-17 21:11:59 +00:00
pk
d3844873e8
Mods for ESP406/FAS408 ISA SCSI driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:58:47 +00:00
pk
7f4962f3f3
An ESP406/FAS408 ISA SCSI adapter driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:58:12 +00:00
pk
990857fe21
Mods for ESP406/FAS408 SCSI driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:56:55 +00:00
pk
80bb266e0e
NULL => 0 (Arne Juul; PR#3629)
1997-05-17 20:31:15 +00:00