Commit Graph

326 Commits

Author SHA1 Message Date
cgd d727565526 fill in the tty window size information, so that standard terminal
entries can be used with weird displays.
1996-04-17 21:48:30 +00:00
cgd 60add3dea0 update for current state 1996-04-15 19:00:46 +00:00
cgd 1bd905d710 include <sys/termios.h> to make <dev/isa/comvar.h> happy, and set the
serial ('com') console bit size and parity to be "cs8 -parenb".
1996-04-15 18:58:20 +00:00
cgd 98d92322b1 update for recent config changes: xxcd -> xx_cd 1996-04-13 00:31:37 +00:00
cgd cad6c2d600 capitalize IRQ names here, to match what's reported on boot 1996-04-13 00:25:24 +00:00
cgd 21ac0b2a36 update for new ISA/EISA/PCI/'bus' interfaces. Untested 1996-04-13 00:24:30 +00:00
cgd 161623e54e add (untested) support for EISA busses hanging off of PCEBs. 1996-04-13 00:23:34 +00:00
cgd f32c94e82c note that these IRQs are ISA IRQs 1996-04-13 00:22:58 +00:00
cgd c0b2b5595c Replace with completely new version derived from APECS code. No serious
bugs to fix (that i know of), just doing it that way was easiest.
1996-04-12 23:37:10 +00:00
cgd 56a6e33bb6 "Do over." Throw the old file away, replace it with a version hacked
from the current apecs_pci.c.  This new version hopefully works for
the same sets of devices that that previous one did, and hopefully
will work for multi-function devices and for secondary PCI busses as
well.  (looking at the code, there was no way the old one could have!)
1996-04-12 23:27:05 +00:00
cgd 435c2f935e config first, so there's someplace to cd to. 1996-04-12 20:27:42 +00:00
cgd ae42d9fdbd oops; forgot to remove a line of debugging/testing code 1996-04-12 20:22:14 +00:00
cgd 576c769331 clean up copyrights and RCS IDs 1996-04-12 06:07:05 +00:00
cgd eb4de32615 Set up and pass isa chipset tag to ISA bus, when attaching.
Should do the same for EISA, when that support is finished.
1996-04-12 05:43:02 +00:00
cgd 98c183ff49 remove (hack) version of isa_intr_establish() 1996-04-12 05:41:50 +00:00
cgd 69d8f0e09a define all of the appropriate functions, as indirections through
a function switch.
1996-04-12 05:39:02 +00:00
cgd 0da2610536 this file is no longer used 1996-04-12 05:35:51 +00:00
cgd 931ec3829c partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet
complete, or tested.
1996-04-12 04:40:49 +00:00
cgd c6af4505f1 implement 'bus' functions for the CIA chipset. 1996-04-12 04:40:01 +00:00
cgd 647469cfbc update for new ISA/EISA/PCI and 'bus' interfaces. 1996-04-12 04:38:33 +00:00
cgd 125eefcd67 implement APECS and LCA 'bus' functions, and share them between the
two chipsets, since they're the same.
1996-04-12 04:36:12 +00:00
cgd 04645aa7ad chipset 'bus' functions that seem to be common to all host bus
adapters that exist in single-CPU systems.  APECS, CIA, and LCA
all use this, but with different #defines.
1996-04-12 04:34:59 +00:00
cgd ba7bbf8c30 update for new PCI, etc., interfaces 1996-04-12 04:33:06 +00:00
cgd be813334f8 (mostly) update for new PCI and 'bus' interfaces. 1996-04-12 04:32:10 +00:00
cgd b26a595361 update for new PCI, etc., interfaces. 1996-04-12 04:31:48 +00:00
cgd caa9d61d58 add indirect register definitions. 1996-04-12 04:31:08 +00:00
cgd 7b08107723 update for new PCI code, etc. As yet, untested. 1996-04-12 04:30:11 +00:00
cgd f357f1b38a partially update for new PCI & bus macros. update to deal with new
console glue.  Split out RAMDAC-specific code into seperate files.
1996-04-12 02:13:09 +00:00
cgd a52d1c3efe clean up for new ISA and 'bus' code, etc. 1996-04-12 02:11:22 +00:00
cgd c2ca361599 update for new ISA & PCI code, etc. 1996-04-12 02:09:51 +00:00
cgd 706b61a9a3 add some sanity checks to avoid lossage when dealing with unmanaged
pages, and clean up a little bit.
1996-04-12 02:09:24 +00:00
cgd de1319f259 define delay() here, rather than in clock.c 1996-04-12 02:07:52 +00:00
cgd 92c3ba0426 new entries for keyboard, mouse, and parallel printer 1996-04-12 02:07:23 +00:00
cgd 99841b9cdd cast return of phystok0seg() to a caddr_t, to suit uiomove proto 1996-04-12 02:06:21 +00:00
cgd 73378c1529 add rpcc entry point 1996-04-12 02:05:48 +00:00
cgd 26bf14c6fe update for new ISA & bus code, and clean a bit 1996-04-12 02:05:14 +00:00
cgd f0a062ba62 replaced by files in ../wscons 1996-04-12 02:02:06 +00:00
cgd 89579980e6 this has moved to ../include 1996-04-12 02:01:51 +00:00
cgd 7a58e4fe08 "workstation console glue." glass tty code, console emulation,
keyboard and mouse interfaces, etc.  Mostly grabbed from the sparc,
and adapted and trimmed where appropriate.
1996-04-12 02:00:42 +00:00
cgd 607fdc7ab6 (incomplete) machine-dependent ISA definitions. 1996-04-12 01:57:42 +00:00
cgd 42362ab7a1 PC timer definitions 1996-04-12 01:54:56 +00:00
cgd da4d801b40 speaker (PIT AUX port) definitions 1996-04-12 01:54:46 +00:00
cgd c032474c02 add CMU copyright notice 1996-04-12 01:54:04 +00:00
cgd 7aadd7593f support for PS/2-style mice 1996-04-12 01:53:06 +00:00
cgd 1c35246b36 update for bus.h, add support for X, and provide use of the bell. 1996-04-12 01:52:45 +00:00
cgd 0e6af1ab55 keyboard and frame buffer interface include files, grabbed from the
sparc with minimal modifications, to make X go.  Should really be
trimmed down to include only the relevant information.
1996-04-12 01:45:41 +00:00
cgd b6e9f99e08 TGA reg defns, moved here from ../pci for X. doesn't really belong here 1996-04-12 01:44:23 +00:00
cgd 59ca8b07e6 header which defines 'workstation console glue' ioctls 1996-04-12 01:43:06 +00:00
cgd 0af73c4da4 alpha sysarch header. right now, only defines (inline) alpha_rpcc() 1996-04-12 01:42:45 +00:00
cgd a37e40ef1b the Alpha implementation of <machine/intr.h> 1996-04-12 01:42:17 +00:00
cgd 84b2d703c7 the Alpha implementation of <machine/bus.h> 1996-04-12 01:39:34 +00:00
cgd b151b7e326 these have moved elsewhere 1996-04-12 01:38:51 +00:00
cgd 0e1f086279 add XOPEN constants, clean up 1996-04-12 01:38:25 +00:00
cgd 4bdd407757 update copyright 1996-04-12 01:36:51 +00:00
cgd f695b5badd use jmp, rather than br, in the JMP macro 1996-04-12 01:35:58 +00:00
cgd 1d001142a9 don't forget dkcksum.c, now that it's seperate 1996-04-12 01:35:15 +00:00
cgd 29fe6c8918 clean up a lot, make work with outline mode, and switch functions:
build now builds from scratch, rebuild just runs make.
1996-04-12 01:33:40 +00:00
cgd 9e1fc3f99c kill this; more trouble (for more people) than it was worth 1996-04-12 01:32:54 +00:00
cgd ba87ccc479 update for latest MI TC and SCSI code, and clean up in the face of
config changes.
1996-04-12 01:31:43 +00:00
cgd 7128b7a114 i no longer can do anything with macallan, so kill its kernel config.
However, Jason has a turbochannel alpha, so add its config file.
1996-04-12 01:21:43 +00:00
cgd 34e27f0c56 update for present alpha reality:
add drivers for ps/2-style mice (on the PC-ish alphas), and for the
workstation console glue code.  also, update for config changes, etc.
1996-04-12 01:20:40 +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
thorpej 08607bc611 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:03:02 +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 ab0e60a42f fdopen -> filedescopen 1996-03-14 21:20:59 +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
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
mycroft 753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
christos 2c8314f73c vm prototype changes 1996-02-05 02:06:38 +00:00
mycroft 5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft 2dfbe4f961 Don't define _LOCORE here. 1996-02-02 20:05:08 +00:00
mycroft 9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
mycroft fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft ac03d03239 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:33:26 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
thorpej 5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
jtc 2fce159ff8 Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.
1996-01-04 22:21:33 +00:00
mycroft cd8fe86bcb Make the type of __builtin_va_list a long. 1995-12-26 01:16:24 +00:00
mycroft c098d54e0a Stylistic changes. 1995-12-26 00:15:47 +00:00
mycroft 3da4b2a160 The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft ce000f04ef Remove deprecated cpu_setstack(). 1995-12-21 05:01:32 +00:00
cgd a5c7435308 update for new turbochannel configuration code. 1995-12-20 00:43:20 +00:00
cgd ec7644f74f update to include most of pk's changes to the sparc esp driver.
rework TC configuration code.
1995-12-20 00:40:21 +00:00
cgd cc162e7d82 deal with renaming of asic to ioasic, and other new-tc-config changes 1995-12-20 00:38:53 +00:00
cgd 9e66508169 IO bus for 3000-family boxes is now "tcasic" when then attaches tc.
esp_iomem is unnecessary, has been unnecessary for a while,
apparently.
1995-12-20 00:19:49 +00:00
cgd e3e60a4d81 if subdevice not configured, print something out about it. 1995-12-20 00:18:50 +00:00
cgd 2db5c9e1ef deal with ufs -> ffs transition. 1995-12-20 00:17:49 +00:00
cgd d94de79005 rename TC 'asic' to 'ioasic' 1995-12-20 00:14:10 +00:00
cgd 175729032f rename these more appropriately 1995-12-20 00:12:52 +00:00
cgd c87e761abf these have been renamed 1995-12-20 00:11:15 +00:00
cgd 1ebd4658b5 these are going to be made machine-independent 1995-12-20 00:10:40 +00:00
cgd 17f70e1910 portability definitions for machine-independent TC configuration code. 1995-12-20 00:09:29 +00:00
cgd b206d2fe18 move DELAY's functionality into delay() 1995-12-20 00:08:43 +00:00
mycroft 0e0ac5ed68 cpu_fork() now returns void. 1995-12-09 04:37:23 +00:00
cgd 29d9eeabd1 kill these. they're no longer used. 1995-11-27 23:28:00 +00:00
cgd afc45b4ab7 pull in ECOFF exec code with EXEC_ECOFF 1995-11-25 01:34:38 +00:00
cgd 93a78af882 no DDB 1995-11-25 01:32:34 +00:00
cgd e6dc5f55db update for am7990var.h, am7990.c changes 1995-11-25 01:31:09 +00:00
cgd deb4082f80 wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
	Support for AlphaStation 600 CPUs,
	new boot block structure, which requires an 'installboot'
	    program and works a lot like the NetBSD/sparc boot blocks.
