Commit Graph

17048 Commits

Author SHA1 Message Date
mellon dcf4d707a4 Only compile in rcons tests if rcons pseudo-device was declared 1997-05-15 16:43:36 +00:00
jtc 94815a35ee Sync with libc 1997-05-15 16:20:54 +00:00
jonathan e199d62111 Add hooks for definiing kernel RCSId and copyright symbols,
via  asm(".section"),  for compatibility with Alpha tc and ioasic  drivers.

Assumes ELF and binutils-2.8 toolchain.
1997-05-15 08:47:05 +00:00
mellon d3c5a81e19 Don't do rcons-specific things if no rcons pseudo-device was declared. Clean up probe-time printfs. 1997-05-15 07:24:37 +00:00
jonathan d592c85696 The pmax interrupt handlers were re-enabling clock interrupts ASAP after
hardclock() is called. Now, only do so if clock intrs were enabled beforehand.
1997-05-15 05:03:42 +00:00
jonathan 13f3645083 Merge in changes from Alpha scc driver with RCS log message:
>  revision 1.33
>  date: 1997/05/15 02:15:55;  author: thorpej;  state: Exp;  lines: +8 -4
>  - In sccmatch(), check any user-specified offset, allowing scc unit numbers
>  to be nailed down.  From Ken Hornstein <kenh@cmf.nrl.navy.mil>, PR #3626,
>  slightly modified to allow wildcarded offsets.
>  - Blow away the cf->cf_unit check in sccmatch(); it's bogus.

Also gc usused references to  NSCC and #include "scc.h"
1997-05-15 04:49:32 +00:00
jonathan a72c2263f5 Change `needs-count' on scc to `needs-flag': should have been `needs-flag'
since rev 1.18  of pmax/tc/scc.c.
1997-05-15 04:42:12 +00:00
thorpej 2494f148f4 - In sccmatch(), check any user-specified offset, allowing scc unit numbers
to be nailed down.  From Ken Hornstein <kenh@cmf.nrl.navy.mil>, PR #3626,
  slightly modified to allow wildcarded offsets.
