Commit Graph

8214 Commits

Author SHA1 Message Date
jb
99594507c6 Document msize which is often needed with maddr. 2003-09-07 04:18:17 +00:00
marcel
996849e892 Hook-up the uart(4) manpage.
Reminded by: bmah@
2003-09-07 02:52:25 +00:00
hmp
0e6367b66a Mdoc Review:
* Remove extraneous .Pp in SYNOPSIS

	* Remove hard sentence break

	* Add the AUTHORS section
2003-09-06 23:46:29 +00:00
marcel
4813eca54e The uart(4) driver is an universal driver for various UART hardware.
It improves on sio(4) in the following areas:
o  Fully newbusified to allow for memory mapped I/O. This is a must
   for ia64 and sparc64,
o  Machine dependent code to take full advantage of machine and firm-
   ware specific ways to define serial consoles and/or debug ports.
o  Hardware abstraction layer to allow the driver to be used with
   various UARTs, such as the well-known ns8250 family of UARTs, the
   Siemens sab82532 or the Zilog Z8530. This is especially important
   for pc98 and sparc64 where it's common to have different UARTs,
o  The notion of system devices to unkludge low-level consoles and
   remote gdb ports and provides the mechanics necessary to support
   the keyboard on sparc64 (which is UART based).
o  The notion of a kernel interface so that a UART can be tied to
   something other than the well-known TTY interface. This is needed
   on sparc64 to present the user with a device and ioctl handling
   suitable for a keyboard, but also allows us to cleanly hide an
   UART when used as a debug port.

Following is a list of features and bugs/flaws specific to the ns8250
family of UARTs as compared to their support in sio(4):
o  The uart(4) driver determines the FIFO size and automaticly takes
   advantages of larger FIFOs and/or additional features. Note that
   since I don't have sufficient access to 16[679]5x UARTs, hardware
   flow control has not been enabled. This is almost trivial to do,
   provided one can test. The downside of this is that broken UARTs
   are more likely to not work correctly with uart(4). The need for
   tunables or knobs may be large enough to warrant their creation.
o  The uart(4) driver does not share the same bumpy history as sio(4)
   and will therefore not provide the necessary hooks, tweaks, quirks
   or work-arounds to deal with once common hardware. To that extend,
   uart(4) supports a subset of the UARTs that sio(4) supports. The
   question before us is whether the subset is sufficient for current
   hardware.
o  There is no support for multiport UARTs in uart(4). The decision
   behind this is that uart(4) deals with one EIA RS232-C interface.
   Packaging of multiple interfaces in a single chip or on a single
   expansion board is beyond the scope of uart(4) and is now mostly
   left for puc(4) to deal with. Lack of hardware made it impossible
   to actually implement such a dependency other than is present for
   the dual channel SAB82532 and Z8350 SCCs.

The current list of missing features is:
o  No configuration capabilities. A set of tunables and sysctls is
   being worked out. There are likely not going to be any or much
   compile-time knobs. Such configuration does not fit well with
   current hardware.
o  No support for the PPS API. This is partly dependent on the
   ability to configure uart(4) and partly dependent on having
   sufficient information to implement it properly.

As usual, the manpage is present but lacks the attention the
software has gotten.
2003-09-06 23:13:47 +00:00
bmah
3d5d0df1c8 Catch up isp.4 manpage with hardware notes.
PR:		55558
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-09-06 17:47:25 +00:00
hmp
93ad5a0e03 Remove hard sentence breaks. 2003-09-06 17:46:16 +00:00
bmah
e880b10628 Add stg(4) manpage and hook up to the section 4 manpage build.
PR:		55605
Submitted by:	Bob Bishop <rb@gid.co.uk>
2003-09-06 17:31:50 +00:00
roam
724a258ac9 Change /dev/rsa0 and /dev/rwt0 references to sa0 and wt0.
PR:		55925
Submitted by:	Michael L. Squires <mikes@siralan.org>
MFC after:	1 month
2003-09-05 15:28:09 +00:00
roam
43b3a1e30a Catch up with the hardware notes: list the supported cards.
PR:		55645
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
MFC after:	1 month
2003-09-05 14:27:22 +00:00
roam
40dee8a7bd Catch up with the hardware notes: list the supported cards.
PR:		55643
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
MFC after:	1 month
2003-09-05 14:23:22 +00:00
roam
30383f95bf Catch up with the hardware notes: list the supported Compaq controllers.
PR:		55641
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-09-05 14:17:33 +00:00
roam
e840f23ead Document the SC_NO_SUSPEND_VTYSWITCH kernel config option.
PR:		55562
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-09-05 13:27:57 +00:00
maxim
0c4f9669c2 o Fix a typo in rev. 1.196: ifconfig 9 -> ifconfig 8.
PR:		docs/56488
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp>
2003-09-05 11:43:18 +00:00
jkoshy
d67feeb70a Correct troff usage; typo fixes. 2003-09-05 09:40:10 +00:00
jkoshy
d669b93166 Allow the PS version of this paper to be built. 2003-09-05 09:38:54 +00:00
ru
e301d1dd71 Make the creation of the OpenSSL whatis(1) database conditional on
NOCRYPT and NO_OPENSSL.
2003-09-04 21:24:18 +00:00
peter
054326ea37 Emergency backout of rev 1.152. This is a 100% guaranteed way to totally
hose your system.  You end up with just about everything statically linked
(except for libpam.so), which then causes all the pam users to fail.
eg: login, sshd, su etc all stop working because dlopen no longer works
because there is no libc.so in memory anymore.

