Commit Graph

70947 Commits

Author SHA1 Message Date
Thomas Moestl
49921f1e25 Use the pci_enable_* functions instead of manually fiddling with the
command register.

Pointed out by:	msmith
2002-03-11 02:37:19 +00:00
Dima Dorfman
e26ddc9f60 Belatedly add a release note about destaticizing and modulizing of
snp(4), and note MFC of watch(8) -f.
2002-03-11 01:37:54 +00:00
Dima Dorfman
c871474800 Chase sysctl name.
Submitted by:	Christopher Sharp <christopher_sharp@web.de>
2002-03-11 00:07:55 +00:00
David E. O'Brien
8d72757aba Sync with csu/alpha/Makefile: build crt{i,n}.o.
Leave crtbegin* to the compiler vendor.
2002-03-10 23:33:49 +00:00
David Malone
6c75a65a00 Don't assign strcmp to a variable called err and then compare it
with zero, just compare strcmp with zero. This fixes the same bug
which Maxim just fixed and fixes some odd style too.

PR:		35712
Reviewed by:	arr
2002-03-10 23:12:43 +00:00
Crist J. Clark
a710c16edf Remove a mention of the worm(4) device that was missed when it was
removed from MAKEDEV in 1.171.

PR:		misc/35729
MFC after:	1 day
2002-03-10 22:34:56 +00:00
Maxim Sobolev
5616599331 CG superfluous prototype. 2002-03-10 22:33:04 +00:00
Eivind Eklund
a128794977 - Remove a number of extra newlines that do not belong here according to
style(9)
- Minor space adjustment in cases where we have "( ", " )", if(), return(),
  while(), for(), etc.
- Add /* SYMBOL */ after a few #endifs.

Reviewed by:	alc
2002-03-10 21:52:48 +00:00
Mark Murray
b4f198c344 Don't build xlint until surgery is finished. 2002-03-10 21:15:58 +00:00
Luigi Rizzo
d26070964a CURRENT has devfs, so we do not need to specify what devices we
want on the MFS image. Update the config files accordingly.
2002-03-10 21:12:23 +00:00
Luigi Rizzo
a7bf50ea85 Uncomment the entry for a getty on the serial port. Boxes with
a serial console can make use of it.
2002-03-10 21:11:35 +00:00
Luigi Rizzo
1d5a02b911 Add back the "sis" driver, we had some room left... 2002-03-10 21:10:25 +00:00
Søren Schmidt
835d29c0cd Silence a warning when compile without atapi devices. 2002-03-10 21:03:04 +00:00
Luigi Rizzo
390a2b4152 With devfs, we do not need to initialize pty's permissions. 2002-03-10 20:47:26 +00:00
Luigi Rizzo
5a9365040d The probable boot device is "machdep.guessed_bootdev". 2002-03-10 20:37:04 +00:00
Doug Rabson
a914a17e1d Add an implementation of cpu_throw() and make restorectx() simply branch
to the tail of cpu_switch.
2002-03-10 20:20:31 +00:00
Doug Rabson
f0ec35cae4 Don't try to print the arguments if the value of bsp is outside the
kernel - its asking for trouble.
2002-03-10 20:19:32 +00:00
Luigi Rizzo
60cf2c1254 Export a (machine dependent) kernel variable bootdev as
machdep.guessed_bootdev, and add code to sysctl to parse its value
and give a (not necessarily correct) name to the device we booted
from (the main motivation for this code is to use the info in the
PicoBSD boot scripts, and the impact on the kernel is minimal).

NOTE: the information available in bootdev is not always reliable,
so you should not trust it too much.  The parsing code is the same
as in boot2.c, and cannot cover all cases -- as it is, it seems to
work fine with floppies and IDE disks recognised by the BIOS. It
_should_ work as well with SCSI disks recognised by the BIOS.
Booting from a CDROM in floppy emulation will return /dev/fd0 (because
this is what the BIOS tells us).
Booting off the network (e.g. with etherboot) leaves bootdev unset so
the value will be printed as "invalid (0xffffffff)".

Finally, this feature might go away at some point, hopefully when we
have a more reliable way to get the same information.

MFC-after: 5 days
2002-03-10 20:08:44 +00:00
Maxim Sobolev
832af2d5ed Fix a breakage introduced in rev.1.75 (supposedly style cleanup), which results
in "missing dependencies" error when loading some kld modules. It is sad to
see how often these days style cleanus break doesn't broken things. Perhaps
people should recall good old principle: "don't fix it if it isn't broken".
2002-03-10 19:20:01 +00:00
Wolfram Schneider
a4e726f7c6 Added upcoming FreeBSD 4.6 2002-03-10 19:00:37 +00:00
Wolfram Schneider
64e70e56ab FreeBSD 4.5 is releaseed "29 Jan 2002" (not 20 Jan)
PR:	 misc/35738
Submitted by: WAKABAYASHI Susumu <susumu@wakabaya.net>
2002-03-10 18:57:44 +00:00
Doug Rabson
a094749d89 Allow '.' in identifiers - some ia64 register names contain '.'. 2002-03-10 17:08:24 +00:00
Doug Rabson
a7f314ea94 Use the right value for the region length in parse_spill_mask. 2002-03-10 17:03:45 +00:00
Seigo Tanimura
01d901fff3 Do not call a synthesizer with a sequencer lock held. 2002-03-10 16:56:38 +00:00
Sebastien Gioria
35db951f0e Filesystem translation 2002-03-10 15:37:56 +00:00
Robert Watson
179e0241ea /var/log/security gets almost no (if not no) activity on many FreeBSD
systems due to sshd not using the security log class.  Tweak syslog.conf
so that /var/log/security also gets a useful set of
authentication-related logging.

