Commit Graph

97361 Commits

Author SHA1 Message Date
rafal
7a98b3fbfe Another one from Scott Taylor: add boot.elf to sgimips MD base list. 2002-05-21 23:23:48 +00:00
itojun
1b614e8939 minor sync w/kame (prototype location) 2002-05-21 23:16:39 +00:00
rafal
4a3f0ef3a4 sysinst updates for sgimips from Scott Taylor with some tweaks from me.
For now, we keep the GENERIC/GENERIC_INDY sets, but make the labels a
bit clearer as to their purposes.

XXX: Still need code to install bootloader into volhdr; need either to
integrate into MI installboot or fix up sgivol (I have changes from Scott
for sgivol, just haven't folded them in yet).
2002-05-21 21:59:03 +00:00
rafal
3ac921616c Make sure to read from stdin, not stdout. From Scott Taylor. 2002-05-21 21:53:35 +00:00
rafal
722dca8509 Turn kernels into ecoff as well by default. 2002-05-21 21:01:34 +00:00
rafal
a5a7e0f25c Add RAMDISK kernels for installation. 2002-05-21 21:00:35 +00:00
rafal
be1025a9ed Add glue for release stuff, extra ramdisk kernels, etc. 2002-05-21 20:56:19 +00:00
rafal
8917c72df2 Release machinery for port-sgimips; original work by Scott Taylor (sgimips
at mrynet.com), NDWO-ified by me (so all bugs are probably my fault).
2002-05-21 20:54:16 +00:00
rafal
3d46bd9251 For reference purposes (as it currently doesn't build): add miniroot build
directory; the ramdisk build also relies on the termcap entry here, so this
isn't totally useless.  All based on work by Scott Taylor (sgimips at
mrynet.com), with bugs most likely added by me.
2002-05-21 20:51:34 +00:00
matt
077fee836c Add code to distinguish between apple and sun gem cores. 2002-05-21 19:58:24 +00:00
tsutsui
8157a94d99 Define and use both HOSTTOTARGET32() and TARGET32TOHOST() properly.
(just for consistency)
2002-05-21 16:49:19 +00:00
tsutsui
88023fad08 Rename dir ramdisk-kernel/ -> instkernel/ 2002-05-21 16:33:37 +00:00
tsutsui
e1e5065c28 List shortlived MD bbinfo.h. 2002-05-21 16:20:03 +00:00
tsutsui
67d9bb7946 /usr/mdec/installboot has been superseded by MI /usr/sbin/installboot. 2002-05-21 16:16:25 +00:00
tsutsui
4a46bc7dbc boot block info stuff is now in MI <sys/bootblock.h>. 2002-05-21 16:11:11 +00:00
tsutsui
6734af58f9 NEWS_BOOT_BLOCK_OFFSET is now changed to 0, so use NEWS_BOOT_BLOCK_BLOCKSIZE
to allocate buffer to read LABELSECTOR.
2002-05-21 14:59:38 +00:00
itojun
313e584cb8 correct bitmask computation. more KNF. sync w/kame 2002-05-21 14:29:52 +00:00
itojun
33413b2866 KNF. a memory leak fix. sync w/kame 2002-05-21 14:22:05 +00:00
lukem
1dfde69630 Support shell metacharacters (`*', '?', '[') in /etc/changelist lines,
including checks for "backups that exist when actual file is deleted", a la
the existing mechanism used for "/etc/ifconfig.*" ... "/etc/rc.d/*" checks.
This resolves [security/15798] from Bob Kemp <bob@allegory.demon.co.uk>.
2002-05-21 13:50:46 +00:00
christos
71fa9914d7 PR/16941: Antti Kantee: Clean up unused functions. 2002-05-21 12:51:27 +00:00
lukem
a40243df30 When using backup_uses_rcs=YES in backup_file(), after checking the file
in and setting -kb, check it out again, since the initial check in
trashes any RCSIDs (because -kb wasn't set at that time).

This stops the annoying situation where you add a new file (e.g, "foo")
which contains an RCSID and you get *two* notifications of differences
in two successives runs of /etc/security; the first when the file is
initially checked in and a second when diff finds the RCSID is different
(contains "foo.conf,v 1.1" instead of "foo,v 1.66").
2002-05-21 12:31:01 +00:00
lukem
765dc83a3e add AFAIU and AIU. from <dive@endersgame.net> in [misc/15905] 2002-05-21 12:01:09 +00:00
lukem
e5aacbc0a7 Add examples. Inspired by [misc/16193] from
Brian A. Seklecki <lavalamp@hurt.spiritual-machines.org>
2002-05-21 11:25:38 +00:00
lukem
9234db0acd Improve mount_mfs examples. Inspired by [misc/16193] from
Brian A. Seklecki <lavalamp@hurt.spiritual-machines.org>
2002-05-21 11:17:57 +00:00
martin
2fe85a6623 Uniformly pass a "struct isdn_l3_driver *" through layer 2, so we
do not have to search for that driver later while we already knew it
at layer 1.
2002-05-21 10:31:10 +00:00
itohy
dd60955377 file(1) magic for Human68k (X680x0 DOS) binary formats 2002-05-21 07:59:16 +00:00
pooka
77f6bf6332 source ../common/upgrade, which seems to be the common practise 2002-05-21 07:12:18 +00:00
scottr
91087ff57e Don Bruder's extensive debug output provided in PR 16907 showed that
intvid didn't find the frame buffer on his PB 170 in NetBSD 1.5. This is
because the PowerBook 140/145+145B/170 entries in intvid_info[] were
entered into the table directly from the corresponding hardware tech
notes. Unfortunately, the actual frame buffer is mapped at an offset
of 32 KB from the base of the region (at least when in 32-bit mode).

Since all 4 of these systems have identical video configurations, I'm
updating the rest to match.
2002-05-21 07:05:31 +00:00
rafal
323d0df617 Add (empty) upgrade file to satisfy build. 2002-05-21 07:04:15 +00:00
manu
17f9f77621 Filling tables for device 62 (irix_usema) where it was missing 2002-05-21 06:35:08 +00:00
augustss
e05075c8d4 Rename a cpc device. 2002-05-21 03:05:00 +00:00
augustss
cd2c33190e Add stuff for the CPC700. 2002-05-21 03:01:02 +00:00
augustss
54bb400a18 Add a driver for the IBM CPC700 chip. This chip is a host bridge for
PowerPC and provides a PCI-host bridge, interrupt controller, two com ports,
two IIC ports, a timer, and a DRAM controller.
The driver supports PCI, interrupts and com ports.
2002-05-21 02:58:25 +00:00
augustss
1c66d18529 Make it possible to override the way register access is done.
This is needed for some really screwball attachments of the CS8900.
2002-05-21 02:47:04 +00:00
briggs
e4b2e00519 We are switching to usr.sbin/installboot. 2002-05-21 01:57:33 +00:00
yamt
381fee523f open device as readonly unless -w is specified. 2002-05-21 01:39:56 +00:00
thorpej
e839580821 Move kernel_lock manipulation info functions so that they will
show up in a profile.
2002-05-21 01:38:26 +00:00
simonb
61ea584c2f Widen the ID field to 7 chars; probably should be auto-sized... 2002-05-21 01:10:06 +00:00
wiz
180ed1d2e0 Add man pages for bm(4), gm(4), and mc(4). Some helpful
information provided by Michael Wolfson and various people on port-macppc.
2002-05-21 00:49:54 +00:00
lukem
6a574a38b0 I made a mistake when converting Izumi Tsutsui's back-end to the shared
bbinfo.c module;  news* boot blocks occupy all of the first 16 sectors,
with a jump instruction to skip the label at bytes 64..511.
Replace news_clearboot() and news_setboot() callbacks with common
news_copydisklable() callback, and set bbinfo_params->offset to
NEWS_BOOT_BLOCK_OFFSET (which is now 0), and ->headeroffset to 0.

(Thanks to Izumi for picking this up; the perils of working on code at 2am)
2002-05-21 00:38:08 +00:00
lukem
f6995335d6 Change NEWS_BOOT_BLOCK_OFFSET from 512 to 0, since parts of bootxx do
get loaded to sector 0 (even though we have to copy the disklabel back in)
2002-05-21 00:19:17 +00:00
itojun
27f3ac7084 use .It for formatting legal section. 2002-05-20 23:48:40 +00:00
mbw
fff05b1d0e sparc now uses dhcp instead of bootparams 2002-05-20 23:07:15 +00:00
itojun
e534b69c1d raise RTF_HOST if destination is a host (/128). from ume 2002-05-20 23:01:32 +00:00
perseant
ec0ca919be Protect v_freelist with splbio(), since HOLDRELE can be called in
interrupt context (through brelvp).  (LFS may be the only subsystem
affected by this problem.)

Tested on i386.
2002-05-20 22:50:57 +00:00
eeh
44c6c3f7d0 Add bootfs to the build list. 2002-05-20 21:50:45 +00:00
eeh
4062a708d3 Add bootfs for cdrom booting. 2002-05-20 21:50:10 +00:00
jdolecek
9caf54f80a readdisklabel(): fabricate sane default disklabel in case there isn't
any on the disk
Implemented by Christian Limpach, sent in port-next68k/16929.
2002-05-20 20:49:16 +00:00
wiz
f02ecb7d7a No .Pp before section headers, and use .Nx instead of NetBSD in one place. 2002-05-20 20:24:49 +00:00
jdolecek
89924fe79b Fix race condition between the DMA handler (which gets called
on spldma), and rest of driver/network code (which runs on splnet) in way
if->if_snd queue is accessed. Solve by using intermediate queue.

Problem found, and fix provided by Christian Limpach in port-next68k/16798
2002-05-20 20:19:36 +00:00