Commit Graph

49623 Commits

Author SHA1 Message Date
jonathan 69d2d27c1b Use bus_space tags and handles, embedded in MD hooks AM7930_{READ_WRITE}_REG
to handle MD delay and bus padding. Tested on sparc2 by David Brownlee.

Should use regmaps, but that breaks sparc pDMA assembly code.
1999-03-14 22:29:00 +00:00
mycroft 58e1f7b9b0 Make the damned columns line up. 1999-03-14 22:28:05 +00:00
oster 2ec2c2045f Cleanup rf_RewriteParity() and rf_VerifyParity(). Nuke unused stuff,
and make more readable.
1999-03-14 22:10:46 +00:00
oster 414b788837 Disallow interrupting parity re-writes or copybacks by removing PCATCH
from the tsleep()'s (they probably shouldn't have been there in the
first place!).  Making parity re-writing and copybacks interruptable
will require re-designing how a few things are done (e.g. how memory
is freed for structures shipped off to routines that run asynchronously
relative to the calling routine).  Fix a few other tsleep's while we're at it.
1999-03-14 21:53:31 +00:00
kristerw c068cca51b EACESS -> EACCES. From OpenBSD. 1999-03-14 20:15:40 +00:00
abs eb710b1b56 It was just Plain Wrong to ship a password file that triggers /etc/security.
Remove toor - if people want another root account, we'll assume they can
copy and modify the root line.
1999-03-14 20:11:06 +00:00
kleink d08845709f Minor cleanups; g/c a dead assignment variable. 1999-03-14 19:36:05 +00:00
kristerw 010cbdf92e There is no -h flag. From OpenBSD. 1999-03-14 18:30:04 +00:00
kristerw a37972b8d8 daemon returns int. From OpenBSD. 1999-03-14 18:10:02 +00:00
minoura 1ff51fea1a Some x68k conditionals (I don't know why these are needed...). 1999-03-14 16:14:54 +00:00
fvdl a4ca20e23e Start cleaning up geometry code by storing the disk geometry in a structure
with proper names, not an integer array with is numerically indexed.
1999-03-14 14:19:05 +00:00
drochner 0fc97689ec introduce a "wscons" rc.conf flag and run /etc/rc.wscons from /etc/rc
if it is set
1999-03-14 14:04:40 +00:00
drochner 8f59d4063a work around egcs prints format warning on alpha
(XXX bad fix, but egcs doesn't like a "quad_t" here)
1999-03-14 11:43:25 +00:00
drochner 8ae646e9ae work around printf format warnings on alpha 1999-03-14 11:39:28 +00:00
mycroft deab09f540 Only need one of vga_isa and vga_pci. 1999-03-14 10:34:18 +00:00
mycroft cac14a50bc Update to -current, switch to wscons. 1999-03-14 10:31:43 +00:00
dbj 00c8d4dd90 changed dma start alignment from 4 to 16 so that the cache flush
functions always have cache line aligned segments.
continued experimentation with scsi driver.
1999-03-14 10:31:05 +00:00
veego 58d4f7ae24 Add support for future PicassoIV's which use an autoconfig space of 64MB.
The framebuffer base address is then at a different offset.
The patch is from Klaus Burkert.
1999-03-14 09:17:19 +00:00
sommerfe 82f8a7dee9 Turn off biosboot_ser until makefile issues get worked out.. 1999-03-14 05:50:38 +00:00
jonb 6d636069d6 Allow "make depend" to work again. (It currently freaks out since the
SFILES variable is empty...)
1999-03-14 05:03:35 +00:00
sommerfe 29f2ddf635 Add man page (written from scratch) 1999-03-14 04:30:13 +00:00
mycroft 86da8b5db3 Add missing links for queue.3. 1999-03-14 03:38:16 +00:00
sommerfe 2d2e8be23c Temporarily back out the libhack version of gethostby* as it's *too* small. 1999-03-14 03:29:06 +00:00
kleink ce8b13e364 Oops, missed global data in static sweep. 1999-03-14 01:47:09 +00:00
kleink 882fe49366 Add KNF-style RCS Id at start of file. 1999-03-14 01:42:20 +00:00
kleink afe8703841 * Use id_t instead of making guesses about the definitions of [gu]id_t.
* Declare internal helper functions static.
* G/C unused globals and declarations.
1999-03-14 01:39:48 +00:00
hubertf 4e308589b1 Fix RB_STRING, per PR 7147 by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-14 01:30:16 +00:00
kleink 4f3756d205 Define id_t, an integral type wide enough to hold a value of type gid_t, pid_t
or uid_t (SVID/XSH5).
XXX Unlike the System V definitions and pid_t, [gu]id_t are unsigned here.
1999-03-14 01:24:18 +00:00
simonb e4dd1abb05 Merge contents of filesystem.c into conf.c, and remove declaration of
errno from conf.c and put it in boot.c.
1999-03-14 00:57:06 +00:00
fvdl 35d517b9f1 Hack to make biosboot_ser work.
XXX The makefile structure in src/sys/arch/i386/stand is very bad.
1999-03-14 00:04:06 +00:00
lukem 7e1c62baf8 set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:17:46 +00:00
ender 5a333883e0 Fix a typo. 1999-03-13 23:17:04 +00:00
lukem a3b1d07c9b set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:16:55 +00:00
is bed6716015 Identify the chip type when attaching. 1999-03-13 22:43:30 +00:00
thorpej 195403fe38 malloc the arg temporary buffer, rather than declaring it as an automatic
array of ARG_MAX size.  ARG_MAX is currently 256k, which causes a rather
serious stack overflow (kernel stacks are not very large, usually 8k).

Fixes memory corruption problems observed after accessig /proc/1/cmdline
during tests.  Problem in my case manifested itself as massive lossage
in ffs_sync(), resulting in a crash, and sometimes, pooched file systems.

XXX This could, and probably should, be rewritten to use a much smaller
temporary buffer, and a loop around uiomove().
1999-03-13 22:26:48 +00:00
ragge 8cf98df79f Fixes for vax 4K pages. (Whereever did these go???) 1999-03-13 22:20:49 +00:00
ragge f285208477 Need a small prototype. (Where did it go?) 1999-03-13 22:15:25 +00:00
sommerfe 6a5409ffe2 Update comment about newfs parameters for 1.44M disks
(and make it clear they're not going to get better)
1999-03-13 21:43:34 +00:00
is a02a989bcf The 53c720 and up are really different. For example, the method to determine,
when disconnecting etc., how much data were transferred, has changed.
Symptom: SIOP invalid instructions when doing data transfers to disks that
disconnect.
XXX The bits etc. need to be defined correctly in the siopreg.h file, and
symbolic values used.
1999-03-13 21:30:55 +00:00
sommerfe 72b3c2be3c Shrink ramdiskbin by ~184K.
- use libhack to avoid dragging in YP and DB (saves about 108K of libc
   we have no need for).
 - use more of the -DSMALL utils from distrib/utils/x_*  (saves about 76K)
	(except x_gzip, which is actually bigger).
People who want to be able to install files which have been translated
into EBCDIC, or install over XNS, can probably figure out other ways
to get this done.

This means that a boot image again fits on a single 1.44M floppy, with
about 50k to spare.
1999-03-13 21:21:51 +00:00
tron 32e0182e15 $(OBJS) -> ${OBJS} 1999-03-13 20:58:25 +00:00
sommerfe 2f946a25db Don't over-reserve space in the tarball for the bootfile; strip the bootblocks
(just being used as a "spacer" in the tarball).
1999-03-13 20:44:16 +00:00
ragge 4d77aa3c15 Avoid warning if !QBA. 1999-03-13 20:26:50 +00:00
sommerfe d9994f64bd Copy compressed kernel with miniroot inside to "netbsd" rather than
"netbsd.gz".  This speeds the boot by a small but perceptable amount.

The time between when the bootblocks print "no such file or directory"
for netbsd and when they show signs of actually having found netbsd.gz
is long enough to be noticeable, and looks bad..
1999-03-13 20:02:32 +00:00
christos 3456da383e Fix i386 problem, when we are relocating ourselves... We cannot depend
on the address of GOT or _DYNAMIC.
1999-03-13 20:00:14 +00:00
sommerfe 2ccf28fc88 Install bootblocks before the kernel; this speeds the boot slightly as
the system doesn't have to seek to the end of the disk and then back
again.
Use gzip -9 to try to squeeze every last bit in.
1999-03-13 19:58:44 +00:00
drochner c0433847af make complaints about missing platform support match reality 1999-03-13 19:46:58 +00:00
is 48c33b2e56 Adjust to match the assembled code 1999-03-13 19:42:52 +00:00
sommerfe 40b1ba1fb9 Use installboot and bootblocks from DESTDIR 1999-03-13 19:19:03 +00:00
sommerfe 93c6dea365 Make it more clear where this came from. 1999-03-13 19:11:54 +00:00