Commit Graph

45008 Commits

Author SHA1 Message Date
Mike Smith
01fef73008 Don't mark unallocated resources as active; the goal is to reserve them,
and there may be a good reason for them being unallocated (eg. they're
nonsensical or not useful).  The goal here is simply to reserve them
against accidental use by other code.
2000-01-18 02:15:05 +00:00
Mike Smith
f6bf1bb672 Don't try to map memory resources into the kernel until they're actually
activated.  Some of the things that get listed as "resources" aren't
necessarily suited for this.

(This shouldn't be a problem for any driver that correctly passes
RF_ACTIVE)
2000-01-18 02:13:27 +00:00
Kirk McKusick
71c87cfd7e Need to reset the buffer pointer to avoid reconsidering the same buffer
again (without this the rollback analysis was being lost). Should reduce
the write count for most workloads.

Submitted by:	Craig A Soules <soules+@andrew.cmu.edu>
2000-01-18 02:13:26 +00:00
Dan Moschuk
61de98348a Fix a bug in previous commit where pkg_{delete,info} foo-1.0/ would segfault.
Noticed first by: kris
2000-01-18 01:45:54 +00:00
Matt Jacob
a5d8019e08 add a R_PREV_IDX macro 2000-01-18 01:42:11 +00:00
Kirk McKusick
57a91f6fb0 During fastpath processing for removal of a short-lived inode, the
set of restrictions for cancelling an inode dependency (inodedep)
is somewhat stronger than originally coded. Since this check appears
in two places, we codify it into the function check_inode_unwritten
which we then call from the two sites, one freeing blocks and the
other freeing directory entries.

Submitted by:	Steinar Haug via Matthew Dillon
2000-01-18 01:33:05 +00:00
Kirk McKusick
4c6adb0622 Need to reorganize the flushing of directory entry (pagedep) dependencies
so that they never try to lock an inode corresponding to ".." as this
can lead to deadlock. We observe that any inode with an updated link count
is always pushed into its buffer at the time of the link count change, so
we do not need to do a VOP_UPDATE, but merely find its buffer and write it.
The only time we need to get the inode itself is from the result of a
mkdir whose name will never be ".." and hence locking such an inode will
never request a lock above us in the filesystem tree. Thanks to Brian
Fundakowski Feldman for providing the test program that tickled soft updates
into hanging in "inode" sleep.

Submitted by:	Brian Fundakowski Feldman <green@FreeBSD.org>
2000-01-18 01:30:03 +00:00
Bill Fumerola
4aee48edcc Add the "use -lutil" line to all functions that require it so people like
Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with
silly linking errors.

Reviewed by:	chris
2000-01-18 01:27:47 +00:00
Bill Paul
b822a5eae9 Add the vendor/device ID for the Farallon PN9000SX gigabit ethernet
card, which is apparently also a Tigon 2 device.
2000-01-18 00:26:29 +00:00
Wilko Bulte
93ef863182 Changed references to 3.2-stable / 3.3 to 3.4-stable /3.5 2000-01-17 23:15:44 +00:00
Bill Paul
7b7b87d7ef Change the mechanism by which we detect that the firmware is already
running. It turns out that trying to read the MAC address when there's
no firmware creates a zero length transfer. This apparently doesn't
hurt anything on a UHCI controller, but OHCI controllers generate an
IOERROR, and the device doesn't initialize.

Instead, check the bcdDevice revision code. We know this will be
different when the firmware is running, so if we detect the firmware's
code instead of the bare hardware's code, we skip the firmware load.
2000-01-17 23:14:40 +00:00
Brian Feldman
f582ac0630 Fix vn_isdisk() usage to make AIO work on non-disk-files again, rather
than just return ENOTBLK.

PR:	16163
Submitted by:	Adrian Chadd <adrian@FreeBSD.org>
2000-01-17 21:18:39 +00:00
Mike Spengler
96cdb64ea9 Remove un-needed #include's.
Pointed out by: phk
2000-01-17 20:49:59 +00:00
Jeroen Ruigrok van der Werven
77a98af61c Pull a.out.5 into the future. New binary file formats already exist
and are not compatible.  Also, add a crossreference to elf(5).
2000-01-17 20:22:37 +00:00
Archie Cobbs
010c5481fd Work around aparent bug in the .Dv macro by eliminating some spaces.
The closing curly-brace in this line was being omitted somehow.
2000-01-17 20:10:39 +00:00
Bill Paul
4c10dd65ca The correct part number for the CATC ASIC is USB-EL1210A, not
USB-EL1201A or even USB-EL1202A. Wonder what drugs I was on when
I made this mistake, and then propagated it to 6 different files.

*sigh*
2000-01-17 18:49:20 +00:00
Brian Feldman
3f31370c82 :%s:\([A-Z][A-Z]ADD\)=:\1+=:g
Add the forgotten plus, which should unbreak the world build.
2000-01-17 18:01:15 +00:00
Robert Watson
3b563f6b04 acl_delete_default_file() changed to acl_delete_def_file() 2000-01-17 17:48:22 +00:00
Jeroen Ruigrok van der Werven
c7282a5950 Usage of ``net'' in the device argument list is deprecated. 2000-01-17 15:41:14 +00:00
Ruslan Ermilov
4928e3ce0a Add gnu/usr.bin/texinfo to the list of cross-tools.
We need an up-to-date `makeinfo' and `install-info'
at `world' and `install' stages.