gcc passes -L/usr/lib to ld.  The /usr/lib/libxxx.so symlink is *not* a
compatability link.  It is actually the primary link.  There should be no
symlinks in /lib at all.  Only /lib/libXX.so.Y.

peter@daintree[9:27pm]/usr/bin-104> file yppasswd
yppasswd: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.1.1, dynamically linked (uses shared libs), stripped
peter@daintree[9:27pm]/usr/bin-105> ldd yppasswd
yppasswd:
        libpam.so.2 => /usr/lib/libpam.so.2 (0x280d1000)
peter@daintree[9:28pm]/usr/bin-106>

Note no libc.so.5.  Hence libpam.so.2 has unresolved dependencies.

I believe this is also the cause of the recent buildworld failures when
pam_krb5.so references -lcrypto stuff etc and when librpcsvc.so references
des_setparity() etc.

This change could not possibly have worked, unless there are other missing
changes to the gcc configuration.  It won't work with ports versions of
gcc either.
2003-09-04 04:29:11 +00:00
ru
06664a95ad As ld(1) was taught to look into /lib, there's no longer a reason
for having compatibility .so symlinks.

Submitted by:	obrien
Reviewed by:	gordon
2003-09-03 06:31:50 +00:00
ken
83c7469abb Fix typo in the last commit.
Pointed out by:	njl
MFC after:	3 days
2003-09-03 05:35:37 +00:00
ken
150aac0b13 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
imp
68f1036f41 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
d298bb1df8 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
ru
a160801e88 Whitespace diff reduction between bsd.prog.mk and bsd.lib.mk outputs. 2003-08-31 15:20:17 +00:00
simon
4e0eabce0f - 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
phk
b392aeae3d document various NO* options 2003-08-29 11:24:53 +00:00
marcel
a0b4d394e4 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
njl
de2adaea4e 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
bmah
71c52f5fa1 Sort the lists of supported devices. No other content changes. 2003-08-25 04:29:43 +00:00
bmah
bd3846596c 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
bmah
58b6840bc5 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
bmah
38336b7e11 Add a few PC98-specific (?) devices, from the hardware notes. 2003-08-24 22:51:09 +00:00
bmah
9d3042f3fa Sort device list, no other content changes. 2003-08-24 22:39:18 +00:00
bmah
61030ebeb9 Add a few more PC98-specific instances of fe(4) devices, obtained from
the hardware notes.
2003-08-24 22:38:00 +00:00
ache
b524e52fff fix short weekday names in zh_CN.*
PR:             55895
Submitted by:   Kang Liu <liukang@bjpu.edu.cn>
2003-08-23 20:46:23 +00:00
njl
7271c2d18a Add a section on maintaining a local branch in CVS.
MFC after:	1 day
2003-08-22 17:12:55 +00:00
ache
3c2dcf4e28 Fix ascii compatibility
Submitted by:   Liu Kang <liukang@bjpu.edu.cn>
2003-08-21 19:23:15 +00:00
simon
35a62e1ce4 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
rwatson
b19e15a12c 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
murray
9309351392 Add FreeBSD 5.1 and BSD/OS 5.0 to the family tree. 2003-08-21 16:48:38 +00:00
simon
f273e289d7 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
fe14673cdc 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
40ba5e2b2e 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
mtm
6f8d75cb86 Write the short and long version of the month
names in Amharic instead of English.
Also, remove some extra names I had previously considered
including. They don't make sense since the calendar names
don't match up.
2003-08-20 22:35:55 +00:00
bms
bfdb6c682c 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
imp
efdc114f98 Use PC Card instead of other variants in the driver man pages. 2003-08-20 06:49:57 +00:00
bmah
a8f09c85f9 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
bmah
774c187606 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
bms
38d1151f0e 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
obrien
7592ab3b9a Fix typo.
Submitted by:	Ulrich Spoerlein <q@uni.de>
2003-08-18 00:33:35 +00:00
gordon
34750976f4 When creating .so symlinks, use SHLIBDIR instead of LIBDIR so symlinks
are created in the correct location. Always make them. For libraries
that live in /lib, this causes a /lib/libfoo.so and a compatibility
/usr/lib/libfoo.so to be created. We may want to drop the
/usr/lib/libfoo.so symlink at some future point.
2003-08-17 23:56:29 +00:00