Poul-Henning Kamp
749e11661c
Mark some arguments __unused.
2002-03-11 08:04:59 +00:00
Luigi Rizzo
900e78cdda
Make this compile again
...
Reported-by: Bruce Montague
2002-03-11 08:03:50 +00:00
Luigi Rizzo
1fe994e78b
Make this compile again (increase MFS size, remove invalid option).
...
Reported-by: Bruce Montague
2002-03-11 08:03:07 +00:00
Seigo Tanimura
183ccde6c6
Stop abusing the pgrpsess_lock.
2002-03-11 07:53:13 +00:00
Seigo Tanimura
aa3bf85c54
Do not lock the pgrpsess_lock exclusively across ttywait().
...
Spotted by: David Wolfskill <david@catwhisker.org>
Investigated by: rwatson
2002-03-11 07:51:08 +00:00
Benno Rice
8862232d7b
Correct a typo. (* that should've been &)
2002-03-11 07:09:42 +00:00
Luigi Rizzo
bca9bbeae7
Make the handling of machdep.guessed_bootdev compiled on i386 only.
2002-03-11 06:50:28 +00:00
David E. O'Brien
77d49b3cf4
Due to changes in the handling of the #line directive by GCC(cpp) 3.1,
...
we must now explicitly list the source directory with -I.
2002-03-11 06:45:31 +00:00
Luigi Rizzo
5ea9adc715
Fix detection of existing ssh host key, generate the new one
...
in floppy.tree instead of mfs_tree.
Do not cleanup ${BUILDDIR}/floppy.tree, it might be useful to look
at it after an image has been built.
2002-03-11 05:54:22 +00:00
Luigi Rizzo
a914eaada5
Make appropriate changes to use devfs.
...
Add a reference to the fd_size variable to set floppy size.
2002-03-11 05:46:18 +00:00
Luigi Rizzo
6a615db5a9
Default to ee as EDITOR (some apps such as disklabel default to "vi"
...
which is not available).
2002-03-11 05:42:14 +00:00
Luigi Rizzo
45b51b4564
Use machdep.guessed_bootdev to guess the boot device.
2002-03-11 05:15:44 +00:00
David E. O'Brien
fd43aa1c2c
Add complete Sparc64 support.
...
Submitted by: tmm
Dike out vax support.
2002-03-11 04:41:42 +00:00
David E. O'Brien
90b8f6bab5
* Support the Sparc64.
...
* Do not default to any particular platform. Require that we explicitly
support a particular platform.
2002-03-11 04:20:37 +00:00
Dima Dorfman
cdd530ca19
Make the diagnostics printfs less ugly.
2002-03-11 03:48:32 +00:00
Thomas Moestl
d095bc220d
Fix some bugs that would prevent %fsr to be set correctly, and add
...
support for fcmp and fcmpe instructions with a condition code
specification other than %fcc0.
This (primarily the first part) seems to fix a lot of problems that
people were seeing, e.g. perl and gawk failures.
Reported and analyzed by: wollman
2002-03-11 03:18:17 +00:00
Thomas Moestl
61de6bb54c
Account for <machine/fsr.h> no longer being usable for assembler code.
2002-03-11 03:13:02 +00:00
Thomas Moestl
57f31f4714
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
Hidetoshi Shimokawa
0c7658478e
Add support for Simplified Direct Access Device in scsi_op_desc().
2002-03-11 03:08:17 +00:00
Thomas Moestl
9390de81a1
Fix the type of some constants, and make some macros safer by casting
...
the argument.
2002-03-11 03:04:28 +00:00
Thomas Moestl
25aab485b6
Add convenience macros to extract the cc0 and cc1 from format 2 and 3
...
instructions.
2002-03-11 03:03:35 +00:00
Thomas Moestl
9300cb7db7
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
David E. O'Brien
0d72dddf57
Wrong spelling of PIC.
...
Submitted by: jake
2002-03-11 02:50:03 +00:00
Dima Dorfman
50c649d230
Don't depend on ucred.h to include sys/queue.h for us.
2002-03-11 02:37:34 +00:00
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