Commit Graph

357 Commits

Author SHA1 Message Date
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
ragge 2aa22f8fbf Allow rewriting of disk label after newfs. 1996-02-23 17:29:01 +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
ragge 2395bee98d Much faster copyin/copyout subroutines, written by Ken Wellsch.
Improved user-space network I/O (like ftp) with about 1.7 times!
1996-02-13 17:45:32 +00:00
mycroft 27a9f5bd9c Fix #include syntax. 1996-02-13 06:56:58 +00:00
ragge 183d234ae4 Add prototypes. 1996-02-11 13:47:55 +00:00
ragge 4cafd3d7d2 PAGE_SIZE should be PAGE_SHIFT. Really ugly bug! 1996-02-11 13:46:23 +00:00
ragge 26d151d2bb Prototype for delay(). 1996-02-11 13:45:37 +00:00
ragge dfecf19e9f Fix cpu_sysctl() arguments to be like prototype. 1996-02-11 13:43:37 +00:00
ragge 550f120337 Fix things that -O2 broke. Cleanup. 1996-02-11 13:41:35 +00:00
ragge bb75a13fbb Cleanup & convert to KNF. 1996-02-11 13:39:54 +00:00
ragge 998626f339 Add VAX650, mba, hp, ts. Change uba to be *'ed. 1996-02-11 13:28:25 +00:00
ragge 29719357a6 Remove csralloc(), not usable anymore.
Add ubasetvec() to steal interrupt vectors for device drivers that
need more than one vector. Add prototype for it.
1996-02-11 13:24:50 +00:00
ragge d2dadd65df register -> volatile in some places, to make it work OK with -O2. 1996-02-11 13:22:30 +00:00
ragge 435182d4bb Device drivers for massbus adapters and massbus disks.
Works with RP04/05/06/07 disks.
1996-02-11 13:19:33 +00:00
ragge d24ffd421f Support for ka650, tailored in_cksum and removal of a couple needs-count. 1996-02-09 15:24:18 +00:00
mycroft 753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
mycroft d5b078f3e6 Clean this up a little, and make it compile with `traditional' cpp. 1996-02-03 01:43:41 +00:00
mycroft 5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft 4f952cf1e7 #ifdef a call to kdb_trap() on DDB. 1996-02-02 23:19:43 +00:00
mycroft cfefb732a0 Fix type errors. 1996-02-02 22:57:43 +00:00
mycroft dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft 5d668ff961 ASSEMBLER -> _LOCORE 1996-02-02 19:08:33 +00:00
mycroft 0103e26fd8 Fix #includes. 1996-02-02 18:59:16 +00:00
mycroft 9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
mycroft cec913603e Don't special-case conf.c. 1996-02-02 13:38:05 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +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