Commit Graph

71244 Commits

Author SHA1 Message Date
tmm
add3c8c972 Account for <machine/fsr.h> no longer being usable for assembler code. 2002-03-11 03:13:02 +00:00
tmm
30dcded43a Fix __dtoul to work on sparc64 (it used a half-way v8 stack layout),
and make it PIC-aware.
2002-03-11 03:10:55 +00:00
simokawa
0b19b34b12 Add support for Simplified Direct Access Device in scsi_op_desc(). 2002-03-11 03:08:17 +00:00
tmm
aababfffd5 Fix the type of some constants, and make some macros safer by casting
the argument.
2002-03-11 03:04:28 +00:00
tmm
4667cf8132 Add convenience macros to extract the cc0 and cc1 from format 2 and 3
instructions.
2002-03-11 03:03:35 +00:00
tmm
9d0a7ccb85 Save/restore the %y register around calls to the C user trap handler;
gcc emits the deprecated sparc v8 instructions that use this register
when optimizing for UltraSparc machines because they are apparetly
faster then their v9 counterpars there.
2002-03-11 02:53:03 +00:00
obrien
76fa25cebd Wrong spelling of PIC.
Submitted by:	jake
2002-03-11 02:50:03 +00:00
dd
725997896e Don't depend on ucred.h to include sys/queue.h for us. 2002-03-11 02:37:34 +00:00
tmm
747cc01268 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
dd
195b310620 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
dd
70372059b0 Chase sysctl name.
Submitted by:	Christopher Sharp <christopher_sharp@web.de>
2002-03-11 00:07:55 +00:00
obrien
f458f10478 Sync with csu/alpha/Makefile: build crt{i,n}.o.
Leave crtbegin* to the compiler vendor.
2002-03-10 23:33:49 +00:00
dwmalone
532dc5e009 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
cjc
d488da1915 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
sobomax
ddf6a89609 CG superfluous prototype. 2002-03-10 22:33:04 +00:00
eivind
0799ec54b1 - 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
markm
50558d3ff6 Don't build xlint until surgery is finished. 2002-03-10 21:15:58 +00:00
luigi
837ffe4451 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
bf24f7e68a 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
b979035403 Add back the "sis" driver, we had some room left... 2002-03-10 21:10:25 +00:00
sos
2420c1b451 Silence a warning when compile without atapi devices. 2002-03-10 21:03:04 +00:00
luigi
58e10953a4 With devfs, we do not need to initialize pty's permissions. 2002-03-10 20:47:26 +00:00
luigi
8546115965 The probable boot device is "machdep.guessed_bootdev". 2002-03-10 20:37:04 +00:00
dfr
2a23082797 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
dfr
98462a3128 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
ad77debfc5 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
sobomax
c497ba78d2 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
wosch
55f3803bff Added upcoming FreeBSD 4.6 2002-03-10 19:00:37 +00:00
wosch
7d6deb1212 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
dfr
1af6584d49 Allow '.' in identifiers - some ia64 register names contain '.'. 2002-03-10 17:08:24 +00:00
dfr
0f4c4de19a Use the right value for the region length in parse_spill_mask. 2002-03-10 17:03:45 +00:00
tanimura
53021e2926 Do not call a synthesizer with a sequencer lock held. 2002-03-10 16:56:38 +00:00
gioria
c91f006802 Filesystem translation 2002-03-10 15:37:56 +00:00
rwatson
c2d83956da /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
ache
bb01e62002 Setlocale returns static buffer, don't assume it will be unchanged
Pointed by:	phantom
2002-03-10 14:54:59 +00:00
gioria
e948cabaa6 "Base system/contributed software " section translation 2002-03-10 14:50:34 +00:00
gioria
87b83d87f4 Adding Multimedia section translation 2002-03-10 14:05:41 +00:00
sos
7acee01805 Check the <channel> arg a bit more.
Submitted by: David Malone <dwmalone@maths.tcd.ie>
2002-03-10 13:59:00 +00:00
gioria
a3b6b34c1b PCCARD support translation 2002-03-10 13:49:02 +00:00
gioria
8775955f6b Adding Disk and storage translation 2002-03-10 12:33:02 +00:00
takawata
6bbe628e1d Add SONY VAIO psm controller ISA-PnP ID. 2002-03-10 12:22:17 +00:00
billf
f9f9d37294 cosmetic: spell 'cashe' as 'cache' 2002-03-10 12:08:28 +00:00
phk
e28f5bfbe1 Make the proposed name arg to dev_stdclone() const. 2002-03-10 10:50:05 +00:00
dd
d86c11330d 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
dd
a0a82fddd1 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
dd
e91b891fb5 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
dd
ca4d903ddb 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
dd
69ed61e704 Remove inappropriate .Op calls in examples.
PR:		35689
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-03-10 09:10:06 +00:00
dd
a67c922152 Minor English fixes.
PR:		35730
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-03-10 08:50:53 +00:00
luigi
4834f513d8 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