Commit Graph

3899 Commits

Author SHA1 Message Date
Ruslan Ermilov
b1c28d0a0c Make the creation of the OpenSSL whatis(1) database conditional on
NOCRYPT and NO_OPENSSL.
2003-09-04 21:24:18 +00:00
Kenneth D. Merry
e0254f1068 Fix typo in the last commit.
Pointed out by:	njl
MFC after:	3 days
2003-09-03 05:35:37 +00:00
Kenneth D. Merry
cb32189e23 Move dynamic sysctl(8) variable creation for the cd(4) and da(4) drivers
out of cdregister() and daregister(), which are run from interrupt context.

The sysctl code does blocking mallocs (M_WAITOK), which causes problems
if malloc(9) actually needs to sleep.

The eventual fix for this issue will involve moving the CAM probe process
inside a kernel thread.  For now, though, I have fixed the issue by moving
dynamic sysctl variable creation for these two drivers to a task queue
running in a kernel thread.

The existing task queues (taskqueue_swi and taskqueue_swi_giant) run in
software interrupt handlers, which wouldn't fix the problem at hand.  So I
have created a new task queue, taskqueue_thread, that runs inside a kernel
thread.  (It also runs outside of Giant -- clients must explicitly acquire
and release Giant in their taskqueue functions.)

scsi_cd.c:	Remove sysctl variable creation code from cdregister(), and
		move it to a new function, cdsysctlinit().  Queue
		cdsysctlinit() to the taskqueue_thread taskqueue once we
		have fully registered the cd(4) driver instance.

scsi_da.c:	Remove sysctl variable creation code from daregister(), and
		move it to move it to a new function, dasysctlinit().
		Queue dasysctlinit() to the taskqueue_thread taskqueue once
		we have fully registered the da(4) instance.

taskqueue.h:	Declare the new taskqueue_thread taskqueue, update some
		comments.

subr_taskqueue.c:
		Create the new kernel thread taskqueue.  This taskqueue
		runs outside of Giant, so any functions queued to it would
		need to explicitly acquire/release Giant if they need it.

cd.4:		Update the cd(4) man page to talk about the minimum command
		size sysctl/loader tunable.  Also note that the changer
		variables are available as loader tunables as well.

da.4:		Update the da(4) man page to cover the retry_count,
		default_timeout and minimum_cmd_size sysctl variables/loader
		tunables.  Remove references to /dev/r???, they aren't used
		any longer.

cd.9:		Update the cd(9) man page to describe the CD_Q_10_BYTE_ONLY
		quirk.

taskqueue.9:	Update the taskqueue(9) man page to describe the new thread
		task queue, and the taskqueue_swi_giant queue.

MFC after:	3 days
2003-09-03 04:46:28 +00:00
Warner Losh
7d43c8c902 CardBus instead of Cardbus. Add I/O Data WN-AG/CB and Prixim Skyline
4030 cards.

Special Thanks: shigeru yamamoto-san for the kind donation of I/O Data and
	other wireless cards
2003-09-01 23:09:09 +00:00
Simon L. B. Nielsen
79a97ad9c5 Catch up my(4) with hardware notes by adding Myson MTD89X to list of
supported devices.

Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
PR:		docs/56244
Confirmed by:	driver source code
2003-08-31 19:37:48 +00:00
Simon L. B. Nielsen
88fced4cb3 - Update the page title to include information about which cards
are supported by the driver.
- Use a list to specify which cards are supported.
- Add the 3c592/3c597 EISA cards to the list of supported cards.

PR:		docs/56086 (based on)
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-29 17:59:01 +00:00
Poul-Henning Kamp
7a8431a677 document various NO* options 2003-08-29 11:24:53 +00:00
Marcel Moolenaar
d911f786ab Limit testing for an up-to-date version of make(1) to the world and
buildworld targets by default, but allow it to be done for all user
targets by introducing a boolean option, named ALWAYS_CHECK_MAKE.

This change is by no means perfect and I don't even want to claim
this to be a solution. It does however address the fact that not
everybody likes to see make(1) rebuilt simply because the regression
test failed for some reason or other, including pilot error. It
therefore serves the purpose of keeping the crowd happy until we
have something better or simply reached a compromise.

The reasons for changing the default behaviour are:
o  It avoids a negative, possibly non-intuitive option,
o  It's according to POLA and fond of feet,
o  Only buildworld is documented to do its best to be
   successful at reasonably cost.

