Commit Graph

37928 Commits

Author SHA1 Message Date
thorpej
fcfe2f1539 Implement a set of `atomic' (using load-locked and store-conditional)
operations.  Initial set includes:

alpha_atomic_setbits_q()	set bits in a quad
alpha_atomic_clearbits_q()	clear bits in a quad
1998-03-22 07:26:32 +00:00
jonathan
456c5d02c4 oops, forgot more whitespace changs and alpha_mb() -> tc_mb(). 1998-03-22 07:25:40 +00:00
jonathan
5cfab7fb5b Whitespace, cosmetic changes against alpha/tc/scc.c 1.40. 1998-03-22 07:15:20 +00:00
jonathan
6e3073d769 More tty dialin/dialout changes (t_wopen).
NB: dtop is a keyboard/mouse bus and doesn't support dialout.
1998-03-22 07:04:13 +00:00
mhitch
a10657ae4f Set the PID before setting up the wired TLB entries for proc0. The
mips3_HitFlushDCache() fails with a TLB miss otherwise.
1998-03-22 06:31:40 +00:00
thorpej
9db8ae93c8 - The pmap now includes support for ASNs. We no longer need to flush
the TLB and I-cache in the SWITCH_CONTEXT macro.
- Right after switching to proc0's newly-created context at startup time,
  flush the TLB and I-cache; this is the only place where it's not done
  automatically.
- Fix a nasty bug in a critical section of cpu_switch(); change the
  pmap_activate -> SWITCH_CONTEXT -> pmap_deactivate sequence to
  pmap_deactivate -> pmap_activate -> SWITCH_CONTEXT.  This prevents
  erroneously marking a pmap inactive if switching to a process that
  shares it's address space (and thus its pmap) with the oldproc!  Noticed
  by Chris Demetriou.
1998-03-22 05:46:02 +00:00
thorpej
c0cc1ed476 Implement support for Address Space Numbers, greatly reducing the number
of TLB and I-cache flushes, significantly speeding up context switches.

Once again, many thanks to Chris Demetriou and Ross Harvey for code
review and debugging assistance!
1998-03-22 05:41:37 +00:00
thorpej
a8d86e5a7c Replace PMAP_ASNGEN_INVALID with PMAP_ASN_RESERVED. 1998-03-22 05:39:50 +00:00
enami
a59689c939 Attach device mbe' at bus pcmcia'. 1998-03-22 04:39:56 +00:00
enami
e26f2ce65b Define new device ate' and fmv'. 1998-03-22 04:38:42 +00:00
enami
399156859b Define new attribute mb86960' and new device mbe'. 1998-03-22 04:37:04 +00:00
enami
c02747ba06 PCMCIA bus attachment for MB8696x based Ethernet card. 1998-03-22 04:32:27 +00:00
enami
2b5f7351d2 Split Fujitsu MB9696x based ethernet card driver into bus
dependent/independent code and bus.h'fied.
1998-03-22 04:25:36 +00:00
enami
1164bf0fb5 Define TPLFE_TYPE, which is sub code for CISTPL_FUNCE, for LAN card. 1998-03-22 04:07:43 +00:00
thorpej
9ec671bd30 Make a note of the new Alpha port maintainer, Ross Harvey. 1998-03-22 03:56:55 +00:00
mycroft
f6dba67570 Read up to 32 bytes. The ESCC *needs* 8, and it doesn't hurt to leave some
slop in case there are clone chips with a deeper FIFO.
1998-03-22 02:36:02 +00:00
mycroft
573bdc9331 Introduce a couple of variables to make this clearer. 1998-03-22 02:26:48 +00:00
mycroft
72c495dc7c Create dty (dialout) device nodes for the zs driver.
Also add support for creating ttyc and ttyd, for the 4/300s.
1998-03-22 01:22:10 +00:00
mycroft
352ec2fb25 Create dty (dialout) device nodes for the com driver. 1998-03-22 01:15:00 +00:00
mycroft
2bb5067e13 Move the code to wait for carrier on a tty into a common function, since it
depends only on device-independent state bits.
Implement SunOS-style `dialout' devices.
1998-03-22 00:55:37 +00:00
tron
87dd1a9ddb Let "makewhatis.sh" handle "${DESTDIR}", fixes PR misc/5037. 1998-03-21 23:47:47 +00:00
tron
7c26d20c65 Add support for "${DESTDIR}". 1998-03-21 23:46:00 +00:00
mjacob
86b6520e41 more TS_WOPEN to tp->t_wopen changes 1998-03-21 23:36:19 +00:00
mjacob
019508faee Well, I don't have a Cyclades board, but I needed the alpha kernels
to compile. I made the changes that seemed to make sense tracking the
shift from TS_WOPEN  to tp->t_wopen- but they may be wrong. I wasn't
subscribed to tech-kern so I missed the discussion, and C. Hannum
was not particularly enlightening. Sorry if this isn't quite right.
1998-03-21 23:26:15 +00:00
mycroft
0dae91d9af Eliminate uses of TS_WOPEN in hard-wired devices. 1998-03-21 22:52:59 +00:00
pk
e6a2630760 Direct the Sbus bus map function through the bus tag. 1998-03-21 22:03:33 +00:00
mjacob
34f87569b9 add some error defintions 1998-03-21 22:02:42 +00:00
mark
46f5fd743a Add a call to vm_set_page_size() in pmap_bootstrap(). 1998-03-21 21:42:02 +00:00
gwr
9c160cc541 Deal with missing P4 register on old 3/60 machines. 1998-03-21 21:40:45 +00:00
mark
5fb8156c1c Replace the em and eh drivers with an attachment to the ne driver. 1998-03-21 21:39:16 +00:00
gwr
24903a0744 Deal with missing P4 register on old Sun3/60 machines. 1998-03-21 21:38:24 +00:00
mark
b8bbd98f2a This file is no longer needed now etherM driver is just an attachment
to the MI NE2000 driver.
1998-03-21 21:38:01 +00:00
mark
6aad6c26fd This driver has been replaced with a podulebus attachment to the MI
NE2000 driver.
1998-03-21 21:36:37 +00:00
mark
5241ea94ce Initial commit of podulebus attachments to the MI NE2000 driver for
etherH and etherM netslot interfaces.
1998-03-21 21:35:20 +00:00
mark
a9dd30a5e0 Prototype netslot_ea() and podule_read(). 1998-03-21 21:30:29 +00:00
mark
3fbeab8ca4 Report podules that have been disabled by boottime options.
Provide a function netslot_ea() to return the ethernet address of the
RiscPC network slot.
1998-03-21 21:30:07 +00:00
pk
f4410cf7a3 Account for changed bus attachment scheme. 1998-03-21 20:34:58 +00:00
pk
090d9364af Implement bus mapping and interrupt-establish functions. 1998-03-21 20:33:31 +00:00
pk
681b358c19 Account for bus_space(9)-style bus attachment scheme. 1998-03-21 20:30:49 +00:00
pk
232fa45996 Add bus tags to softc. 1998-03-21 20:29:57 +00:00
pk
a21d934940 Add bus tags.
Add interrupt chaining facility (currently used for `le'; the `esp'
device should follow).
1998-03-21 20:28:44 +00:00
pk
087da728f2 Add bus tags to softc. 1998-03-21 20:25:12 +00:00
pk
c99d62cc8a Account for changed bus attachment scheme. 1998-03-21 20:23:38 +00:00
pk
be7f5a7031 Switch to a bus_space(9)-based device attachment scheme.
The dma & lebuffer devices behave like busses to accommodate the
OBP layout. For practical purposes, they are implemented as
Sbus "extensions".
1998-03-21 20:23:09 +00:00
pk
69fe6f242f Account for changed bus attachment scheme. 1998-03-21 20:11:30 +00:00
pk
165120cfaf Sbus attach arguments and map function prototypes go here. 1998-03-21 20:10:07 +00:00
pk
77f499595c Switch to a bus_space(9)-based device attachment scheme.
- device attachment arguments contain bus-specific
	  address and interrupt levels.

	- devices must call back on bus map functions to get their
	  addresses and interrupt levels translated properly.

	- sun4m's obio bus is treated like an Sbus slot.

	- the sun4-style obio bus has its own attach arguments
	  and map functions.
1998-03-21 19:55:31 +00:00
pk
73f387899e #define several register bank offsets, so we don't need to refer to
structure fields.
1998-03-21 19:45:45 +00:00
pk
61365a8b8e Add bus tags to softc. 1998-03-21 19:43:17 +00:00
pk
83cec33afc Split the fb_setsize() utility in two separate functions: one to be
used by OBP machines and another one for sun4/eeprom machines.
1998-03-21 19:42:00 +00:00