thorpej
ce4c770f88
Make sure CPP, AR, AS, and RANLIB are defined.
1997-11-12 23:11:50 +00:00
thorpej
a421995756
Define LORDER, NM, and TSORT here, like we do the rest of the tools.
1997-11-12 22:25:31 +00:00
ragge
7b60c8ed11
Fix multivolume installation bug; PR#4454.
1997-11-10 22:14:16 +00:00
thorpej
0b04d28454
Mark uses of long long with /* LONGLONG */ for lint. From
...
Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 04:36:08 +00:00
thorpej
cc1f5b65c9
asm -> __asm__
1997-11-05 04:23:35 +00:00
thorpej
4730a8cbec
Bug fixes and cleanup from Chris Demetriou <cgd@pa.dec.com>:
...
- fix _C_LABEL so that it actually works.
- make __RENAME use _C_LABEL.
- fix __RENAME so that it expects an unquoted argument.
- fix __indr_reference and __warn_references so that they
supply their own final semicolon.
- define __warn_references to nothing if not GNU C (required
by the way it's used).
The __warn_references semicolon change has to be made
so that __warn_references can be defined into nothing.
(A ; all by itself isn't a great idea.) The __indr_reference
change was made for consistency.
1997-11-04 23:09:23 +00:00
ragge
8f6ac836dd
Move some interrupt routines out to assembler.
...
Optimize (slightly) pmap_clear_modify.
1997-11-04 22:59:20 +00:00
ragge
fb4298e98c
Optimized copy/fetch/store routines; rewritten in assembler.
1997-11-04 20:52:27 +00:00
ragge
fd48076569
Use genassym for the first time in vax port history. Rewrite cpu_exit,
...
cpu_switch, setrunqueue and remrunqueue in assembler for efficiency.
1997-11-03 20:00:17 +00:00
ragge
4e254b7a82
Major rewriting, optimization and simplifying of the pmap code:
...
- Map in all physical memory first in system space. This reduces
pmap_copy_page() and pmap_zero_page to 3 resp. 2 instructions.
- Have fized position user page tables. Makes the pv_table smaller
and all reverse references faster (and simpler).
- Remove the wiring code. Nobody doesn't even know what a DR32 is anymore.
- Simulate page reference bit by setting page invalid, as suggested by
Rich Draves in a paper for 1991 Mach Usenix Symposium.
This reduced the time spent in the pmap module to between 70-75% of
the previous; and made process startup _much_ faster.
1997-11-02 14:25:26 +00:00
ragge
9b1a735c8f
Major rewriting, optimization and simplifying of the pmap code:
...
- Map in all physical memory first in system space. This reduces
pmap_copy_page() and pmap_zero_page to 3 resp. 2 instructions.
- Have fized position user page tables. Makes the pv_table smaller
and all reverse references faster (and simpler).
- Remove the wiring code. Nobody doesn't even know what a DR32 is anymore.
- Simulate page reference bit by setting page invalid, as suggested by
Rich Draves in a paper for 1991 Mach Usenix Symposium.
This reduced the time spent in the pmap module to between 70-75% of
the previous; and made process startup _much_ faster.
1997-11-02 14:25:24 +00:00
ragge
ae27edc757
Major rewriting, optimization and simplifying of the pmap code:
...
- Map in all physical memory first in system space. This reduces
pmap_copy_page() and pmap_zero_page to 3 resp. 2 instructions.
- Have fized position user page tables. Makes the pv_table smaller
and all reverse references faster (and simpler).
- Remove the wiring code. Nobody doesn't even know what a DR32 is anymore.
- Simulate page reference bit by setting page invalid, as suggested by
Rich Draves in a paper for 1991 Mach Usenix Symposium.
This reduced the time spent in the pmap module to between 70-75% of
the previous; and made process startup _much_ faster.
1997-11-02 14:25:19 +00:00
ragge
84f5dc2404
Fix clearing of redundant restart flag; CPU specific.
...
Also clean up a bit.
1997-11-02 14:07:07 +00:00
ragge
a8e1e83943
#include files must be in the correct order.
1997-11-02 14:01:07 +00:00
thorpej
665f7d1a6e
Implement __RENAME() in <machine/cdefs.h>
1997-10-22 05:20:32 +00:00
ragge
e603ff5aa3
Fix vers.c dependency; PR#4090.
1997-10-20 11:54:26 +00:00
ragge
efa4c7c48e
MSGBUFSIZE must be in CLBYTES, not NBPG. Also expand it to 4 * CLBYTES.
1997-10-19 20:48:47 +00:00
ragge
2260651129
Add match code to detect more than one SCSI adapter on 3100.
...
Provided by Bertram Barth.
1997-10-19 20:35:15 +00:00
ragge
d379f24df5
#include <vm/vm.h>. Fix some erroneous declarations.
1997-10-19 14:33:48 +00:00
ragge
e0bc9f61d7
Add a sometimes needed round_page().
...
Always flush TLB when messing around with system mapping.
1997-10-19 14:32:42 +00:00
ragge
a9510ace16
Only check for process switch if we are coming in from userspace.
...
Make ERESTART work for syscalls >63.
While we're here; clean up a little bit.
1997-10-19 12:32:52 +00:00
ragge
038cd08cce
Make UBA adapter selection work on 8600 again.
1997-10-18 23:39:18 +00:00
christos
801520ffac
fix chrtoblk declaration
1997-10-16 23:43:16 +00:00
explorer
80513cb5ae
o Make usage of /dev/random dependant on
...
pseudo-device rnd # /dev/random and in-kernel generator
in config files.
o Add declaration to all architectures.
o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
that this code is derived in part from Ted Tyso's linux code.
1997-10-13 00:46:08 +00:00
bouyer
6ab3092b11
Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
...
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
thorpej
616e0b7e33
Copyright assigned to The NetBSD Foundation.
1997-10-05 18:26:38 +00:00
lukem
7d508b124f
define SIZE?=size, and use ${SIZE} instead of size. makes cross
...
compilation easier
1997-10-03 07:17:00 +00:00
christos
7f41ec0345
PR/4162: Chris Jones: make cleandir does not work properly; it does not
...
remove the object files and the .depend file in the kernel build directory.
1997-09-30 22:50:53 +00:00
leo
d4713d24c2
Implement the kernel part of pr-1891. This allows for a more flexible sized
...
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
mycroft
16a8787248
Fix execve(2) and *setregs() interfaces so emulations can set registers in a
...
more correct way. (See tech-kern.)
1997-09-11 23:01:44 +00:00
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
mjacob
6ac7f6248f
add a before tab to SCSIVERBOSE
1997-08-23 19:16:06 +00:00
mjacob
1a7afa3853
add commented out reference SCSIVERBOSE option
1997-08-20 18:38:13 +00:00
ragge
cd0d651d0f
delay() must be protected by #ifdef _KERNEL.
1997-08-05 13:28:51 +00:00
ragge
23e157b82b
Handle XFC instruction faults.
1997-07-28 21:48:33 +00:00
ragge
ab4412faad
Actually do 'halt' or 'reboot' on MicroVAX.
1997-07-26 10:12:40 +00:00
ragge
b17d1e7207
Fixed bug causing machines with a memory size not a multiple of 16k
...
to crash. This is true on many MicroVAXen.
1997-07-25 21:54:48 +00:00
jtk
9388f271a9
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 02:12:50 +00:00
perry
ad1710ce1e
update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson
1997-07-12 16:18:36 +00:00
ragge
759763742b
Remove __VM_PMAP_HACK.
1997-07-06 22:38:22 +00:00
ragge
59501e1879
Fix bug causing all uda's to be recognized as ctlr 1 from boot.
1997-07-04 13:26:02 +00:00
ragge
d7d40e44f6
Bugfix to mscp tape code; so that weof/eot works correctly.
1997-07-04 11:58:20 +00:00
ragge
9f009387fc
Must grok includes. Also; prettier compile-time printout.
1997-06-29 21:30:09 +00:00
thorpej
0404c01c46
#define DB_AOUT_SYMBOLS
1997-06-26 01:26:56 +00:00
thorpej
cf016f61f4
foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
...
from the disklabel accordingly.
1997-06-24 00:56:28 +00:00
ragge
2ab0792e74
Bug fixes to page fault handling system. Many thanks to Johnny Billquist
...
for hunting down this bug(s).
1997-06-13 15:16:25 +00:00
ragge
5c3a8f6b46
Not-yet-finished console RX01 driver for 11/780.
1997-06-13 14:55:07 +00:00
ragge
9412f1c4fc
Some new definitions for different boot devices.
1997-06-13 08:24:09 +00:00
ragge
68a4a97360
Add clock_subr.c.
1997-06-13 08:18:49 +00:00
ragge
5cfff50811
cpu_switch() should be mi_switch(). Pointed out by Johnny Billquist.
...
(bqt@update.uu.se )
1997-06-12 16:23:22 +00:00
mrg
552af779d2
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:46:19 +00:00
mrg
dc6a98e92c
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:09:23 +00:00
veego
6ab737a609
Initialize machine from MACHINE and machine_arch from MACHINE_ARCH.
1997-06-08 23:59:57 +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
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
de7e49a954
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:26:01 +00:00
gwr
e2a58b69f7
Add #define __VM_PMAP_HACK as a temporary measure.
1997-05-16 21:35:30 +00:00
ragge
05de3b9034
Multicast definitions, forgotten in previous checkins.
1997-05-15 20:10:23 +00:00
ragge
e3a104cb1f
Oops, I forgot to check this file in after clock changes.
1997-05-04 19:13:33 +00:00
ragge
0a9b7dccc7
BPF and multicast support added, patches provided by Jonathan Stone
...
and Ken Wellsch. Fixes PR#2796.
1997-05-02 17:11:24 +00:00
ragge
749ec2a297
Remove #define LEDEBUG.
1997-04-21 22:04:23 +00:00
ragge
400a0d512e
Fix so that these files compile again after recent ARP changes.
1997-04-19 15:02:27 +00:00
ragge
12c25bea6a
Update floppy boot files to confirm to new boot syntax.
1997-04-19 11:42:14 +00:00
ragge
df9ea3ac75
Updates to KA43 (VS3100/76) support by Bertram Barth.
1997-04-18 18:53:38 +00:00
ragge
36b2211d14
Change implementation of TOY clock addressing. Gives us only
...
one routine for three different HW implementations.
1997-04-18 18:49:33 +00:00
ragge
3611dda5d0
Add better boot support for VS3100/??.
1997-04-10 21:25:18 +00:00
ragge
b7973034b4
& should be |.
1997-04-06 20:37:05 +00:00
christos
738cdfd351
Add netatalk netisr
1997-04-03 17:35:56 +00:00
thorpej
2268a2c7eb
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:52 +00:00
gwr
37b247edde
Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/
1997-03-26 22:42:13 +00:00
gwr
71e43d14ab
Move findroot/setroot stuff from configure() to cpu_rootconf().
1997-03-26 22:38:40 +00:00
ragge
720d1ef3f7
Update address struct to recognize KA420 motherboard.
1997-03-22 23:05:31 +00:00
ragge
65469bc546
CPU support for MV3100. (KA41)
1997-03-22 23:02:07 +00:00
ragge
ab80098c50
Clean up DZ console routines. Use memory size from boot (if provided).
1997-03-22 12:50:56 +00:00
ragge
608bad4ba2
Bugfixes to lance routines. Get memory size from rpb to pass to kernel.
...
Support some more CPU types in boot.
1997-03-22 12:47:27 +00:00
thorpej
1d987a161b
#include <net/if_media.h>
1997-03-17 03:17:34 +00:00
ragge
10bf322448
Make install docs more up-to-date.
1997-03-15 20:08:33 +00:00
is
07b064e02e
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
ragge
44936626ed
Make boot compile again.
1997-03-15 16:39:20 +00:00
ragge
abedbf253e
Clean up console autoconfiguration so that the VAXstation DZ11-like
...
console work.
1997-03-15 16:36:17 +00:00
ragge
668632a4df
Change the way boot device is figured out; now only using DEC numbers
...
and done when the device get attached.
1997-03-15 16:32:16 +00:00
ragge
2a79087848
Put in some #ifdef's to compile only for MV2000.
1997-03-15 16:14:23 +00:00
ragge
285002ead6
Cleanup. Prepare for getting memory size from boot (VMB).
1997-03-15 16:11:25 +00:00
ragge
0044b4ccf0
Add a forgotten #ifdef. Remove debug printout.
1997-03-15 16:07:17 +00:00
ragge
1d90a0a507
Add definitions for DEC HW device numbers.
1997-03-15 15:09:40 +00:00
ragge
b5b674f227
Do not use inline functions in boot blocks. Some CPUs doesn't have
...
all instructions.
1997-03-15 15:08:23 +00:00
ragge
8fa1cdb04b
Add routines for network handling and standalone le driver.
...
To make this work nice, big changes to the boot unit handling
was also required. From now only DEC HW unit numbering are used
in boot, to easy match boot device in kernel.
1997-03-15 13:04:22 +00:00
mycroft
f868dff8d3
Define the `cleankernel' target consistently with other ports.
1997-03-14 23:27:29 +00:00
ragge
2bbaeef8cc
Fast and dirty fix to avoid panics during autoconf of KFQSA DSSI disks.
...
Controller errors showing up can't be handled anyway.
1997-03-12 19:42:30 +00:00
ragge
2b8ac648a3
Frob pages before trying to map them, to be sure they exist.
1997-03-09 16:00:06 +00:00
ragge
b64bca2999
Fixed bug that caused d partition being treated as c.
...
RAW_PART is 2, not 3.
1997-03-09 15:55:58 +00:00
ragge
9bf924ecc4
Be able to find out if we are booted from network.
1997-02-27 19:43:26 +00:00
gwr
2de163471e
Minimal changes to adapt to removal of NCR5380_PERMIT_RESELECT.
...
This driver should be updated to allow per-target control over
disconnect/reselect, but I will leave that to the port masters.
1997-02-26 22:29:08 +00:00
ragge
5e35ea57c5
Patches to make VS2000 to work. From Ari Suutari.
1997-02-26 18:38:19 +00:00
fvdl
115b6d92fa
Define ALIGNED_POINTER
1997-02-24 23:16:53 +00:00
ragge
e86bc96653
Basic change to cpu-config code. This will make support of new
...
cpu types much easier.
1997-02-19 10:04:09 +00:00
ragge
c3aeacf957
unsigned -> long to match ddb change.
1997-02-16 20:37:29 +00:00
ragge
657c7b5d55
This file has been obsoleted for ages.
1997-02-16 17:40:46 +00:00
ragge
9efff168a1
Remove ::
1997-02-12 18:07:53 +00:00
ragge
cb344cfe97
ra disks is DV_DISK, not DV_DULL.
1997-02-12 18:02:47 +00:00
ragge
40f0692085
s/tms/mt/
1997-02-12 18:00:42 +00:00
ragge
e7d1921239
Remove bogus prototypes.
1997-02-12 17:58:56 +00:00
ragge
e42e582ebb
Fix so it works with root over NFS.
1997-02-12 17:57:39 +00:00
ragge
c44e241f49
Add a forgotten #ifdef DDB
1997-02-12 17:55:54 +00:00
ragge
f5f92a31ca
Walk a step closer to more intelligent User PTE handling.
1997-02-12 17:52:59 +00:00
ragge
2bb5ceb3e0
Improve sub-type identification of the CVAX CPU, for later cache handling.
1997-02-12 17:50:36 +00:00
gwr
ea3925f508
FIXUP_PC_AFTER_BREAK now takes an arg of type db_regs_t *
1997-02-06 21:16:28 +00:00
ragge
a1d8a4570c
Support for DL11 (-compatible) async ctlr.
...
Written by Ben Harris (bjh@mail.dotcom.fr ).
1997-02-04 19:13:15 +00:00
perry
19d153fc48
Nuke some options GENERIC residue.
1997-02-04 04:57:10 +00:00
perry
0b3a46d6b3
Nuke some GENERIC residue.
1997-02-04 04:31:55 +00:00
thorpej
739f23a219
This file is obsolete; this information is now generated by config(8).
1997-01-31 05:12:49 +00:00
thorpej
9b683dc125
Use new machine-independent setroot().
1997-01-31 02:13:40 +00:00
thorpej
003dad8fdd
Pass a struct device ** down to the functions that find the boot device.
1997-01-31 02:12:31 +00:00
thorpej
fc9c10afb7
Update prototypes to match new calling convention of functions that
...
find the boot device.
1997-01-31 02:11:51 +00:00
thorpej
2b43c7eab7
Adopt for new file system and root spec grammar.
1997-01-31 02:10:33 +00:00
thorpej
b170998941
"md" is declared in sys/conf/files, now.
1997-01-21 09:50:17 +00:00
ragge
2b8e7e782a
std.vax readded, shall be here anyway.
1997-01-12 12:38:56 +00:00
ragge
09adf20559
Need a couple of extra #ifdef's to compile.
1997-01-11 13:50:20 +00:00
ragge
3026c5e35e
Put in another external declaration.
1997-01-11 11:46:43 +00:00
ragge
eb0bc83700
Update due to changes to uba/mscp functions.
1997-01-11 11:34:39 +00:00
ragge
54e8120422
Oops, forgot an printf.
1997-01-11 11:31:57 +00:00
ragge
2a826b413f
Prototype updates.
1997-01-11 11:31:26 +00:00
ragge
52c3b92063
Put common map in code here instead of lots of places.
1997-01-11 11:24:51 +00:00
ragge
3774ec6c5c
Update due to prototype changes.
1997-01-11 11:23:09 +00:00
ragge
2b34ded4f8
Many minor bug fixes; mscp subsystem seems to work rather stable now.
1997-01-11 11:20:31 +00:00
ragge
59d5be04e9
Add EXEC_AOUT and EXEC_SCRIPT. std.vax not needed anymore; removed.
1997-01-11 11:15:38 +00:00
ragge
7bf599379e
Prototype change of scanc needs change here also.
1997-01-11 11:07:52 +00:00
ragge
f98e31628a
#define MAXBSIZE to some nice value.
1997-01-11 11:06:17 +00:00
mikel
aed485cdf2
add 'pseudo-device ccd' where necessary; PR kern/1830.
1997-01-11 09:11:37 +00:00
mrg
c71a371532
use pseudo-device ipfilter, not ipl.
1997-01-07 11:35:01 +00:00
ragge
3896082c5a
Add rd, sd, cd, md, st, ss, uk, ch and ipl device entries.
1997-01-05 18:49:12 +00:00
cgd
96acdadef7
First step inn removing config_scan() and the hacks that gave devices
...
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:
Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
jonathan
4c1d96de78
* Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
...
Lets users over-ride with makeoptions COPTS="..." in kernel config files.
Leave `mandatory' flags (like -msoft-float which on m68k enforces no
FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
jtc
9da5f60715
PROF -> GPROF
1996-11-30 02:48:57 +00:00
jtc
16b48272c4
Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_
1996-11-15 22:38:45 +00:00
thorpej
23ff20cd74
Use bitmask_snprintf().
1996-11-15 03:32:46 +00:00
thorpej
f6290552bf
Use bitmask_snprintf().
1996-11-15 03:11:19 +00:00
cgd
8a3333b2a9
Fix an inconsistency that came in with Lite: setrq() was renamed to
...
setrunqueue(), but remrq() was never renamed. Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
thorpej
150c33e60b
Use ${INSTALL}.
1996-10-18 05:55:26 +00:00
christos
e37692f04d
backout previous kprintf change
1996-10-13 03:29:05 +00:00
christos
16b74d2c00
use in_addr_t and in_port_t
1996-10-13 03:28:00 +00:00
christos
eb314d8358
printf -> kprintf, sprintf -> ksprintf
1996-10-11 01:50:21 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
mycroft
b3ffba62a6
Move strip(1) flags into a separate variable, so that $STRIP can
...
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
fc3def4096
Remove duplicate declarations of LKM functions and macros.
1996-09-05 15:46:22 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
mycroft
30a617c634
Wrap the default definition of `S' in `.ifndef'.
1996-08-31 21:40:47 +00:00
cgd
71ad30d0e9
(1) set scsi_link channel to either the appropriate channel (if a
...
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
ragge
1c367d4761
Modify bus code arguments. Cleanup.
1996-08-20 14:19:41 +00:00
ragge
2e489636e4
Use common routine to map in pages before DMA'ing.
1996-08-20 14:15:04 +00:00
ragge
c5db4b8756
Support for cmi bus on 11/750.
1996-08-20 14:13:50 +00:00
ragge
34d020edd2
Change uba* functions to take pointers, rather than uba unit numbers.
1996-08-20 14:07:33 +00:00
ragge
1be0c00cf0
Add another parent bus for 11/750 (cmi). remove mtc.c.
1996-08-20 14:05:16 +00:00
ragge
9f1148c9c4
Use the same device driver for both uda and mtc. Actually, the only
...
difference is vcid. The unit names must differ, so that it is possible
to distinguish them at autoconf time.
1996-08-20 13:49:15 +00:00
ragge
3a504ef134
Modified to get cleaner match/attach code for different parent buses.
...
Fix so that resource wait queueing works.
Changed all functions to take a pointer to uba_softc instead of unit
number, except for ubareset(). This must be done later.
1996-08-20 13:37:57 +00:00
jonathan
4a1279de25
Import framebuffer drivers from 4.4-Lite2 as the root for NetBSD drivers.
...
Only change from Lite (or lite2, qv.c and qd.c do not change) is adding
NetBSD RCS ids.
1996-08-18 21:28:53 +00:00
mycroft
558d72128e
Put into . Remove hooks for `config-dependent' and
...
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft
cf67f29afe
* Add a HOSTED_C_C variable, which strips `-p', `-pg', and
...
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft
f94052ed3a
* Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
...
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mrg
5abbf990f3
Change reboot(2) to take two arguments: bootopt like normal and also
...
a boot string for firmware that can do this, such as the SPARC and
the sun3 models. It is currently silently ignored on all other
hardware now, however. The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
ragge
fdcabd43da
Do not use any emulated insn's in boot program. (in this case cmpc3).
...
Add strncmp to get around this.
1996-08-02 16:18:39 +00:00
ragge
5e04d04d68
Add support for booting Vaxstations; from MFM and SCSI. (PROM-based boot).
1996-08-02 11:21:41 +00:00
ragge
cbca944854
LANCE driver for vaxstations.
1996-07-20 19:01:55 +00:00
ragge
88a147e51b
CPU determine code. ts driver converted to new config. May work, untested.
1996-07-20 19:00:22 +00:00
ragge
15409eef53
Update config files for VAX8200 and VAXstations.
1996-07-20 18:56:58 +00:00
ragge
38b1264285
SCSI and ST506 support for the VAXstation architecture.
1996-07-20 18:55:09 +00:00
ragge
a8f6512e6d
VAXstation CPU and serial console support.
1996-07-20 18:29:49 +00:00
ragge
7707223bc4
Locore changes for VS and VAX8200.
1996-07-20 18:20:42 +00:00
ragge
1abb214901
Bugfix causing erroneous address displaying.
1996-07-20 18:17:29 +00:00
ragge
fd3f596fa3
Reflect the changes of CPU determination. Add support for VAXstations.
1996-07-20 18:14:41 +00:00
ragge
aab842833e
Put in rd (ST506 disk), sd and st.
1996-07-20 18:08:19 +00:00
ragge
a6c464a5f7
Add vmapbuf/vunmapbuf for VAXstations that need them.
1996-07-20 18:02:47 +00:00
ragge
caff7b03d4
Numerous changes to be able to put Bertram Barth's VAXstation support in.
...
(Some) Support for VAXstation 2000/MicroVAX 2000, VAXstation 3100/76.
1996-07-20 17:58:12 +00:00
ragge
7ac59ffe68
Reworked time handling; now also handles clock chip CPUs correctly.
1996-07-20 17:35:41 +00:00
ragge
5b0992267c
Support for VAX8200; the ka820/ka825 CPUs.
1996-07-20 17:33:06 +00:00
ragge
c828b7ce6d
Support for the VAXBI bus, and KDB50 device driver (MSCP disk).
...
Parts of this written by Chris Torek at the beginning of time.
1996-07-19 14:26:52 +00:00
ragge
ce30ddd46b
Obsoleted by now.
1996-07-15 11:50:40 +00:00
ragge
640bda0d46
Put in boot support for VAX 8200.
1996-07-15 11:11:01 +00:00
ragge
a5b04afcd8
Automatic changing of root device after boot now works.
1996-07-11 19:33:50 +00:00
ragge
e9d6f189c1
Add MSCP tape to this file.
1996-07-10 23:51:53 +00:00
ragge
02d0803c80
Add spl4 - spl7 macros, easy to use when playing with buses.
1996-07-10 23:51:08 +00:00
ragge
4d687fb39d
Slow down DELAY for 11/785.
1996-07-10 23:48:42 +00:00
ragge
9c24877b23
Remove tmscp protocol definition file; which was actually the same
...
as the mscp protocol.
1996-07-10 23:44:17 +00:00
ragge
5d6b8719b2
Remove old (tape-only) tmscp driver. Add new uba/qba driver
...
for common MSCP routines.
1996-07-10 23:42:05 +00:00
ragge
cb355cf8d5
Add support for tape drives. More extensive error checking.
1996-07-10 23:35:58 +00:00
ragge
1e3ab3cb1e
uda -> ra and tms -> mt (mscp changes).
1996-07-01 21:50:29 +00:00
ragge
d969a7e16e
Changed data structures due to removal of old config system.
1996-07-01 21:31:36 +00:00
ragge
f6fb3bf1ab
Change to new config and to support new MSCP system.
1996-07-01 21:24:48 +00:00
ragge
f85a693859
Update to match new MSCP device handling.
...
Remove support for old config system.
1996-07-01 21:07:25 +00:00
ragge
dfdb4e6863
Remove old config support code.
1996-07-01 20:48:58 +00:00
ragge
f19e0bacab
Rewritten and moved to vax/mscp.
1996-07-01 20:47:27 +00:00
ragge
60af617a5d
Totally new approach for MSCP devices; they are now handled more like SCSI.
...
All Unibus dependencies are removed.
Can support different controllers on different buses.
Allows cloning of devices.
TODO:
Write support for MSCP tapes.
1996-07-01 20:41:30 +00:00
ragge
97756165b8
Remove code that took care of old config devices. Don't support
...
old config anymore, all devices should use new config by now.
Add structures to handle DMA devices using new config.
Fixed bug that caused unwanted ubareset's on 11/780.
1996-07-01 20:17:56 +00:00
cgd
352d972c94
locc() is unused. Remove it from the machine-independent kernel interface.
1996-06-10 15:33:33 +00:00
ragge
7cbd855ad6
Fixed all (proto)type errors. Fixes PR 2377.
1996-05-19 16:43:02 +00:00
ragge
f4c525a623
Update from Ken Wellsch.
1996-05-19 16:27:02 +00:00
ragge
6bd144b812
Add DZ-11 to GENERIC & files.vax.
1996-05-19 16:25:23 +00:00
mycroft
540f9550c0
Make `make depend' work for libraries.
1996-05-11 16:11:30 +00:00
thorpej
69351e2be6
Changed struct ifnet to have a pointer to the softc of the underlying
...
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:35:48 +00:00
ragge
a24af7a7c2
Added prototypes to everything. Made all files compile with -Wall.
1996-04-08 18:32:26 +00:00
ragge
86c328d230
Drivers for DZ11/DZV11/DZQ11 serial cards.
...
Written (mostly) by Ken Wellsch.
1996-04-08 17:22:20 +00:00
cgd
83f9bdc359
update for the fact that config_found() and config_rootfound() now
...
return pointers. (Check vs. NULL, rather than just boolean tests.)
1996-04-04 06:25:00 +00:00
ragge
da9fca44a5
CVS trouble.
1996-04-02 13:52:28 +00:00
ragge
8fa15eb73f
Ubareset are now possible, devices that wants it now set it up
...
during autoconfig. ifubareset (if_reset) no longer used, actually
it's just a normal ubareset and is now handled like that.
1996-03-18 16:47:24 +00:00
ragge
6275c70064
Convert all devices according to the changes to config.
1996-03-17 22:56:15 +00:00
ragge
dfaa8f2e96
Update from Ken Wellsch: The DHU driver can now handle DMA transfers.
1996-03-17 22:51:48 +00:00
ragge
3b5cb56887
Do not have debugging enabled by default.
1996-03-17 22:49:55 +00:00
ragge
b7cf2432a0
Fix type clashes.
1996-03-17 22:44:48 +00:00
ragge
f9ee92c45a
Support installation of /usr/mdec files.
1996-03-16 11:03:11 +00:00
ragge
33aad32f37
Accept adapter numbering in boot.
1996-03-16 11:02:28 +00:00
jtc
2ce5f1478b
Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
1996-03-16 01:31:45 +00:00
christos
25b31cbc91
fdopen -> filedescopen
1996-03-14 21:31:56 +00:00
ragge
f01a5dd8cc
We lost declaration of kernel_pmap_store somewhere, put it back.
1996-03-09 23:39:51 +00:00
ragge
3a07f941ba
Check on which SBI we are frobbing, not always 0.
1996-03-09 23:38:34 +00:00
ragge
24b2b310ae
Add support for ktracing syscalls.
1996-03-09 23:37:20 +00:00
ragge
4ee5419b8a
Panic on SBI fault.
1996-03-09 23:36:40 +00:00
ragge
c7282ed159
Change NTU to NHT.
1996-03-09 23:36:09 +00:00
ragge
ba7706dd3c
Files to generate usable console RL02 packs on 8600.
1996-03-08 12:41:33 +00:00
ragge
3ac9ff6af4
Support for the RL02 disk at the PDP11 frontend console added.
1996-03-08 12:32:47 +00:00
ragge
6e51b1e47e
Support for VAX 8600/8650 added. Works with lots of Unibus adapters,
...
and will probably work with Massbus adapters as well. (Not tested,
but it's the same code as for 11/780). Ubareset's may cause crashes
on 8600 also like 11/780, but they are more uncommon. No support
for console RL02 yet, but it's likely to come.
1996-03-07 23:22:34 +00:00
ragge
3f09ddf89f
Fix of MicroVAX clock chip code, so that time sets right after reboot.
...
Fix done by Ken Wellsch.
1996-03-07 23:03:03 +00:00
cgd
18ec26aa21
add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
...
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
ragge
c2ce0848e2
Added ns_cksum.c.
1996-03-03 11:56:33 +00:00
ragge
c76bb64058
Machine-optimized version of ns_cksum.c.
1996-03-03 11:54:37 +00:00
ragge
c22fc0bce4
Enable label_t.
1996-03-03 11:21:31 +00:00
ragge
e82da18ec2
Fix include file ordering.
1996-03-03 11:18:59 +00:00
ragge
f2bcddae7f
Fix fuswintr/suswintr arguments to match prototype.
1996-03-03 11:17:59 +00:00
ragge
7ade5ebd76
Files needed to create boot floppies for 11/780, most of them
...
taken directly from 4.4BSD.
1996-03-02 17:57:34 +00:00
ragge
ffc8953cd7
Change config delay's to more reasonable values.
1996-03-02 14:29:23 +00:00
ragge
5d89814116
Changes due to 11/780 support. Raise splimp() to BR7.
1996-03-02 14:27:52 +00:00
ragge
cef093b42e
Add VAX780 support to the boot program.
1996-03-02 14:22:57 +00:00
ragge
8fbcb8ce5a
Add VAX780 and DHU11 to the GENERIC file. Put the corresponding
...
file lines in files.vax.
1996-03-02 14:19:47 +00:00
ragge
10fe8f1971
All devices can now be in GENERIC.
1996-03-02 14:14:05 +00:00
ragge
827892239a
Add support for DW780. Note that ubareset's don't work properly.
...
This is not a problem on other Unibus adapters, but DW780's do
ubareset's more often. This needs to be fixed by someone someday.
1996-03-02 14:09:57 +00:00
ragge
89e32834cd
Fix some too long delays. Set some structs volatile that otherwise
...
caused hangs during autoconfig.
1996-03-02 14:06:03 +00:00
ragge
508f81daca
Support for VAX 11/780 - 11/785 system types added.
...
There are no support (yet) for the RX01 console floppy,
even if it is actually needed to create boot floppies.
(The arff utility is also missing, so...)
1996-03-02 13:45:34 +00:00
ragge
a14bb8a710
Add a #ifdef TUDEBUG around a printf statement.
1996-03-02 13:41:24 +00:00
ragge
c45af1134a
Unibus/Q22 bus device driver for DHU-11 serial card.
...
Written by Ken Wellsch. (kcwellsc@math.uwaterloo.ca )
1996-03-02 13:30:53 +00:00
cgd
1c5d7babe5
Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE.
1996-03-01 23:30:08 +00:00
cgd
3d67685d36
Do not build vnode_if.[ch] for each kernel. Build them once, like the
...
various syscall sources/headers, and just compile them. From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
mycroft
2ce52ae489
Define build programs with `?=', so they can be overridden with `makeoptions'.
1996-02-26 02:53:20 +00:00
ragge
1376f92db9
Add routine to convert phys device number to kernel unit number.
...
Allow to set disklabel area writable.
1996-02-24 21:22:54 +00:00
ragge
f2aaea55c2
Make setroot() grok where we boot from even if it is hp disks.
1996-02-24 21:20:01 +00:00
ragge
df5a5e9485
Remove __FORK_BRAINDAMAGE, and the reason to why it was there.
1996-02-24 15:17:35 +00:00
ragge
2294cbd022
Fixed bug causing DMA to user stack from Massbus disks to give segfaults.
1996-02-23 17:54:33 +00:00