Pointed out by:	bde
2000-01-17 15:33:34 +00:00
Jeroen Ruigrok van der Werven
12900fe317 Change .Os macro to an empty one to denote that the KAME files are
not FreeBSD specific.

Made happy:	sheldonh
2000-01-17 15:24:41 +00:00
Jeroen Ruigrok van der Werven
19eaf4e0d6 Duh! Actually remove drum.4 from the Makefile.
Pointed out by:	Richard Wackerbarth <rkw@dataplex.net>
2000-01-17 15:13:00 +00:00
Sheldon Hearn
b905f5bd46 Add manual pages for the newly added setres[ug]id system calls. 2000-01-17 15:01:42 +00:00
Jeroen Ruigrok van der Werven
ac00e7548c Fix usage of quotes in kerneloptions. 2000-01-17 14:55:02 +00:00
Jeroen Ruigrok van der Werven
77052eb45d Seperate commit from the rest due to the fact that the /& fixing in
this case also corrects the usage of quotes in options.
2000-01-17 14:51:44 +00:00
Jeroen Ruigrok van der Werven
e6dccbdbed Fix usage of /& in conjunction with the .Cd macro. 2000-01-17 14:50:59 +00:00
Jeroen Ruigrok van der Werven
124db10be1 Seperate commit from the rest due to the fact that the /& fixing in
this case also corrects the usage of quotes in a makeoptions.
2000-01-17 14:32:21 +00:00
Jeroen Ruigrok van der Werven
1db583a0fc Remove ``count'' argument of the pseudo-devices that do not
use it anymore.
2000-01-17 14:17:28 +00:00
Mitsuru IWASAKI
72aa5fe4dc Make apm.4 consistent with LINT ("isa?"->"nexus?").
Submitted by:	Alexander Leidinger <Alexander@Leidinger.net>
2000-01-17 14:13:14 +00:00
Jeroen Ruigrok van der Werven
01c8e156bd Usage of ``tty'' is deprecated in device configuration. 2000-01-17 13:40:01 +00:00
Jeroen Ruigrok van der Werven
992e7e7bcb Usage of quotes around options is deprecated. 2000-01-17 13:37:10 +00:00
Peter Wemm
d60809caa9 Add prototypes for [sg]etres[ug]id(). 2000-01-17 13:32:55 +00:00
Jeroen Ruigrok van der Werven
064a7fe2f3 Get rid of deprecated ``net'' argument. 2000-01-17 13:24:47 +00:00
Jeroen Ruigrok van der Werven
67d2f3d7a9 Get rid of deprecated example usage of ``tty''. 2000-01-17 13:16:05 +00:00
Neil Blakey-Milner
8ed07ba06a Nuke the 'bio', as per orders from peter 2000-01-17 13:15:16 +00:00
Jeroen Ruigrok van der Werven
4df892ce28 Fix grammar a bit (mostly comma related).
change .Os KAME to .Os FreeBSD, since the manpages as part of the
FreeBSD OS.
2000-01-17 13:03:58 +00:00
Yoshihiro Takahashi
690951a252 Remove unnecessary includes. 2000-01-17 12:49:54 +00:00
Yoshihiro Takahashi
41d8671572 Use rman_get_bustag and rman_get_bushandle to initialize bus tag and
bus handle.
2000-01-17 12:38:51 +00:00
Yoshihiro Takahashi
521c75a254 Use rman_get_start instead of bus handle directly. 2000-01-17 12:38:00 +00:00
Brian Somers
82de8666e1 Use AUTHLEN for the length of authname 2000-01-17 12:27:29 +00:00
David E. O'Brien
0274b6ee0d This commit was generated by cvs2svn to compensate for changes in r56173,
which included commits to RCS files with non-trunk default branches.
2000-01-17 12:16:41 +00:00
David E. O'Brien
8107fa79b5 Virgin import of the GCC 2.95.2 compilers 2000-01-17 12:16:41 +00:00
Ruslan Ermilov
ddc844637d Add upgrade instructions and helper file. 2000-01-17 11:53:54 +00:00
Jeroen Ruigrok van der Werven
71b2a71efb This has been axed from the system. Reflect the change. 2000-01-17 11:28:25 +00:00
Ruslan Ermilov
9cf7cc2c97 Upgrade to GNU texinfo 4.0 2000-01-17 10:59:30 +00:00
Ruslan Ermilov
57e22115a5 Update for GNU texinfo 4.0 2000-01-17 10:52:37 +00:00
Jeroen Ruigrok van der Werven
7fe44daeda Bring the wd.4 manpage into the world of 4.0:
Spell diskcontroller as disk controller.

There is no more CMD640 option.

bad144 got axed.  Reflect change.

Contract the /dev entries to one /dev/wd* entry which we call
wd device nodes to reflect the merger of character and block
devices.

Add small line to NOTES stating that wd will some be replaced
completely by ata/ad.

Suggested by:	bde
2000-01-17 10:52:20 +00:00
Ruslan Ermilov
afbbfd9124 Merge our changes into GNU texinfo 4.0 2000-01-17 10:50:35 +00:00
Ruslan Ermilov
980e0006ad This is the stock GNU texinfo 4.0 file 2000-01-17 10:45:43 +00:00
Ruslan Ermilov
f5069999f7 Remove files not present in last import 2000-01-17 10:42:59 +00:00