1995-11-23 02:33:17 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
thorpej 03c87b6ebc Use `files.osf1' 1995-09-20 00:20:18 +00:00
thorpej a7417b3ca6 Compile the kernel with -fno-builtin. 1995-09-19 23:28:06 +00:00
thorpej 7d7396c414 Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 22:53:47 +00:00
cgd 0f14e95f52 replace bogus tcl with tch, thanks to briggs 1995-09-05 15:07:05 +00:00
mycroft 29053c58b2 SA_ONSTACK --> SS_ONSTACK 1995-09-01 20:05:59 +00:00
thorpej 66dcd8fd69 Add entries for the ccd. 1995-08-17 17:40:42 +00:00
mycroft c5ec5c3003 Add splsoftnet(). 1995-08-13 00:03:11 +00:00
cgd 9c8d63d05b oops; trim some bogus 1994's from copyrights 1995-08-03 01:23:08 +00:00
cgd 60d53ca3d9 oops; trim some bogus 1994's from copyrights 1995-08-03 01:12:15 +00:00
cgd bedee1822d simplify various configuration code by setting function pointers and
calling the functions they point to.  do real console initialization.
always include ecoff code (it's the "native" format, for now).
simplify kernel argument gathering.
1995-08-03 01:04:03 +00:00
cgd cde26bf293 kill MD #ifdefs, pull primary bus name from global 1995-08-03 01:01:26 +00:00
cgd 44b967e45f kill alpha_mb(); it's now inlined. make copy functions' frame sizes
more easily adjustable.
1995-08-03 01:00:11 +00:00
cgd 196db616cf kill bogus comments, unnecessary functions 1995-08-03 00:58:33 +00:00
cgd d55a404ae1 cpu-specific functions which could be split out of various parts of
machdep.c.  There probably is a better way to this this code up, but
i picked this one for simplicity, for now...
1995-08-03 00:57:05 +00:00
cgd f300c21d2e entries for wsc, com 1995-08-03 00:55:27 +00:00
cgd 49ee71b3c5 MB -> wbflush 1995-08-03 00:54:28 +00:00
cgd 0b0dea1a70 resettodr returns void 1995-08-03 00:53:34 +00:00
cgd 207c4ddca2 MB -> wbflush 1995-08-03 00:52:29 +00:00
cgd 8aa6759ac6 console printf twiddling warning not really necessary now 1995-08-03 00:52:24 +00:00
cgd ffb2012cee MB -> wbflush 1995-08-03 00:52:00 +00:00
cgd 67e0ffcf73 bump NKMEMCLUSTERS up to 4M (increase of 4x) 1995-08-03 00:51:00 +00:00
cgd d0fd75a461 pc keyboard driver, largely snarfed from i386. should be MI, but
until the i386 is capable of using a 'split' version, no point.
1995-08-03 00:48:25 +00:00
cgd 0e899183c9 MB -> wbflush 1995-08-03 00:46:52 +00:00
cgd c296ddcd85 move some of the most important configuration code into a seperate
function, so that it can be called from early bus config code.
1995-08-03 00:44:57 +00:00
cgd 99dd0b8fc8 i/o mapping, kill some trash, map cacheable mem in dense PCI mem space 1995-08-03 00:42:25 +00:00
cgd 14388e344a Brooktree bt485 register definitions. should be MI, but didn't want
to shove my names down others' throats (yet).
1995-08-03 00:40:49 +00:00
cgd 132ad46ef5 "Workstation Console" glue code. Badly "needs chainsawed."
Should be better integrated into autoconfig.  Also, interface should
be designed rather than cobbled together...  Nasty, but it Works.
needs things like ability to pass ioctl()s down to components, ability
to mmap() things, etc.
1995-08-03 00:39:58 +00:00
cgd 9a0323c873 PCI VGA support. should be MI, but not yet 1995-08-03 00:35:55 +00:00
cgd 5413c73bec support for DEC 21030 (TGA) boards -- at this time, only the ZLXp-E1 works 1995-08-03 00:34:25 +00:00
cgd beeaf64fd6 i/o map function dispatch, console picker function 1995-08-03 00:33:58 +00:00
cgd 721de847a4 need i/o map function pointer 1995-08-03 00:33:29 +00:00
cgd e6c1386416 update for all the latest bells and whistles 1995-08-03 00:09:17 +00:00
cgd d5cccabaa3 update to match my reality 1995-08-03 00:07:49 +00:00
cgd d6eba5b92f rename MB to wbflush, make it inline 1995-08-03 00:03:09 +00:00
cgd 830a91b2e9 update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:16:44 +00:00
cgd 479fb9e45b add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
1995-07-06 03:39:32 +00:00
mycroft 7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
cgd dfd39259bf oops; this got mangled. 1995-06-28 08:27:08 +00:00
cgd 2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
cgd c83f9c5568 remove unused cpu_exec() definitions. moved "broken swap" markers, for
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd 40e29d5890 sync with my current Alpha sources 1995-06-28 02:44:51 +00:00
cgd d4a54b73d2 kill user-land DELAY macro, as suggested by gwr. 1995-06-28 02:43:36 +00:00
cgd da6d5a140a update to use new paths for MI lance driver 1995-06-28 02:30:25 +00:00
cgd 6d04247fc7 update to use machine-independent lance driver 1995-06-28 01:48:12 +00:00
cgd 549f126f4b ISA and PCI support for DEC AlphaStations 1995-06-28 01:24:50 +00:00
cgd 5cc82e159a Support for ISA programmed I/O functions. 1995-06-28 01:16:33 +00:00
cgd ba164ee03d update for various (old) NetBSD changes 1995-06-28 01:16:13 +00:00
cgd f36f0cf3e2 update to make current state of knowledge 1995-06-28 01:14:41 +00:00