Reviewed by: gad, imp, obrien, peter
2003-08-28 04:03:13 +00:00
Nate Lawson
61a63db063 Add a warning describing at least one circumstance where cvsup can hose
a local branch.  Text from an email from jdp@

Reported by:	simon
2003-08-25 19:08:37 +00:00
Bruce A. Mah
744cb35d65 Sort the lists of supported devices. No other content changes. 2003-08-25 04:29:43 +00:00
Bruce A. Mah
2e1a133fa4 In the lists of supported devices, remove "The" from the names of
devices and capitalize the words "Gigabit", "Ethernet", and "adapter"
consistently.
2003-08-25 04:28:29 +00:00
Bruce A. Mah
1780f0787a Catch up ti(4) with hardware notes.
PR:		55637
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-25 04:25:58 +00:00
Bruce A. Mah
05ba13027b Add a few PC98-specific (?) devices, from the hardware notes. 2003-08-24 22:51:09 +00:00
Bruce A. Mah
1256904d38 Sort device list, no other content changes. 2003-08-24 22:39:18 +00:00
Bruce A. Mah
b3e01060bb Add a few more PC98-specific instances of fe(4) devices, obtained from
the hardware notes.
2003-08-24 22:38:00 +00:00
Nate Lawson
b842ac21d6 Add a section on maintaining a local branch in CVS.
MFC after:	1 day
2003-08-22 17:12:55 +00:00
Simon L. B. Nielsen
69d1b638df Add VT6105/VT6105M Rhine III to the list of supported chips. [1]
Change the manual page title to use the device family name (Rhine),
since the list of supported device id's won't fit on one line anymore.

Submitted by:	Lukas Ertl <l.ertl@univie.ac.at> (based on) [1]
PR:		docs/55639 (based on) [1]
Confirmed by:	driver source code [1]
MFC after:	3 days
2003-08-21 18:15:45 +00:00
Robert Watson
b8be9d15c8 Hook up repo-copied mac_none.4 to mac_stub.4.
Update mac_none to reflect change in role; xref mac_stub.

Update mac_stub to reflect name change, arrival in 5.1; xref
mac_none.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-08-21 16:53:06 +00:00
Simon L. B. Nielsen
f6cdc82f08 Catch up ep(4) with the hardware notes.
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
PR:		docs/55659
Confirmed by:	driver source code and pccard.conf
MFC after:	3 days
2003-08-21 15:40:05 +00:00
Simon L. B. Nielsen
e95da14f5b Catch up fe(4) with the hardware notes.
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
PR:		docs/55636
Confirmed by:	driver source code and pccard.conf
MFC after:	3 days
2003-08-21 15:18:21 +00:00
Simon L. B. Nielsen
eb8b29cdcc Add the SmartBridges SmartLink to the list of supported devices.
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
PR:		docs/55644
Confirmed by:	driver source code
MFC after:	3 days
2003-08-21 14:26:29 +00:00
Bruce M Simpson
8afa230470 Add the IP_ONESBCAST option, to enable undirected IP broadcasts to be sent on
specific interfaces. This is required by aodvd, and may in future help us
in getting rid of the requirement for BPF from our import of isc-dhcp.

Suggested by:   fenestro
Obtained from:  BSD/OS
Reviewed by:    mini, sam
Approved by:    jake (mentor)
2003-08-20 14:46:40 +00:00
Warner Losh
43d16a0eba Use PC Card instead of other variants in the driver man pages. 2003-08-20 06:49:57 +00:00
Bruce A. Mah
4c88de84ae Catch up dpt(4) manpage with Hardware Notes (and RELENG_4 manpage?!?).
PR:		55530
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-19 04:37:54 +00:00
Bruce A. Mah
b221b92a5d Catch up asr(4) with hardware notes.
PR:		55531
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-19 03:40:05 +00:00
Bruce M Simpson
cc37381f9f Add the manual page for the sab(4) driver. Driver code was originally
obtained from NetBSD. This is the OpenBSD version of the manual page with
a few fixes.

Approved by:	jake (mentor)
Obtained from:	OpenBSD
2003-08-18 15:32:02 +00:00
Bruce A. Mah
2cdcddd06e Add DAC960PDU to list of supported cards, taken from Hardware Notes.
PR:		55534
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-15 22:34:18 +00:00
Bruce A. Mah
11c568961d Catch up aha(4) manpage with hardware notes and driver code.
(While applying this patch from the PR, delete a stray comma.)

