Commit Graph

97550 Commits

Author SHA1 Message Date
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
jwise
6851e437d5 Separate various parts of sushi(8) from the *-sysutil-* packages into new
*-sushi-* packages.

Suggested by Allen Barret in PR misc/16900:

>$ grep base-sysutil distrib/sets/lists/base/mi | grep sushi | wc -l
>     288
>$ grep base-sysutil distrib/sets/lists/base/mi | grep -v sushi | wc -l
>     136
>
>In a future where syspkgs are useful, it seems likely that some
>people will want to avoid installing sushi, while others will want to
>be able to upgrade sushi without upgrading the entire system.  Several
>small subsystems, including cron and lpr, have their own syspkg sets,
>and it seems reasonable to do the same for the sushi subsystem.
2002-05-20 19:36:00 +00:00
jwise
8a705cc17d Fill in some COMMENT and DESCR files which were inadvertantly left blank. 2002-05-20 19:19:02 +00:00
jdolecek
56eb55e177 Adapt this to post thorpej-scsipi world.
Fix provided by Christian Limpach in port-next68k/16928.
2002-05-20 18:03:03 +00:00
jdolecek
a36ba752c5 Check for zsc properly, and fix typo in #include.
Pointed out, and patch provided by Christian Limpach in private e-mail.
2002-05-20 17:55:46 +00:00
wiz
5bbb967491 For consistency, use MLINKS, not LINKS. 2002-05-20 16:21:32 +00:00
pooka
0bcdf55e14 gio first appeared in 1.5 2002-05-20 16:19:50 +00:00
lukem
2d570bea0e Convert to NDWO build.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:14:20 +00:00
lukem
28afa1a617 Convert from usr/mdec/installboot to usr/sbin/installboot.
(From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:13:39 +00:00
lukem
9f9c6e35b1 convert to using usr/sbin/installboot.
(from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>)
2002-05-20 16:10:33 +00:00
lukem
d22f5cff9c - use uint8_t instead of char for boot block blobs
- bbinfo_params:
	- replace "int littleendian" with "bbinfo_endian endian"
	- add comments
- shared_bbinfo_clearboot():
	- add callback method to shared_bbinfo_clearboot()
	- don't clear from 0..headeroffset; use a callback to do that
- add news68k and newsmips support.
  From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>, with a rework by me to
  take advantage of the new shared_bbinfo_clearboot() callback.
  (XXX: untested yet)
2002-05-20 16:05:26 +00:00
mycroft
44024682c7 The FIX_RESUME_BUG hack does not work, so remove it.
Also, attempt to clarify the message slightly when updating the EEPROM.
2002-05-20 15:23:01 +00:00