Submitted by:	aeonflux@synapse.subneural.net
MFC after:	4 weeks
2002-03-10 15:20:36 +00:00
Andrey A. Chernov
dfe8796660 Setlocale returns static buffer, don't assume it will be unchanged
Pointed by:	phantom
2002-03-10 14:54:59 +00:00
Sebastien Gioria
8277f29174 "Base system/contributed software " section translation 2002-03-10 14:50:34 +00:00
Sebastien Gioria
55aabb5851 Adding Multimedia section translation 2002-03-10 14:05:41 +00:00
Søren Schmidt
c75ece6633 Check the <channel> arg a bit more.
Submitted by: David Malone <dwmalone@maths.tcd.ie>
2002-03-10 13:59:00 +00:00
Sebastien Gioria
c5f14263c0 PCCARD support translation 2002-03-10 13:49:02 +00:00
Sebastien Gioria
ef941abbf9 Adding Disk and storage translation 2002-03-10 12:33:02 +00:00
Takanori Watanabe
03b8237df8 Add SONY VAIO psm controller ISA-PnP ID. 2002-03-10 12:22:17 +00:00
Bill Fumerola
29ec623730 cosmetic: spell 'cashe' as 'cache' 2002-03-10 12:08:28 +00:00
Poul-Henning Kamp
01de1b13b8 Make the proposed name arg to dev_stdclone() const. 2002-03-10 10:50:05 +00:00
Dima Dorfman
42277d473c Document `sysctl variable=/dev/foo' syntax.
PR:		34184
Submitted by:	Thomas Quinot <thomas@cuivre.fr.eu.org>
2002-03-10 09:53:39 +00:00
Dima Dorfman
2f5f12f5a7 Link scbus(4) to scsi(4). Most of the other CAM devices have their
own manual pages, but this is better than nothing until someone writes
a real scbus(4).

PR:		35641
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-03-10 09:21:50 +00:00
Dima Dorfman
38261ac8d6 Don't refer the reader to look for a word that doesn't exist anywhere
else in the page.

PR:		35623
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-03-10 09:20:28 +00:00
Dima Dorfman
53710503e9 The chapter on kernel debugging is now in the Developers' Handbook.
Add a trailing slash to a URL while I'm here.

PR:		35637
Submitted by:	Gary W. Swearingen <swear@blarg.net>, setantae@submonkey.net
2002-03-10 09:15:22 +00:00
Dima Dorfman
1c1a8b560e Remove inappropriate .Op calls in examples.
PR:		35689
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-03-10 09:10:06 +00:00
Dima Dorfman
a697e022f0 Minor English fixes.
PR:		35730
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-03-10 08:50:53 +00:00
Luigi Rizzo
7c1e1cf188 Fix one genuine bug and a potential one:
-#if defined(__FreeBSD__) && __FreeBSD_version__ >= 500023
  +#if defined(__FreeBSD__) && __FreeBSD_version >= 500023

is a genuine bug -- __FreeBSD_version__ does not exist.
The other one:

  -#if (__FreeBSD__ < 5)
  +#if (__FreeBSD_version < 500000)

pops out when you cross-compile the code:

  __FreeBSD__			is a compiler predefine,
  __FreeBSD_version		is defined in <sys/param.h> .

Given that in this case (and all others in sys/dev/usb and sys/i4b)
the goal is to adapt to a different kernel interface, and not to
a compiler feature, I believe the correct form is the second one
(in the best case the two are synonyms so the change does not break
anything anyways).
2002-03-10 08:29:53 +00:00
Yoshihiro Takahashi
369bbb548d Free allocated buffer at siodetach().
MFC after:	3 days
2002-03-10 07:22:42 +00:00
Mike Barcroft
6a6230d2f6 o Add INET_ADDRSTRLEN and INET6_ADDRSTRLEN defines to <arpa/inet.h>
for POSIX.1-2001 conformance.
o Add magic to <netinet/in.h> and <netinet6/in6.h> to prevent
  redefining INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
o Add a note about missing typedefs in <arpa/inet.h>.
2002-03-10 06:42:27 +00:00
Yoshihiro Takahashi
2bc5801e8c MFi386: revision 1.501 2002-03-10 06:19:37 +00:00
Bruce A. Mah
9c330bfd7c Spell-check and fix some other typos.
Pointed out by:	tmm
2002-03-10 02:52:44 +00:00
Alan Cox
b275b127db Condition the compilation of trapwrite() on I386_CPU. 2002-03-10 02:11:38 +00:00
Jake Burkholder
c57dee1fd1 Add sparc64 ifdefs. 2002-03-10 01:34:22 +00:00
Jake Burkholder
9f5bcb6350 Make this build on sparc64. 2002-03-10 01:25:47 +00:00
Jake Burkholder
a46877abfc Increase VM_KMEM_SIZE to 16 megs from 12. Define VM_KMEM_SIZE_SCALE so that
the number of physical pages per KVA page allocated scales properly with
memory size.  This fixes problems with kmem_map being too small.

Noticed by:	mike, wollman
Submitted by:	tmm
2002-03-09 23:35:50 +00:00