thorpej
abe8231c4f
Catch up with changes to libsa.
1996-01-30 19:09:09 +00:00
thorpej
9ceb2e3fc2
Disks now share a common interface for "unlock" and "eject". Teach
...
eject(1) how to use it. There is now a single eject_disk() rather
than eject_floppy(), eject_cdrom(), etc.
1996-01-30 18:35:47 +00:00
thorpej
66e4232d3d
#include <sys/ioccom.h> -> #include <sys/ioctl.h>
1996-01-30 18:34:07 +00:00
thorpej
b97cbfb606
Implement DIOCLOCK. It's a no-op in this driver.
1996-01-30 18:31:05 +00:00
thorpej
919f6728ab
Accept DIOCEJECT as a synonym for CDIOCEJECT. Implement DIOCLOCK
...
separately from CDIOCALLOW and CDIOCPREVENT, even though they perform
basically the same function (with a different interface XXX).
1996-01-30 18:28:02 +00:00
thorpej
c7a20f0ee3
Implement DIOCLOCK and DIOCEJECT. DIOCEJECT is limited to removable
...
media. Fixes PR #1975 .
1996-01-30 18:24:47 +00:00
thorpej
489044a625
Move disk-specific ioctls out of <sys/disklabel.h> and into <sys/dkio.h>.
...
<sys/dkio.h> is in turn included by <sys/ioctl.h>, much like how
<sys/filio.h> and <sys/sockio.h> are handled. This minimizes changes to
existing sources which use the disk ioctls.
Define DIOCLOCK which is used to lock and unlock the pack.
1996-01-30 18:21:46 +00:00
mycroft
436d930db5
Use insmntque() rather than manually frobbing the mount list.
1996-01-30 18:21:08 +00:00
mycroft
5f8d113e8a
Don't include free blocks from the lower layer in statistics.
1996-01-30 16:45:10 +00:00
mycroft
15c8e154a1
Make this closer to reality.
1996-01-30 09:49:16 +00:00
jonathan
4c0067c40b
Remove config.old files for pmax. They should have been removed before
...
the NetBSD-1.1 release, as they have not worked or been supported for
some time.
1996-01-30 05:18:55 +00:00
jonathan
05ef657fb8
Some newer scsi-2 or scsi-3 drives reportedly return more data in
...
response to an inquiry command than was allocated here. Add 1024
bytes extra padding, just to be safe.
1996-01-30 04:47:16 +00:00
gwr
0d44b7f3fe
Include m68k/fpe/files.fpe for FPU emulation support (fixes PR 1773)
1996-01-30 00:35:28 +00:00
gwr
57664ea85c
Oops, did not mean to check that one in...
1996-01-29 23:59:04 +00:00
gwr
38c7f668a2
Clean-up open/close logic of "net" device. Fixes PR 1726
1996-01-29 23:54:14 +00:00
gwr
4541c9f5c6
Work-around sensitivity to DVMA address in PROM revision 2.6 so the
...
netboot program will work on Sun3/50 machines. Also fixes PR 1928.
1996-01-29 23:41:03 +00:00
jonathan
5ea2ec2357
Re-write Decstation turbochannel autoconfiguration code to use the machine-
...
independent TC support in sys/dev/tc/tc.c and sys/dev/tc/tcvar.h:
* Change the tc autoconfiguration tables to use a struct tc_attach_args
instead of the ad-hoc structure.
* Change all pmax device drivers to use a `struct confargs' that's
assignment-compatible with sys/dev/tc/tcvar.h `struct tcdev_attach_args'.
Devices that can be present on a TC or as ioctl asic/mainbus builtins
use the same `struct confargs'.
* Eliminate the `BUS_CVTADDR()' macros which the pmax port inherited from
an old, now-obsolete sys/arch/alpha snapshot.
* Update the comments and debugging code in interrupt handlers to
be consistent with the machine-independent TC support.
Other commits that overlap the same source files include: re-enabling
clock-tick interrupts earlier, and counting hardclock ticks for vmstat -i.
1996-01-29 22:52:15 +00:00
thorpej
2efc4c5f38
#include <errno.h> to get sys_nerr and friends.
1996-01-29 08:38:04 +00:00
mrg
705157eda9
extra update from 8.7.3. also, (re)include NIS support.
1996-01-29 04:58:23 +00:00
briggs
cde62d494a
Fix for delay(usec) for small usec. From Scott Reynolds <scottr@edsi.org>.
1996-01-29 04:10:00 +00:00
chopps
702c1321e2
add swedish keyboard support by Stefan Pedersen
1996-01-28 20:19:51 +00:00
chopps
79964e580d
debug flag to as is uneeded and unsupported #1948
1996-01-28 20:09:08 +00:00
chopps
d00a79e34d
fix bounds check #1939
1996-01-28 20:06:15 +00:00
chopps
2684692a5a
add check for "A4000 bonus" (small b)
1996-01-28 20:01:10 +00:00
chopps
ab86728e62
aftsc uses afsc.c #1976
1996-01-28 19:57:47 +00:00
chopps
9819a7c27e
make sure master enable is set #1920
1996-01-28 19:48:39 +00:00
chopps
b59cfad66c
use dma_cachectl instead of cachectl
1996-01-28 19:43:34 +00:00
chopps
a802a2ef07
add UNION/UMAPFS accepts CR 1890
1996-01-28 19:37:42 +00:00
chopps
f14299b866
fix loading of 0 to intended value of 256. closes 1871
1996-01-28 19:29:15 +00:00
chopps
225c9b3965
fix typo closes 1978
1996-01-28 19:23:24 +00:00
chopps
6bed5b0c0c
applied patch from 1811 which unifies mode support across gfx boards.
1996-01-28 19:19:05 +00:00
chopps
e717f326d5
remove MAXPARTITIONS, closes #1923
1996-01-28 19:12:46 +00:00
ragge
348b7f3d87
Remove PSL_ALLCC definition. Was commented out anyway.
1996-01-28 12:32:21 +00:00
ragge
1bc66055fb
Add uvtopte() macro, to get user pte address easy.
1996-01-28 12:31:24 +00:00
ragge
7a489b8529
Change struct trapframe to also contain stackpointer.
1996-01-28 12:30:13 +00:00
ragge
84c675c572
Change void* to struct pcb* for page table pointers.
1996-01-28 12:27:19 +00:00
ragge
2c8ca06774
Be able to handle debugger traps from kernel.
1996-01-28 12:24:33 +00:00
ragge
27a6a01b3a
Save USP when trapping from userspace.
...
Change register save structs according to this.
Be compatible with the way old init passes flags (in registers).
1996-01-28 12:22:49 +00:00
ragge
d8e53d2958
Fix bug causing the kernel symbol table not to be loaded.
...
Save all registers on panic().
1996-01-28 12:18:06 +00:00
ragge
2b9d8d6e77
Take away unneccessary code from i386? port.
1996-01-28 12:14:48 +00:00
ragge
57d63d564f
Fix bug causing ^[ to be sent when returning from DDB.
1996-01-28 12:11:57 +00:00
ragge
8cf6ff80bd
Make use of the new disk struct when attaching disks.
...
Don't rely on UBA's; we do not always want them.
1996-01-28 12:09:34 +00:00
ragge
f13a276ec8
Handle DDB traps different when we get a panic.
...
It's more interesting to know the CPU state when panic was called
than in the Debugger() function.
1996-01-28 12:05:55 +00:00
ragge
21ddc94849
bpf, vnd & tun added.
1996-01-28 11:46:54 +00:00
ragge
a48ecd6750
A 'printf' describing CPU type was forgotten.
1996-01-28 11:45:07 +00:00
ragge
9a83d85375
DDB disassembly is fixed and now works good. Code written and
...
contributed to Ludd by Bertram Barth.
1996-01-28 11:31:25 +00:00
phil
2ec27d30fe
Clean up of assembly files.
1996-01-26 08:11:46 +00:00
phil
9b68d7d99e
Clean up of some assembly files.
1996-01-26 08:10:10 +00:00
phil
6bffbf4ca9
New file needed for Matthias Pfaller rework of pmap.c to sync it with
...
the 386 version.
1996-01-26 08:06:40 +00:00
phil
45d22f23ed
New file from Matthias Pfaller.
1996-01-26 05:37:16 +00:00