- Blow away the cf->cf_unit check in sccmatch(); it's bogus.
1997-05-15 02:15:55 +00:00
jeremy 608a6800e6 Things are stable enough that DDB, PMAP_DEBUG and DIAGNOSTIC aren't needed
anymore.
1997-05-15 01:49:27 +00:00
jonathan 3480029167 Add `offset' locator to ioasic-attached devices, for compatibility with
the ioasic_submatch() used in drivers shared by pmax and alpha ports.
1997-05-15 00:43:22 +00:00
veego 2aba644f04 Fix a cut&paste (?) mistake. pr#3622 1997-05-14 19:00:17 +00:00
veego cc8306e0d2 Remove a : which is too much. fix pr#3621 1997-05-14 18:12:10 +00:00
gwr a83cf310c1 The Hydra is 20 MHz and the Pegasus is 33 MHz. 1997-05-14 16:45:22 +00:00
gwr 5079510304 Make the "hydra" call leds_hydra() from clock_attach(). 1997-05-14 16:42:45 +00:00
gwr e6fa5bc33d Add leds_hydra(). 1997-05-14 16:37:01 +00:00
gwr b209530013 Remove call to leds_init (it is already in obio_init). 1997-05-14 16:13:31 +00:00
christos 3a8dda73c5 Add missing prototypes to sa_handler and sv_handler. Note: the sv_handler
prototype is historically incorrect, but we don't provide the interface
in the kernel, so why lie about it?
1997-05-14 16:12:15 +00:00
thorpej 2dc79e5c4b Link this program statically. 1997-05-14 07:57:13 +00:00
jeremy ebb856e274 Long awaited MI/MD separation completed. 1997-05-14 01:37:23 +00:00
thorpej 151926da32 Make sure we're in register window 0 before attempting EEPROM access,
pointed out by Matthias Drochner.
1997-05-14 00:22:00 +00:00
jtk fb2e379487 add pci* at pchb? 1997-05-13 22:48:33 +00:00
jtk 548e1683bf add pcibus attribute to pchb, for Intel dual-bus host/PCI bridge chip 1997-05-13 22:48:02 +00:00
jtk 86bf57701c add support for dual PCI bus Intel host/PCI bridge. Thanks to Chris Demetriou for his assistance in educating me about the vagaries of PCI and its configuration model. 1997-05-13 22:47:30 +00:00
gwr 3dd3428361 In user mode code, define PS_STRINGS as __ps_strings (from crt0). 1997-05-13 21:37:06 +00:00
jtc f99d42b623 Sync with libc. 1997-05-13 19:32:01 +00:00
augustss 37be371415 Clean up emulation code, SB, and GUS drivers and add some more encoding
emulation to SB.
1997-05-13 19:02:11 +00:00
gwr a8af683eb9 Eliminate references to vmspace.vm_pmap 1997-05-13 18:00:49 +00:00
gwr 1aa91b893d Eliminate references to vmspace.vm_pmap
(also fix some comments).
1997-05-13 17:17:12 +00:00
gwr d69bf3ded2 Eliminate references to vmspace.vm_pmap
(also fix some typos in comments).
1997-05-13 17:16:28 +00:00
gwr 1d8ffff9d9 Use GLOBAL(), _C_LABEL(), etc. 1997-05-13 16:31:26 +00:00
jtk d01ff6bdaa regen 1997-05-13 14:45:39 +00:00
jtk 68187ebd40 correct the identification of Intel Orion PCIset chips 1997-05-13 14:44:54 +00:00
scottr fac0bcfedb Update a recently-added comment re: bytelanes values. 1997-05-13 13:22:56 +00:00
scottr 5b80f9077f Tweak sbc_drq_intr() (interrupt-driven PDMA interrupt handler); it
now works properly on at least some disks.  Further testing is
necessary.
1997-05-13 06:34:00 +00:00
fvdl f9d1ae2243 clear B_AGE for non-flush writes, buffers seem to be reused
too quickly, disturbing NFS performance (XXXX needs further analysis
and a _real_ fix)
1997-05-12 23:42:11 +00:00
fvdl fe28924160 * If nfs_reconnect fails, be sure to release the sndlock, otherwise no
other requests will get through and the mount point will be effectively dead.
  This could happen for mounts using TCP and -i and/or -s.
* Reserve enough space for UDP sockets. Fixes PR 3008, from Naofumi Honda.
1997-05-12 23:40:22 +00:00
fvdl 7b65591cb9 In nfsrvw_coalesce, make sure the coalesce list from the nfsd is moved
as well. This fixes client hangs. (from Naofumi Honda
<honda@Kururu.math.sci.hokudai.ac.jp> / NetBSD-pc98)
1997-05-12 23:37:12 +00:00
thorpej e98c5a9b1c Fix two boundary/overflow errors in extent_alloc_subregion():
(1): "substart == ex->ex_end" and "subend == ex->ex_start"
     are completely legal parameters for extent_alloc_subregion()
(2): "(subend - substart) + 1" can cause an overflow if the whole
    numeric range is covered by the extent.
Submitted by Matthias Drochner <drochner@zelz26.zel.kfa-juelich.de>
in PR #3119.
1997-05-12 23:36:32 +00:00
fvdl ae69375a24 Store RPC procnum consistently as an u_int32_t. This is as it should be,
and avoid possible server crashes due to bogus comparisons. Partly
from BSDI.
1997-05-12 23:36:04 +00:00
scottr 3b7a1d3ab0 Convert several interrupt handlers to bus space model, removing some
XXX's.  Also, fix a bug in grfmv_intr_generic() that I found and
confirmed with Allen.
1997-05-12 20:35:50 +00:00
kleink 9c03d5cf55 When doing a CREATE, RENAME or DELETE w/ DOWHITEOUT and ISWHITEOUT lookup on a
non-existent file and the end of the pathname is reached, and this `current'
directory resides on a read-only mounted file system, don't update/prepare
its inode for the actual operation but return EROFS.
1997-05-12 19:04:16 +00:00
thorpej 4d989c06dd Add the following drivers:
- frodo at intio
- dnkbd at frodo (commented out until integrated)
- apci at frodo
1997-05-12 08:24:56 +00:00
thorpej f8337a2c14 Add apci driver glue. 1997-05-12 08:23:28 +00:00
thorpej 286b3b171d Add glue for APCI driver at cdev minor #31 and in console switch. 1997-05-12 08:17:53 +00:00
thorpej 6cc1022d84 Garbage-collect an unneeded definition. 1997-05-12 08:14:01 +00:00
thorpej a492e1df80 Add a kernel driver for the APCI 8250-like UARTs that live in the
Frodo ASIC, originally contributed by Mike Smith
<mike@pressed.spam.frisbee.net.au>, but reworked by me to:
- Essentially duplicate the dca driver, modifiying where necessary
  to work with the APCI.
- Deal with the different Frodo autoconfiguration model.
- Don't attach a tty to the 0th UART - it's not really useful for much
  more than the Domain keyboard.
- Added a routine to check for the existence of a DCA at select code 9.
  On most models, the 1'th UART is mapped to select code 9 by the PROM,
  and on these models, we do _NOT_ want to attach the device as an APCI.
  However, on the 425e, this mapping does not take place, so we attach
  as an APCI.  The 2'th and 3'th UARTs always get tty instances.
- Add console support which will only be invoked on the 425e (i.e. check
  for DCA at 9, and defer console to it if it exists).
1997-05-12 08:12:36 +00:00
thorpej a155715d44 Add a driver for the Apollo Utility Chip (a.k.a. "frodo"), contributed
by Mike Smith <mike@pressed.spam.frisbee.net.au>, with some changes to
the autoconfiguration model and slight changes to the interrupt glue
by me.
1997-05-12 08:03:48 +00:00
thorpej 2392fb2a1c Bump version: Added APCI console support 1997-05-12 07:58:08 +00:00
thorpej 83c63bd2de - Always build a romout() stub.
- If kbdnmi() returns, stop cold, since it shouldn't.
1997-05-12 07:56:00 +00:00
thorpej f39885279b - Define INTIOBASE here for use by the standalone programs.
- Add some extern's for "userom" and romputchar()
1997-05-12 07:54:45 +00:00