Commit Graph

91471 Commits

Author SHA1 Message Date
martin
7942602380 Don't crash when trying to read phone data while there is no ISDN
connection. From FreeBSD, via Matthias Drochner.
2002-01-27 11:42:13 +00:00
martin
b41d81ade2 Ooops, ISDN phone devices have an ioctl function, so add them to the
cdevsw. Noticed by Matthias Drochner.
(One of these days I'll setup an answering machine for testing myself ;-) )
2002-01-27 11:40:48 +00:00
jdolecek
ba097d4c37 normalize INSECURE and SCSIVERBOSE descriptions 2002-01-27 11:15:36 +00:00
jdolecek
c3bf023668 regen: INSECURE, SCSIVERBOSE description change,
s/define/uncomment/, add raid stuff
2002-01-27 11:12:39 +00:00
jdolecek
0be9185a81 take care to undo some cpp's whitespace changes when
generating the kernel configs
2002-01-27 11:11:35 +00:00
takemura
7f66bbfe65 Don't call tx39power_suspend_cpu unless the CPU is TX. 2002-01-27 11:11:11 +00:00
takemura
345bbe4615 Do nothing if there is no screen. 2002-01-27 11:08:30 +00:00
jdolecek
5592a685d7 avoid '# define', this is processed by cpp 2002-01-27 11:07:38 +00:00
jdolecek
e9fccf8bac normalize description of INSECURE and SCSIVERBOSE 2002-01-27 10:52:31 +00:00
jdolecek
6faa3a8ff2 add defflag PIPE_SOCKETPAIR 2002-01-27 10:28:20 +00:00
jdolecek
b88029fb96 Use '-d' rather than '-f' for specification of alternative
mixer or audioctl device. The support for '-f' is kept for compatibility
for now.
2002-01-27 10:09:55 +00:00
thorpej
1964af2d8a Update for a leading-underscore-free ELF world. 2002-01-27 09:02:37 +00:00
lukem
8d39bcd4da correct comment 2002-01-27 07:19:25 +00:00
lukem
e5182cb71d use ${PAX} instead of tar | gzip 2002-01-27 07:03:04 +00:00
lukem
791fb512f3 public prototypes should use __P(); fix entries for pwcache_{user,group}db() 2002-01-27 07:00:43 +00:00
lukem
6af35d5a81 - replace "tar -cf - ... | gzip -9 > foo" with "GZIP=-9 ${PAX} -zwf foo ... "
- more comment hacking
2002-01-27 06:49:22 +00:00
uch
415a0562eb clean up debug print and configuration. 2002-01-27 05:15:35 +00:00
uch
4a61fd0786 add self kernel loader. 2002-01-27 05:14:33 +00:00
reinoud
a233fbd53e Fix major bug in make(1) ... due to shadowing of the dotLast path used for
the .DOTLAST primitive by a boolean variable with the same name, this whole
mechanism was broken ... it doesn't save much stat calls but it was wrong.

Thanks to Jason Thorpe for the other shadow-variable fixing patches he
made.
2002-01-27 01:50:54 +00:00
minoura
2bc20613fa Pull back from xxboot/img. 2002-01-27 01:47:59 +00:00
lukem
03a5940a64 - add the following targets to the DESTDIR=="" check:
install-etc-files iso_image_mi iso-image_md_pre iso-image_md_post snap_kern
- add the following targets to the RELEASEDIR=="" check:
    iso_image_mi iso-image_md_pre iso-image_md_post snap_kern
- improve comments around make .flow control statements (including adding
  some helper # { ... # } comments around large .if statements for (ab)use
  with vi showmatch mode)
- clean up whitespace
2002-01-27 01:44:02 +00:00
minoura
99c2f565c1 Remove obsolete xxboot. 2002-01-27 01:43:27 +00:00
minoura
ac2fc7b3ee Reflect boot program changes. 2002-01-27 01:09:15 +00:00
minoura
c2857a6c0b Install as /usr/mdec/install instead of installboot.new. 2002-01-27 01:07:44 +00:00
minoura
c3d188aaa8 omit xxboot, old a.out-only bootblock. 2002-01-27 01:07:00 +00:00
perry
339e1af255 obsolete /usr/games/hide/*, per tech-userland consensus 2002-01-27 00:38:25 +00:00
perry
fd7a92b1a7 Temporarily add a "MKHIDEGAME" variable that by default blocks the
"install some games into /usr/games/hide" dance. This is ?='ed to "no"
at the top of the file.

XXX What we should do ultimately is either add this to bsd.own.mk or
rename it to MKDM and also have it control whether dm(8) is built at all.
2002-01-27 00:35:16 +00:00
perry
12961a1f1e Make this work if HIDEGAME is not set but SETGIDGAME is set.
Also, fix SETGIDGAME -- it was breaking for anything that included
bsd.own.mk
2002-01-27 00:08:49 +00:00
thorpej
bc7317ef89 Slightly simplified version of a patch I just submitted to the
master binutils sources that fix gprof for LP64 platforms and
also fix some problems with cross-gprof:

        * TODO: Remove "host architecture pointer size" item.
        * gmon.h (GMON_HDRSIZE_BSD44_32): Define.
        (GMON_HDRSIZE_BSD44_64): Ditto.
        (GMON_HDRSIZE_OLDBSD_32): Ditto.
        (GMON_HDRSIZE_OLDBSD_64): Ditto.
        (struct raw_phdr): Wrap in #if 0, keeping it for
        documentation purposes only.
        (struct old_raw_phdr): Likewise.
        (struct raw_arc): Likewise.  Change type/size of
        "count" member to long match 4.4BSD.
        * gmon_io: Update copyright years.
        (gmon_io_read_64): New function.
        (gmon_io_read_vma): Use bfd_arch_bits_per_address to
        determine target pointer size.  Use gmon_io_read_32
        and gmon_io_read_64.
        (gmon_io_write_64): New function.
        (gmon_io_write_vma): Use bfd_arch_bits_per_address to
        determine target pointer size.  Use gmon_io_write_32
        and gmon_io_write_64.
        (get_vma): Remove.
        (put_vma): Ditto.
        (gmon_read_raw_arc): New function.
        (gmon_write_raw_arc): New function.
        (gmon_out_read): Do not use struct raw_phdr or
        struct old_raw_phdr to read the gmon header.  Use
        gmon_read_raw_arc to read call graph records.
        (gmon_out_write): Do not use struct raw_phdr or
        struct old_raw_phdr to write the gmon header.  Use
        gmon_write_raw_arc to write call graph records.

This makes the GMON_PTR_SIZE constant obsolete, however I have not
included the changes to the autoconf machinery that eliminate that
constant completely in order to minimize the changes here (they
will be picked up when we import Binutils 2.12 when it is released).
2002-01-26 23:57:59 +00:00
reinoud
7eeda2c9b1 Some targets were obmitted in the .PHONY declaration in the bsd.own.mk file
resulting in (number of suffix rules) times stat() calls to be made to the
kernel.

Also fixing typo cheanhtml to cleanhtml.
2002-01-26 23:53:00 +00:00
tron
6b3f95eac6 Regen. 2002-01-26 22:41:46 +00:00
tron
0f7d8365c0 Add missing names for devices supported by puc(4).
This patch was supplied by Paul Shupak in PR  kern/15368.
2002-01-26 22:40:46 +00:00
christos
b66dfef469 Don't bother to lookup for files in .' that start with a /'. Cuts in the
number of NAMI's from 1344 -> 830 in a full build of /usr/src/usr.bin/make.
2002-01-26 22:36:41 +00:00
christos
933b6f81c0 Process escaped characters properly. Now:
foo\:bar:
	touch $@

works. Of course I am lazy right now, and I am not removing the '\' escapes
so the output looks fine, but it is functionally correct.
2002-01-26 20:42:14 +00:00
christos
62a708c06d KNF: - use %m always instead of sometimes using strerror()
- space problems in casts
     - don't cast 0, use NULL
     - don't have long lines
     - don't cast malloc
     - use warn/warnx instead of fprintf
     - fix bug where a failed mount_mfs would cause the program to continue.
     - pass lint
2002-01-26 19:50:25 +00:00
martin
977cd3d18e Fix leftover from ioctl generalization, causing crashes by checking
the first character of a NULL pointer to detect zero length strings.

Do not set PPP authentication multiple times while parsing the config
file, just do it once later.
2002-01-26 19:31:20 +00:00
ichiro
96f25772c6 OCHI -> OHCI 2002-01-26 16:34:27 +00:00
ichiro
a66a4379d2 regen 2002-01-26 16:31:18 +00:00
ichiro
ee79a9205a OCHI -> OHCI 2002-01-26 16:30:00 +00:00
aymeric
839a40e98d Now that this file is not included when it should not, use the print-objdir
target instead of guessing (wrongly with the new toolchain) object directories.

This allows cross-building of bootblocks with the new toolchain.
2002-01-26 15:07:58 +00:00
simonb
89b7d6e768 Fix tyop, noticed by Allen Briggs. 2002-01-26 15:04:16 +00:00
aymeric
4de458a43c Remove this file so it doesn't get included inadvertently 2002-01-26 15:04:07 +00:00
aymeric
2eb3bcf102 include ${.CURDIR}/../Makefile.booters 2002-01-26 15:03:17 +00:00
aymeric
8cecf70c19 This is a copy of Makefile.inc
Makefile.inc is going to disappear because we don't want txlt, aout2bb and
elf2bb directories to include this stuff; it is only required by bootblocks.
2002-01-26 15:01:17 +00:00
aymeric
9382c87338 - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:40:52 +00:00
lukem
72b9ef303f be a little bit more verbose 2002-01-26 13:27:53 +00:00
aymeric
08fd7bc990 - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:24:53 +00:00
lukem
aa99e59f3d - crank default cpg from 16 to 65536, and let the auto-sizing code in
mkfs() do its job
- pass cpgflg=1 to mkfs() if the user provided cpg, =0 otherwise
- improve error reporting in ffs_write_file()
- only add superblock & block map slop for one cylinder group.
  trying to calculate the number of required cylinder groups caused
  too many problems when tweaking parameters for small file systems.
  rely upon slop from minfree, and upon ffs_write_file() to complain
  if the user is too aggressive about tweaking the parameters
2002-01-26 13:22:16 +00:00
aymeric
685f8b8623 remove trailing spaces and tabs 2002-01-26 13:22:12 +00:00
aymeric
c54298e658 - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:18:57 +00:00