cgd
811bbb5c72
rework setroot() and friends, largely by cloning from the sparc code
...
and whacking a bit here and there where appropriate. Does not yet do
automatic root device detection, but that's much easier to add now.
RB_ASKNAME now supports specification of network devices, for diskless
booting. Also, RB_ASKNAME is now supported on _all_ kernels.
1996-06-12 01:57:17 +00:00
cgd
ba53a90965
add example 'config' specs for 'root on sd0...' and 'root nfs...'
1996-06-12 01:44:31 +00:00
cgd
698dd157cf
remove "options GENERIC" since it's not needed with new setroot() code for
...
GENERIC kernels, and since it no longer has any other special meaning.
1996-06-12 01:42:46 +00:00
cgd
9d614a5f3f
GENERIC no longer has any special meaning (don't set RB_ASKNAME #ifdef GENERIC)
1996-06-12 01:38:09 +00:00
cgd
5109def361
change the meanings of some boot flags:
...
a (was ~RB_SINGLE, redundant with 'A') -> askname
n (was RB_ASKNAME) -> no meaning
d (was RB_DFLTROOT) -> no meaning (unnecessary with new setroot() code)
m (was RB_MINIROOT) -> no meaning (miniroots currently unsupported;
#ifdef'd out)
N (was ~RB_ASKNAME) -> no meaning (unnecessary; just don't specify RB_ASKNAME!)
1996-06-12 01:36:01 +00:00
cgd
4a4d4dfc26
copy from sparc port, trim bogus swdevt entries
1996-06-12 01:26:37 +00:00
thorpej
87a6b74c89
Sync up with my local tree:
...
- add union filesystem
- add DEFTA device
1996-06-11 23:24:02 +00:00
cgd
f4e69ce47d
fix pasto in last commit.
1996-06-11 21:28:31 +00:00
cgd
2d9140fb20
add definitions and code to support use of multiple I/O and _dense_
...
memory regions.
1996-06-11 21:25:25 +00:00
cgd
bbdf2df9b0
since bus_mem_subregion() can return failure, don't even bother to try
...
to handle the case where subregion offset isn't a multiple of 8.
1996-06-11 21:20:08 +00:00
cgd
d714189d53
implement bus_mem_subregion() and bus_io_subregion().
1996-06-11 21:16:21 +00:00
cgd
9aa03f4dd9
update for changed definitions in ciareg.h
1996-06-10 00:04:53 +00:00
cgd
2465bd00e5
store HAE_MEM and HAE_IO register contents in the cia configuration
...
structure, and add prototypes for the bus_{mem,io}_init() functions.
1996-06-10 00:03:59 +00:00
cgd
55cbf94f22
read value of HAE_MEM and HAE_IO, so that the bus_* functions can
...
do window recognition correctly.
1996-06-10 00:02:31 +00:00
cgd
9198817ce3
update for new memory window handling in pcs_bus_mem_common.c.
1996-06-10 00:01:09 +00:00
cgd
c247b24843
add definitions used to figure out how PCI/EISA/ISA memory regions are
...
mapped.
1996-06-09 23:59:38 +00:00
cgd
df2ba1e245
add support for mapping multiple memory windows. This is necessary
...
for mapping ISA/EISA 'hole' memory on the AlphaStation 600.
1996-06-09 23:57:45 +00:00
cgd
8df74fa62a
wrap __STRING() in a #define so that its argument, which must be
...
expanded by the preprocessor, will be. Problem pointed out by Matt
Thomas.
1996-06-09 23:49:24 +00:00
cgd
ebe3a58f01
pull down changes from NetBSD 1.2 release branch:
...
>Update for present reality (function names), clean up a bit (printfs,
>"panic: foo XXX"), and fix a couple of printf format specified bugs
>(which were normally #if 0'd out). Inspired by Multia/UDB support
>changes sent by Matt Thomas.
and:
>changes from Matt Thomas so that the Multia/UDB can attach its
>'com' interrupts, cleaned up some. Basically: if sharing type of
>new interrupt is different than what the hardware is currently set up
>for (e.g. requesting edge-triggered and the hardware is set up by
>the PROM for level triggered) and there are no interrupt handlers on
>that line already, warn about it and use the hardware type that the
>line was already set for (to avoid making the console blow up on
>reboot). If same circumstances but there is already a handler, panic
>as before.
1996-06-05 22:52:34 +00:00
cgd
37ec86f0cc
avoid lots of upper-case letters in interrupt names. prettier that way.
1996-06-05 03:38:02 +00:00
cgd
56db5baced
print slot number as decimal, not hex
1996-06-05 01:32:00 +00:00
cgd
666c7f6fd4
interrupt counters for TurboChannel systems.
1996-06-05 00:30:48 +00:00
cgd
2d03e599c7
don't depend on being able to read the IMR. Apparently, it doesn't
...
work (as documented in the DEC 3000/[3-9]00 System Programmer's Manual)
in some of the older 3000/500 systems.
1996-06-04 19:02:16 +00:00
cgd
c6dd609e7f
gross hack to get around the fact that there are currently devices with
...
common back-ends that live on multiple very-different busses (e.g. PCI and
TC), which need bus-specific DMA mapping support. As a nice side effect,
this will allow the especially nasty (vtophys(va) | 0x40000000) expressions
to go away in favor of less nasty bus-specific function calls.
1996-06-03 20:18:48 +00:00
cgd
e038a84b34
add "le* at pci?", because it compiles and may actually work.
1996-06-03 20:10:52 +00:00
cgd
729d7a8aa8
only do tty_attach() for first tty of each chip; that's the only real tty.
1996-06-03 19:43:31 +00:00
cgd
afe080291e
fix pasto: s/NETISR_CCITT/NETISR_PPP/ at the appropriate place in
...
netintr(). From Matt Thomas <matt@lkg.dec.com>.
1996-06-03 18:32:37 +00:00
cgd
99a50a5e0d
now that the bug has been fixed, we can go back to using the
...
Alpha-optimized in_cksum().
1996-05-30 23:18:14 +00:00
cgd
ea82d613ab
Fix from Matt Thomas to fix problem where packets like
...
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x01 would be checksummed
incorrectly: rather than adding two 32-bit quantities together to
sum a quadword (which was losing a carry bit), add as four 16-bit
quantities.
1996-05-30 23:08:36 +00:00
cgd
6e6fc14f32
add tty_attach() calls where appropriate
1996-05-30 18:44:30 +00:00
cgd
f7dcef06d4
add missing splx(). From Jason Thorpe
1996-05-29 22:24:47 +00:00
cgd
48652c763f
fix UMAPFS entry, add entry for UNION
1996-05-23 23:29:10 +00:00
cgd
82dd8bf609
disable alpha-specific in_cksum.c; it seems slightly buggy
1996-05-23 23:27:25 +00:00
cgd
5e29c383e2
add wbflush() calls in strategic places. These really shouldn't be
...
here, and there should be a generic 'bus' interface to do memory
read/write barriers.
1996-05-20 03:14:07 +00:00
cgd
397617080d
add 'pseudo-device strip' for Metricom Ricochet packet radio driver
...
recently kicked in by Jonathan Stone. It compiles on the alpha, and
may even work.
1996-05-20 02:58:53 +00:00
cgd
daad29a36c
add fta, fpa, and fea drivers, for DEC TC, PCI, and EISA FDDI controllers.
1996-05-20 01:37:18 +00:00
cgd
17bc20b5a4
minor cleanups, mostly KNF.
1996-05-19 21:41:00 +00:00
cgd
260dba439d
Tuned in_cksum() from Matt Thomas <matt@3am-software.com>. According
...
to him, this implementation is approximately 50% faster than the
machine-independent portable version.
1996-05-19 21:24:14 +00:00
cgd
6f5bee3001
add -O2 to the optimization flags. A reason why optimization seemed
...
to fail on some systems was never found; hopefully it's gone away (or
was never really there).
1996-05-19 21:16:51 +00:00
cgd
4145f89f54
TurboChannel bus_mem_* functions. bus_mem_{read,write}_8, and
...
bus_mem_read_{1,2} are not yet supported for sparse space.
1996-05-18 00:00:51 +00:00
cgd
0307c36933
bus_io_* functions. These have no meaning on the TurboChannel, since
...
it's a memory-mapped bus and has no I/O space. They all are
fancy wrappers around panic().
1996-05-17 23:59:31 +00:00
cgd
84b37ec80d
set up a bus_chpiset_tag_t, and pass it to the TC code
1996-05-17 23:58:43 +00:00
cgd
e49dcae424
add files for the implementation of the TC 'bus' mem & I/O functions
1996-05-17 23:44:02 +00:00
cgd
a78f16f702
moved to ../tc
1996-05-17 23:41:36 +00:00
cgd
eda3fcd053
fix declaration of main()
1996-05-17 18:29:41 +00:00
cgd
93bc248f7c
add 'kernel_text' symbol, for use by kvm_mkdb
1996-05-16 22:54:30 +00:00
mycroft
540f9550c0
Make `make depend' work for libraries.
1996-05-11 16:11:30 +00:00
cgd
3393d0e53b
a few more minor ecoff-header-related tweaks.
1996-05-10 00:15:04 +00:00
cgd
56017a3c1e
update to include <sys/exec_ecoff.h>, rather than the alpha-specific
...
(and redundant) coff.h file (which has now been removed).
1996-05-09 23:54:07 +00:00
cgd
491ab6c2ed
remove redundant header, now that ECOFF_SEGMENT_ALIGNMENT macro for
...
<sys/exec_ecoff.h> is fixed.
1996-05-09 23:52:19 +00:00
cgd
d5b0482bb9
update for changed ecoff headers. minor consistency changes for the
...
ecoff functions, as well.
1996-05-09 23:48:47 +00:00
cgd
2daf9d8f3b
change structure member names to be in line with what various ECOFF
...
documentation I have calls them, and update for new definitions in
sys/exec_ecoff.h. Also, fix ECOFF_SEGMENT_ALIGNMENT macro so that it
actually returns the right alignment.
1996-05-09 23:47:25 +00:00
thorpej
fe64460341
*** empty log message ***
1996-05-07 00:33:35 +00:00
thorpej
f857b38b11
Don't attempt to map the `delay port' (0x84). It's mapped and exported
...
by the ISA bus attach code.
1996-05-05 01:41:53 +00:00
cgd
7c1754fdff
add a bit of clarafication in a comment, and change the interrupt
...
handling code so that if a given interrupt is disabled (and therefore
can't have caused the actual I/O interrupt), its handler won't be
called even if its bit is set in the interrupt register.
1996-05-02 21:56:46 +00:00
cgd
b97609d17d
the kernel config file for my 3000/300LX.
1996-05-01 23:32:45 +00:00
cgd
49c46e1789
Preliminary CFB support. Does not work as machine's console (for two
...
reasons: it won't attach as console, and there's currently no way to do
keyboard input on TC machines), and has no real RAMDAC (colormap, cursor,
etc.) support. Digital UNIX does not support CFB frame buffers in the
Alpha, but they appear to work OK (with an appropriate monitor) in my
3000/300.
1996-05-01 23:25:00 +00:00
cgd
1668855fc5
add support for PMAG-B Color Frame Buffer (CFB) option boards. OSF/1
...
doesn't support these, but they appear to work OK (with an appropriate
monitor) in my 3000/300.
1996-05-01 23:22:16 +00:00
cgd
cb0eb158e7
fix the test for option slot interrupts. If a given interrupt is
...
disabled (and therefore can't have caused the actual I/O interrupt),
don't try to call its handler even if its bit is set in the interrupt
register.
1996-05-01 23:19:50 +00:00
cgd
b65a5bbdfc
preliminary SFB support. Does not work as machine's console (for two
...
reasons: it won't attach as console, and there's currently no way to do
keyboard input on TC machines), and has no real RAMDAC (colormap,
cursor, etc.) support.
1996-05-01 21:15:46 +00:00
cgd
a449bdaea1
add sfb at tc, wscons at sfb
1996-05-01 20:33:17 +00:00
cgd
69ecf2f7f4
add the right (raster, wsconsdev) attributes to sfb
1996-05-01 20:26:39 +00:00
cgd
8199dee1d8
add SFB at tc, wcsons at sfb, and fix up le declarations
1996-05-01 20:23:04 +00:00
cgd
85d72d56a2
add an entry for the SFB+, and clean up entries some
1996-05-01 19:44:21 +00:00
cgd
4335844690
fix botched printf spacing in last change.
1996-04-29 16:36:19 +00:00
cgd
6deeeb8a0f
update for dk_establish() proto change
1996-04-29 16:34:50 +00:00
cgd
b2ab71db24
fix definition of the "Primary Eligible" RPB PCS processor variation field.
1996-04-29 16:23:09 +00:00
cgd
5e0ec7280a
clear BIP; it should really happen at end of autoconfiguration.
1996-04-29 16:09:28 +00:00
cgd
f22c1ccb83
clean up setting of the default tty cflag. don't do the "delay if
...
high bit set" thing.
1996-04-29 14:48:25 +00:00
thorpej
34c1e309b6
Yes, folks, there was a REASON that maxusers -> 32 slipped through the
...
cracks when I mentioned it to Chris. (Read: it doesn't work.)
1996-04-26 18:54:15 +00:00
thorpej
2931555121
Correction I mentioned to Chris that slipped through the cracks...
...
maxusers -> 32.
1996-04-26 00:53:08 +00:00
cgd
72e70ce045
update for present reality
1996-04-25 04:28:04 +00:00
cgd
3e07e4275a
clean up and improve instructions, update to reflect current reality.
1996-04-25 00:11:09 +00:00
cgd
7bc9a18250
prototyping cleanups
1996-04-23 15:26:06 +00:00
cgd
58a104f26a
pal_halt doesn't return; give it a noreturn attribute.
...
Mark assembly that uses 'mb' as clobbering memory (pthreads does, and
it can't hurt).
1996-04-23 15:24:09 +00:00
cgd
5437babf6c
prom_halt doesn't return; give it a noreturn attribute
1996-04-23 15:23:18 +00:00
cgd
59cdf4331e
clean up some, and use new sioreg.h
1996-04-23 14:15:55 +00:00
cgd
8253c155fe
hanges from Trevor Mendez <tmendez@bbn.com> to use new sioreg.h
...
header. Also, I moved the LCA_SIO_DEVICE definition higher up in the
file.
1996-04-23 14:15:28 +00:00
cgd
84da7b5f97
Intel 82378 System I/O (SIO) Chip register defintions, cleaned up a
...
bit from a version supplied by Trevor Mendez <tmendez@bbn.com>.
1996-04-23 14:10:53 +00:00
cgd
e9bbf69ff6
Changes from Trevor Mendez <tmendez@bbn.com> to add definitions of a
...
couple of registers useful for debugging.
1996-04-23 14:03:46 +00:00
cgd
fea5e372e6
Corrections from hardware manual, from Trevor Mendez <tmendez@bbn.com>.
...
Adds comments and sets IOC_CONF correctly (it's write-only!).
1996-04-23 14:00:53 +00:00
cgd
d8adbe4247
Changes from Trevor Mendez <tmendez@bbn.com> to make this compile
...
with NWSCONS == 0.
1996-04-23 13:57:55 +00:00
cgd
0895b8dd09
Changes from Trevor Mendez <tmendez@bbn.com> to print 0x's before hex
...
numbers when panic()ing because of a machine check, for sanity.
1996-04-23 13:54:32 +00:00
cgd
7458364702
Implement the I/O read/write-multiple functions for chipsets
...
that use this file (APECS, LCA, and CIA).
1996-04-18 05:53:04 +00:00
cgd
ff0a52ccd9
define bus_io_{read,write}_multi_{1,2,4,8} functions, which read/write
...
multiple values from a single I/O port in to/out of an array of values.
1996-04-18 05:47:29 +00:00
cgd
e27e15d0ac
change NLE flag for IOASIC LANCE buffer to NLE_IOASIC, and add comments
1996-04-18 00:59:11 +00:00
cgd
03d386daa7
attach le with different attributes, depending on parent (i.e. tc or
...
ioasic), and use those attributes to pull in appropriate files.
le_ioasic now has needs-flag, but le doesn't; the flag is only necessary
on systems configured with IOASIC-attached LANCE chips.
1996-04-18 00:55:15 +00:00
cgd
17731baa0d
fix copyrights
1996-04-17 22:22:32 +00:00
cgd
69ad2e587b
ioasic doesn't need a flag, and correctly conditionalize inclusion of
...
machines' tc configuration files.
1996-04-17 22:08:29 +00:00
cgd
71c7924099
clean up clock handling: clock drivers are now seperate from the
...
chip-independent clock code. 'clock' has been renamed 'mcclock' 'clock'
has been renamed 'mcclock' (since it's a driver for that particular
clock, and since eventually there may be another clock chip driver),
and now attaches via seperate match/attach functions to both TC and ISA.
This removes a whole lot of #ifdefs...
1996-04-17 22:01:16 +00:00
cgd
a5778ae63b
print cpu names slightly differently (number first)
1996-04-17 21:50:56 +00:00
cgd
0b0a8bfe15
fix bug in pcivga_erasecols() that would cause garbage to be spit out.
...
other minor style cleanup.
1996-04-17 21:49:58 +00:00
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
cgd
2a6abc91f8
update for (old) new tty changes
1995-06-28 01:06:35 +00:00
cgd
7a275b5901
update for new clock interrupt handling
1995-06-28 01:03:57 +00:00
cgd
a6b5caae1a
update for new kernel names
1995-06-28 01:02:58 +00:00
cgd
f9e02471d0
make boot blocks work on AlphaStation systems
1995-06-28 00:58:44 +00:00
cgd
e0f9279f31
update for current configuration descriptions
1995-06-27 00:54:55 +00:00
cgd
2d49c3885b
clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
...
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
1c0be437b1
define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
...
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
christos
3cb270c7ee
Makefile.`arch`: - Add -lcompat
...
- Change clean: target to be a double dep one,
so libraries can use the clean target too
1995-06-24 20:40:45 +00:00