PR:		55527
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-15 18:30:14 +00:00
Ceri Davies
f945ca51dc Remove a stray ".Xr rtadvd 8" that snuck in in the middle of a sentence. 2003-08-15 17:20:40 +00:00
Hartmut Brandt
8b296e19bd Now that routes for IP over ATM may look much more complex than before,
use the atmconfig(8) utility instead of route(8) to install those routes.
For this we need a new rc.conf variable natm_static_routes that works
just like static_routes except that the referenced routes use the syntax
of atmconfig(8).

Okay'ed by:	mtm
2003-08-14 15:27:32 +00:00
Alexander Kabaev
2724bce2d2 Add safe _FOREACH iterators to the rest of the queue.h types. 2003-08-14 14:49:26 +00:00
Warner Losh
0c220814d1 Note that Microsoft MN-520 WLAN card is now supported. 2003-08-14 06:35:48 +00:00
Bosko Milekic
4250a68e2d Document LIST_FOREACH_SAFE in queue(3).
Asked with "please" by Ruslan Ermilov.  I've always had a weakness
for "please".
2003-08-13 19:58:38 +00:00
Simon L. B. Nielsen
1ea6b69dd4 Add the Dell PERC 3/DCL to the list of supported devices. This has been
in the hardware notes for a long time, but was never added to this
manual page.

PR:		docs/55533
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-13 15:02:14 +00:00
Christian Brueffer
6a9f5ebdc4 Markup, spelling and punctuation fixes
PR:		55440
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
MFC after:	3 days
2003-08-13 12:54:55 +00:00
Christian Brueffer
c04ad71f14 Markup, wording and capitalization fixes
PR:		55441
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
MFC after:	3 days
2003-08-13 12:44:45 +00:00
Christian Brueffer
f540ccd56e Grammar and spelling fixes
PR:		55442
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
MFC after:	3 days
2003-08-13 12:39:44 +00:00
Christian Brueffer
59ddccc698 Grammar and spelling fixes
PR:		55443
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-13 12:34:54 +00:00
Christian Brueffer
a08b686e8e Fix typo
PR:		55480
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
MFC after:	3 days
2003-08-13 12:20:33 +00:00
Hartmut Brandt
b24521d779 Change the code that enables/disables the ATM channel to use the
new ATMIOCOPENVCC/CLOSEVCC. This allows us to not only use UBR channels
for IP over ATM, but also CBR, VBR and ABR. Change the format of the
link layer address to specify the channel characteristics. The old
format is still supported and opens UBR channels.
2003-08-12 14:20:32 +00:00
Hartmut Brandt
ee4080d424 Add ng_atmpif: a HARP physical interface emulation. This allows one
to run the HARP ATM stack without real hardware.

Submitted by:	Vincent Jardin <vjardin@wanadoo.fr>
2003-08-11 08:40:02 +00:00
Tom Rhodes
c2eb326ff7 Add a nsmb.conf manual page.
PR:		45833
Submitted by:	osa@FreeBSD.org (original version)
Reviewed by:	ru, tjr, osa, -doc
2003-08-09 19:11:52 +00:00
David Schultz
0a6c03778a ccd(4) can now operate on raw disks and other GEOM providers.
Remove the paragraph that says it can't.

Discussed with:	phk
2003-08-08 15:17:15 +00:00
Simon L. B. Nielsen
e215cd9e44 Add /rescue/ and a reference to its manual page rescue(8).
Approved by:	ceri (mentor)
2003-08-08 11:15:57 +00:00
Nate Lawson
718a5d6abd Document hw.acpi.os_name. Also update the credits section. 2003-08-07 04:46:53 +00:00
Hidetoshi Shimokawa
cdd1e6923e Change device name. 2003-08-05 03:13:14 +00:00
Ruslan Ermilov
538582f227 Moved the WORLDDIR variable description to the Optional Variables section. 2003-08-04 21:00:35 +00:00
Sam Leffler
b56e3df93e update to reflect bugs fixed in v0.9.5.2 of the hal 2003-08-02 06:16:59 +00:00
Doug Ambrisko
a373227418 Add printer support to puc(4) driver.
-	Move isa/ppc* to sys/dev/ppc (repo-copy)
      -	Add an attachment method to ppc for puc
      -	In puc we need to walk the chain of parents.
Still to do, is to make ppc(4) & puc(4) work on other platforms.  Testers
wanted.

PR:		38372 (in spirit done differently)
Verified by:	Make universe (if I messed up a platform please fix)
2003-08-01 02:25:32 +00:00
Nate Lawson
a329ebca91 Add and document the hw.acpi.ec.poll_timeout tunable. 2003-07-30 16:22:53 +00:00