chuck [Sat, 13 Jan 1996 03:52:44 +0000 (03:52 +0000)]
sync with sparc:
- move disk_attach() to before reading the disk label as per Jason.
otherwise we are reading into an unallocated buffer (oops!)
chuck [Sat, 13 Jan 1996 03:45:01 +0000 (03:45 +0000)]
- call mapiodev() with sizeof(struct xdc/xyc) rather than ra_len (which is
zero since xdcmatch/xycmatch no longer sets it). [if you call
mapiodev() with a zero size it will reuse the KVA it returns, swiping
the device out from under you!]
- make xdc/xyc->iopbase point in the kernels DVMA space rather than at the
normal malloc'd KVA. this isn't compatable with sun4m [doesn't
have a kernel DVMA space] and will need to be changed later (XXX).
- move disk_attach() to before reading the disk label as per Jason.
otherwise we are reading into an unallocated buffer (oops!)
chuck [Sat, 13 Jan 1996 03:12:12 +0000 (03:12 +0000)]
have mapdev() panic if size == 0 to be safe (catches config errors)
chuck [Fri, 12 Jan 1996 23:09:08 +0000 (23:09 +0000)]
we no longer need to add in the offset to the mapped VA to get the correct
device address (bus_tmp, bus_map, and mapiodev now do this for us).
also, we handle all our mappings, so don't have obio.c do any for us
(i.e. don't set ra->ra_len in xycmatch).
nuke uneeded variable in match function.
chuck [Fri, 12 Jan 1996 22:02:15 +0000 (22:02 +0000)]
dmamatch never added in the offset for the dma registers to the VA,
and thus probed the wrong address on the 4/300 (but it worked because
it was probing the esp0 registers!).
now that bus_tmp() adds the offset in for us [as of obio 1.15] i
discoved that a byte access to the dma registers is not allowed.
so, i've change probeget to use a word access.
chuck [Fri, 12 Jan 1996 21:43:09 +0000 (21:43 +0000)]
improved handling of mapping of devices who's registers do not reside on
page boundaries:
- change bus_tmp() to include the offset from the start of page in the
returned KVA [rather than forcing each driver to add it back in
individually]
- changed bus_map() to include the offset from the start of page in the
the returned value if a mapping is found in the PROM's KVA area
- clarified a few comments
chuck [Fri, 12 Jan 1996 21:21:54 +0000 (21:21 +0000)]
change mapdev() so that it includes the offset from the start of the
page in the virtual address it returns.
deraadt [Fri, 12 Jan 1996 21:15:05 +0000 (21:15 +0000)]
remove DEBUG
deraadt [Fri, 12 Jan 1996 21:13:41 +0000 (21:13 +0000)]
from netbsd:
Kludge around a case where a flaky HP-IB disk might be slow to respond
to the identification request in rdmatch(). Similar in spirit to a
patch from Jason Downs (written eons ago), but limited to the broken
device we're trying to reach. My patch tested (and fixed :-) by
Herb Peyerl.
deraadt [Fri, 12 Jan 1996 21:12:59 +0000 (21:12 +0000)]
from netbsd; Fix declaration of hilqfree(), from <hag@wizardz.com>,
PR #1918.
deraadt [Fri, 12 Jan 1996 21:11:52 +0000 (21:11 +0000)]
Correct some typo's, add some virtual consoles and the tun devices
deraadt [Fri, 12 Jan 1996 21:11:12 +0000 (21:11 +0000)]
from netbsd; Correct test for ECHONL (from der Mouse; PR#1922).
niklas [Fri, 12 Jan 1996 21:08:46 +0000 (21:08 +0000)]
Completed incomplete edit and corrected history
deraadt [Fri, 12 Jan 1996 21:02:45 +0000 (21:02 +0000)]
no luns on Tandberg 3600 w/ fake Archive Viper emulation roms; from
raeburn@raeburn.org; netbsd pr#1934
deraadt [Fri, 12 Jan 1996 20:19:48 +0000 (20:19 +0000)]
from netbsd;
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.
deraadt [Fri, 12 Jan 1996 20:14:22 +0000 (20:14 +0000)]
update to new cdio.h
deraadt [Fri, 12 Jan 1996 20:00:43 +0000 (20:00 +0000)]
from netbsd; Document hint file v.2
deraadt [Fri, 12 Jan 1996 19:59:53 +0000 (19:59 +0000)]
from netbsd; Note search mechanism
deraadt [Fri, 12 Jan 1996 19:57:26 +0000 (19:57 +0000)]
from netbsd:
Make dlopen() search for libraries if given a name of the form
`lib<name>.so[.xx[.yy]]' (per Erik M. Theisen; PR#1763; patch from PR
used in simplified form).
Deal with v.2 hint files (hint srch dirs not yet used).
deraadt [Fri, 12 Jan 1996 19:56:20 +0000 (19:56 +0000)]
from netbsd:
Create v.2 hint files.
Note: don't bother to understand v.1 files..
hannken [Fri, 12 Jan 1996 17:52:48 +0000 (17:52 +0000)]
Remove CCB from hash list when it gets unmapped, not the first time looked up.
deraadt [Fri, 12 Jan 1996 16:55:47 +0000 (16:55 +0000)]
clean better
deraadt [Fri, 12 Jan 1996 16:45:00 +0000 (16:45 +0000)]
SIGBUS is an alignment fault. SIGSEGV is an access violation
deraadt [Fri, 12 Jan 1996 14:45:42 +0000 (14:45 +0000)]
proto rfork()
deraadt [Fri, 12 Jan 1996 03:13:42 +0000 (03:13 +0000)]
from netbsd
deraadt [Fri, 12 Jan 1996 02:08:49 +0000 (02:08 +0000)]
disable ddb, enable vnd
niklas [Thu, 11 Jan 1996 22:27:45 +0000 (22:27 +0000)]
Remove obsolete GCC
niklas [Thu, 11 Jan 1996 19:38:24 +0000 (19:38 +0000)]
Remove obsolete GCC
deraadt [Thu, 11 Jan 1996 18:19:06 +0000 (18:19 +0000)]
from leo; Fix the same typo in all files. Yanking is soooo beautiful....
deraadt [Thu, 11 Jan 1996 17:58:59 +0000 (17:58 +0000)]
from netbsd; VM86 support, by John Kohl, touched up a bit by charles
deraadt [Thu, 11 Jan 1996 17:54:00 +0000 (17:54 +0000)]
from netbsd; Fix typo and make some enum. lists more compact
(James Jegers; PR#592).
deraadt [Thu, 11 Jan 1996 17:52:34 +0000 (17:52 +0000)]
from netbsd; Fetch `-p' documentation from a previous version of
the man page
deraadt [Thu, 11 Jan 1996 17:49:42 +0000 (17:49 +0000)]
from netbsd; fix small documentation bug -- we have no bftp(1)
deraadt [Thu, 11 Jan 1996 17:48:48 +0000 (17:48 +0000)]
from netbsd; sync with tzdata96a
deraadt [Thu, 11 Jan 1996 17:48:19 +0000 (17:48 +0000)]
from netbsd; new pages
deraadt [Thu, 11 Jan 1996 17:47:30 +0000 (17:47 +0000)]
sync with netbsd
deraadt [Thu, 11 Jan 1996 17:46:15 +0000 (17:46 +0000)]
from netbsd; sync with tzcode96a
deraadt [Thu, 11 Jan 1996 17:44:35 +0000 (17:44 +0000)]
from netbsd:
Define LD_HINTS_VERSION_2:
- no longer hash on minor version number in hints file.
- add list of ldconfig(8) search directories.
deraadt [Thu, 11 Jan 1996 17:41:53 +0000 (17:41 +0000)]
login names starting with "t" were trashed; original bug report by
<tommy@mdc.tijp.ti.com>. from soda@sra.co.jp; netbsd pr#1926
deraadt [Wed, 10 Jan 1996 22:15:13 +0000 (22:15 +0000)]
merge error
briggs [Wed, 10 Jan 1996 19:08:04 +0000 (19:08 +0000)]
Save inquiry flags in sc_link so low-level drivers can use it.
deraadt [Wed, 10 Jan 1996 18:02:12 +0000 (18:02 +0000)]
plan9-like rfork() implimentation by me based on some earlier incomplete
work by rminnich@Sarnoff.COM. still needs RFNOWAIT support.
deraadt [Wed, 10 Jan 1996 17:10:04 +0000 (17:10 +0000)]
describe actual openbsd rfork() details. this should be converted to a
mandoc manpage by some brave individual (prettier because they fit more
data on the same page). please?
chuck [Wed, 10 Jan 1996 16:26:16 +0000 (16:26 +0000)]
Imported from FreeBSD:
Add support for the SMC8416 (EtherEZ) ISA ethernet card.
The 8416 has an 8K shared mem (the old driver assumed 16K
and failed at attach time).
deraadt [Wed, 10 Jan 1996 09:38:36 +0000 (09:38 +0000)]
original rfork(2) manpage from plan9. This will be modified to describe
the actual implimentation in OpenBSD.
> From: "Rob Pike" <rob@plan9.att.com>
> feel free to borrow the text of the plan 9 rfork page, with attribution.
dm [Tue, 9 Jan 1996 16:24:18 +0000 (16:24 +0000)]
make in ipf directory (oops)
briggs [Tue, 9 Jan 1996 16:14:28 +0000 (16:14 +0000)]
Go ahead and look for the sonic--no problem if we don't find it.
briggs [Tue, 9 Jan 1996 16:11:51 +0000 (16:11 +0000)]
Add first guesses for a few more machines.
Also set sonic flag for MACH_CLASSQ.
briggs [Tue, 9 Jan 1996 16:01:03 +0000 (16:01 +0000)]
Add some more machine defines.
dm [Tue, 9 Jan 1996 09:29:24 +0000 (09:29 +0000)]
added IP filter to netstat/rc and put examples in /usr/share/ipf
deraadt [Tue, 9 Jan 1996 09:24:32 +0000 (09:24 +0000)]
from netbsd:
Update a kludge from 4.4bsd/pmax: DECstation PROMs force the clock to
be in 1972 or 1973. If the clock is set to the actual time, the PROM
appears to reset the chip date to 1972 at each reboot.
Change the "year offset" from 22 years to 24 years (good till 1997)
until this code is replaced with something that uses the chip as a
seconds-since-beginning-of-year clock (encoded as a date, relative to
1972-01-01 00:00:00).
deraadt [Tue, 9 Jan 1996 09:24:01 +0000 (09:24 +0000)]
from netbsd; Fix setcontext call and sendsig
deraadt [Tue, 9 Jan 1996 09:20:36 +0000 (09:20 +0000)]
from netbsd; compile hpux_machdep.c if COMPAT_HPUX
deraadt [Tue, 9 Jan 1996 09:14:38 +0000 (09:14 +0000)]
from netbsd:
Part of the tostools reorganization. All directories now contain a Makefile
and the user interface to the various tools has been standarized.
deraadt [Tue, 9 Jan 1996 09:13:45 +0000 (09:13 +0000)]
from leo:
Common library for all tostools. (Waldi Ravens and myself)
deraadt [Tue, 9 Jan 1996 09:13:10 +0000 (09:13 +0000)]
from leo:
Atari partion table checker. Checks the validity of AHDI and/or
NetBSD/Atari partition tables. (Waldi Ravens)
briggs [Tue, 9 Jan 1996 04:06:49 +0000 (04:06 +0000)]
spltty shouldn't need to block serial hard interrupts--just soft.
splimp can drop, too.
niklas [Mon, 8 Jan 1996 22:16:07 +0000 (22:16 +0000)]
Add OpenBSD configuration, it's exactly like NetBSD.
niklas [Mon, 8 Jan 1996 21:28:57 +0000 (21:28 +0000)]
As it is highly unlikely OpenBSD's object file format will divert from
NetBSD's, alias it instead of implementing a distinct but identical
configuration.
niklas [Mon, 8 Jan 1996 21:20:43 +0000 (21:20 +0000)]
As it is highly unlikely OpenBSD's object file format will divert from
NetBSD's, alias it instead of implementing a distinct but identical
configuration.
deraadt [Mon, 8 Jan 1996 19:31:06 +0000 (19:31 +0000)]
from netbsd; Correct name of sysi86 function
deraadt [Mon, 8 Jan 1996 19:30:21 +0000 (19:30 +0000)]
from netbsd:
Add '/emul/ultrix' pathname processing to Ultrix emulation, and move
Ultrix syscalls that require that processing out of ultrix_misc.c
to ultrix_pathname.c.
deraadt [Mon, 8 Jan 1996 18:55:02 +0000 (18:55 +0000)]
from ragge; Changed to work correctly with both K&R and ANSI cpp.
deraadt [Mon, 8 Jan 1996 18:54:33 +0000 (18:54 +0000)]
from ragge:
Device driver for TS11/TSV05 tape devices.
Written by Bertram Barth, based on TMSCP device driver.
deraadt [Mon, 8 Jan 1996 18:52:51 +0000 (18:52 +0000)]
update from netbsd
deraadt [Mon, 8 Jan 1996 18:52:01 +0000 (18:52 +0000)]
from netbsd; Hand-code softintr()
deraadt [Mon, 8 Jan 1996 18:50:24 +0000 (18:50 +0000)]
from leo; Remove a stray MAXPARTITIONS definition
deraadt [Mon, 8 Jan 1996 18:49:06 +0000 (18:49 +0000)]
from ragge; Changed to only include <machine/asm.h>, as the other ports
deraadt [Mon, 8 Jan 1996 18:48:21 +0000 (18:48 +0000)]
from ragge:
Added 'all' option to create a reasonable amount of standard devices.
Tape devices now called after their kernel names, (ie. ts0, ht0) and
not mt? for all of them. mt? names are kept as symbolic links anyway
so that it don't break anything.
deraadt [Mon, 8 Jan 1996 18:46:19 +0000 (18:46 +0000)]
from ragge; Change to be more consistent with device naming
deraadt [Mon, 8 Jan 1996 18:45:54 +0000 (18:45 +0000)]
from ragge; Updated to conform to reality
niklas [Mon, 8 Jan 1996 18:16:01 +0000 (18:16 +0000)]
Support OpenBSD configuration, by cloning NetBSD config entries.
niklas [Mon, 8 Jan 1996 15:54:12 +0000 (15:54 +0000)]
Tweaks for OpenBSD:
1) recognize OpenBSD at various places
2) m68k-cbm-* is *NOT* ELF always
3) clean-info must be called before distclean in the GAS
realclean target
4) don't install unformatted ma-pages
5) add a Makefile.bsd-wrapper
6) just build gas through Makefile.bsd-wrapper yet
There are still other things to do...
deraadt [Mon, 8 Jan 1996 11:36:02 +0000 (11:36 +0000)]
add rfork.o and minherit.o
niklas [Mon, 8 Jan 1996 11:03:33 +0000 (11:03 +0000)]
Initial GNU binutils 2.6 import
deraadt [Mon, 8 Jan 1996 09:33:31 +0000 (09:33 +0000)]
from netbsd:
Deal with GCC's dead code elimination being suboptimal.
Modify splraise() to allow better optimization.
Make cpl, ipending, and astpending volatile.
Make sure interrupts are disabled before jumping to a resume point,
to prevent races.
Make FPU faults use INTRFASTEXIT, and remove INTREXIT.
Build the frame for recursive interrupts manually, and make sure to
disable interrupts to avoid races.
VS: ----------------------------------------------------------------------
deraadt [Mon, 8 Jan 1996 07:44:56 +0000 (07:44 +0000)]
from netbsd; Make the block size always a whole number of samples
dm [Mon, 8 Jan 1996 07:36:23 +0000 (07:36 +0000)]
graichen@freebsd.org: fixed -type:=direct mounts in amd
deraadt [Mon, 8 Jan 1996 07:32:12 +0000 (07:32 +0000)]
Produce less output on -q as promised by the man page;
from jhawk@mit.edu; netbsd pr#998
deraadt [Sun, 7 Jan 1996 17:38:21 +0000 (17:38 +0000)]
add fdshare() and fdinit() calls for dealing with filedesc structures
deraadt [Sun, 7 Jan 1996 17:20:35 +0000 (17:20 +0000)]
add minherit() system call
niklas [Sun, 7 Jan 1996 15:48:21 +0000 (15:48 +0000)]
Fix it so we can resurrect dead files on tagged branches.
davem [Sun, 7 Jan 1996 15:18:08 +0000 (15:18 +0000)]
When servicing a memory error on the sun4/sun4c make
sure the store buffers on the chip are completely flushed to ensure
proper handler completion.
deraadt [Sun, 7 Jan 1996 14:35:01 +0000 (14:35 +0000)]
from netbsd: Put #includes in the right order
deraadt [Sun, 7 Jan 1996 14:28:52 +0000 (14:28 +0000)]
from netbsd; do not save caller-saved registers
deraadt [Sun, 7 Jan 1996 13:53:36 +0000 (13:53 +0000)]
from netbsd:
Move the obviously machine-dependent HP-UX compat code to hpux_machdep.{c,h}.
A fair bit of this, the m68k core dump and exec goo, can probably be
made into a generic m68k hpux module, eventually.
deraadt [Sun, 7 Jan 1996 13:22:47 +0000 (13:22 +0000)]
update from netbsd
deraadt [Sun, 7 Jan 1996 13:19:06 +0000 (13:19 +0000)]
from leo:
Add an nvram-driver. This driver makes it possible to read/write the
configuration info stored in the nvram on the mc146818
deraadt [Sun, 7 Jan 1996 13:18:25 +0000 (13:18 +0000)]
from netbsd; Keep more debugging history (Paul Goyette). Synced with mac68k version
deraadt [Sun, 7 Jan 1996 09:55:33 +0000 (09:55 +0000)]
pass a useful environment to ip-up/ip-down scripts; this is not a
security problem
different fix than from banshee@gabriella.resort.com; netbsd pr#1866
deraadt [Sun, 7 Jan 1996 09:51:21 +0000 (09:51 +0000)]
more traditional semantics. if wheel group has no listed users, anyone
can su to root. default wheel group lists "root" as a user, thus
defaulting to a secure envirment. from arnej@pvv.unit.no; netbsd pr#1894
deraadt [Sun, 7 Jan 1996 07:43:18 +0000 (07:43 +0000)]
diff(1) invokes pr(1) with invalid option "-f";
from earle@netbsd4me.jpl.nasa.gov; netbsd pr#1896
dm [Sun, 7 Jan 1996 07:40:59 +0000 (07:40 +0000)]
created devices for the IP filter log on all architectures
deraadt [Sun, 7 Jan 1996 07:37:38 +0000 (07:37 +0000)]
typo in strspn manpage; from kashmir@umiacs.umd.edu; netbsd pr#1905
deraadt [Sun, 7 Jan 1996 07:36:11 +0000 (07:36 +0000)]
date formatting glitch; from kashmir@umiacs.UMD.EDU; netbsd pr#1906
deraadt [Sun, 7 Jan 1996 05:28:00 +0000 (05:28 +0000)]
accept either ffs or ufs for filesystem name
dm [Sun, 7 Jan 1996 02:33:01 +0000 (02:33 +0000)]
from beurton@fnet.fr: Darren Reed's IP filter
dm [Sat, 6 Jan 1996 20:04:21 +0000 (20:04 +0000)]
/bsd and OpenBSD got changed back to /netbsd and NetBSD in the
timing patch. I switched them back.
deraadt [Sat, 6 Jan 1996 17:48:39 +0000 (17:48 +0000)]
from netbsd; some U tags
deraadt [Sat, 6 Jan 1996 17:46:35 +0000 (17:46 +0000)]
from 4.4lite2; additional data from SIOCGIFCONF is at least sockaddr sized