Warner Losh
a2df0b493e
On FreeBSD make usb_proc_t the same as d_thred_t always.
2002-03-11 16:38:53 +00:00
Poul-Henning Kamp
063f776327
I missed one VOP_CLOSE in the previous commit.
...
Pointed out by: bde
2002-03-11 16:27:04 +00:00
Josef Karthauser
be036866cf
Be more specific about when block major numbers disappeared from
...
the cdev switch.
2002-03-11 16:22:15 +00:00
Murray Stokely
fbe63bf2bb
Add security/sudo to the list of packages for disc #1 . sudo is small
...
(< 100k), has no dependencies, and is very popular.
2002-03-11 15:08:41 +00:00
Poul-Henning Kamp
3dbceccb78
As a XXX bandaid open the mounted device READ/WRITE even if we only mount
...
read-only.
The trouble here is that we don't reopen the device in read/write mode
when we remount in read/write mode resulting in a filesystem sending
write requests to a device which was only opened read/only.
I'm not quite sure how such a reopen would best be done and defer
the problem to more agile hackers.
2002-03-11 13:53:00 +00:00
Murray Stokely
5702226edc
Update number of ports available.
2002-03-11 13:48:13 +00:00
Maxim Konovalov
39e992262c
Remove duplicated yacc nonterminals declarations, sort includes.
...
No functional changes from rev. 1.31.
Reviewed by: ru
Approved by: ru
MFC after: 1 week
2002-03-11 11:48:55 +00:00
Mark Murray
cae6f50f5a
Try harder to lint without nonstandard stuff.
2002-03-11 11:32:55 +00:00
Mark Murray
724badfb6e
Punt to attic file that moved in latest import.
2002-03-11 11:28:56 +00:00
Mark Murray
7af8da4178
Fix a prototype to match our headers. I am not convinced that doing
...
this in this file is the correct way round. (Maybe our definition of
__assert is wrong?)
Anyway, perhaps we should revisit this later. For the time being,
building lint libraries here does not blow up.
2002-03-11 11:26:17 +00:00
Dag-Erling Smørgrav
66a79b3d49
Sparc64 support.
2002-03-11 11:23:48 +00:00
Mark Murray
40a2924f9a
Fix silly one line error. (Half a .if statement left behind).
2002-03-11 11:20:45 +00:00
Maxim Konovalov
d378717e70
Add a bunch of functions.
...
PR: docs/32561
Reviewed by: deischen, ru
Approved by: ru
MFC after: 2 weeks
2002-03-11 10:45:18 +00:00
Poul-Henning Kamp
c836b2737b
Remove use of the bogus ioctl DIOCGPART.
...
It was used to initialize an unused variable, because ext2fs was
copy&pasted from UFS rather than copy,paste&cleaned from UFS.
Suggested by: bde
2002-03-11 10:11:00 +00:00
Maxime Henrion
3b16e7b252
Simplify the interface cloning framework by handling unit
...
unit allocation with a bitmap in the generic layer. This
allows us to get rid of the duplicated rman code in every
clonable interface.
Reviewed by: brooks
Approved by: phk
2002-03-11 09:26:07 +00:00
Crist J. Clark
1e1d598496
Don't protect savecore(8) from being run with a bad dumpdir
...
argument. Don't fail silently, but let savecore(8) make noise. It
won't behave badly, it doesn't need protection.
At the same time, allow the administrator to have dumpdev enabled
while dumpdir (savecore(8)) is disabled and document how to do it.
PR: conf/35725
2002-03-11 08:47:02 +00:00
Poul-Henning Kamp
7b03a440ee
Add commented out GEOM line to NOTES
2002-03-11 08:27:23 +00:00
Poul-Henning Kamp
e8645018a0
Add GEOM to conf/files.
2002-03-11 08:24:12 +00:00
Poul-Henning Kamp
23b8e16947
Augment struct bio for GEOM.
2002-03-11 08:20:22 +00:00
Poul-Henning Kamp
032fcc6b45
Add a field to struct disk for GEOM
2002-03-11 08:17:40 +00:00
Poul-Henning Kamp
417fb7f6fa
Make the disk_clone() routine more robust for abuse.
...
Sneak in a trivial bit of the GEOM stuff while we're here anyway.
2002-03-11 08:08:02 +00:00
Poul-Henning Kamp
036d25994c
Add the GEOM option.
2002-03-11 08:06:24 +00:00
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