Commit Graph

4006 Commits

Author SHA1 Message Date
Matthew N. Dodd
15317dd875 Alter the behavior of sys/kern/subr_bus.c:device_print_child()
- device_print_child() either lets the BUS_PRINT_CHILD
	  method produce the entire device announcement message or
	  it prints "foo0: not found\n"

Alter sys/kern/subr_bus.c:bus_generic_print_child() to take on
the previous behavior of device_print_child() (printing the
"foo0: <FooDevice 1.1>" bit of the announce message.)

Provide bus_print_child_header() and bus_print_child_footer()
to actually print the output for bus_generic_print_child().
These functions should be used whenever possible (unless you can
just use bus_generic_print_child())

The BUS_PRINT_CHILD method now returns int instead of void.

Modify everything else that defines or uses a BUS_PRINT_CHILD
method to comply with the above changes.

	- Devices are 'on' a bus, not 'at' it.
	- If a custom BUS_PRINT_CHILD method does the same thing
	  as bus_generic_print_child(), use bus_generic_print_child()
	- Use device_get_nameunit() instead of both
	  device_get_name() and device_get_unit()
	- All BUS_PRINT_CHILD methods return the number of
	  characters output.

Reviewed by: dfr, peter
1999-07-29 01:03:04 +00:00
Nik Clayton
f3fd3a0091 Explicitly list the i/o addresses of the serial ports.
Prompted by docs/12343, in which people seemed to get a little confused.
The original text in the file said:

[...]
# By default we use COM1 as our serial console port *if* we're going to use
# a serial port as our console at all.  (0x3E8 = COM2)
#
#BOOT_COMCONSOLE_PORT= 0x3F8
[...]

From what I can make out, some people have assumed that means that if
they just uncomment the BOOT_COMCONSOLE_PORT then it will use COM2:
These same people then assume that "0x3F8" on that line is a typo for
"0x3E8".

What it actually means is that if you uncomment the line then the default
stays as "Ox3F8" (COM1:), and that you have to uncomment the line, *and*
change the value of the variable in order to use COM2:.

So I've made that a little bit clearer.  I've also listed the hex values
for COM1: thru COM4:, snarfed from sys/isa/isareg.h.

PR:             docs/12343
Submitted by:   Bill Grunfelder <wjgrun@dippy.cyberwar.com>
1999-07-28 20:28:54 +00:00
Brian Somers
4f65166ad5 Show how to use the new filter capabilities
Mostly submitted by:  Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
1999-07-27 23:44:29 +00:00
Nik Clayton
c4994073bb Remove the quotes from the kernel configuration "options" lines, to
reflect actual usage.

PR:             docs/12652
Submitted by:   Chris Costello <chris@calldei.com>
1999-07-27 18:21:17 +00:00
Bruce Evans
b686153c38 Fixed disordering in previous commit.
Fixed overflow at column 80 in rev.1.96.
1999-07-27 06:52:46 +00:00
Brian Somers
51f80ae148 Add a default ppp.conf (mode 600).
Originally submitted by: Wayne Self <wself@cdrom.com>

Allow a ppp startup option in rc.conf.

Adjust sysinstall so that it appends to the end of ppp.conf
and uses the generated profile to start ppp in auto mode on
boot.

Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
1999-07-26 10:49:37 +00:00
Kris Kennaway
d952728d76 Typo: assember -> assembler 1999-07-26 03:47:41 +00:00
Bill Paul
691c152864 This commit adds device driver support for Adaptec Duralink PCI fast
ethernet controllers based on the AIC-6915 "Starfire" controller chip.
There are single port, dual port and quad port cards, plus one 100baseFX
card. All are 64-bit PCI devices, except one single port model.

The Starfire would be a very nice chip were it not for the fact that
receive buffers have to be longword aligned. This requires buffer
copying in order to achieve proper payload alignment on the alpha.
Payload alignment is enforced on both the alpha and x86 platforms.
The Starfire has several different DMA descriptor formats and transfer
mechanisms. This driver uses frame descriptors for transmission which
can address up to 14 packet fragments, and a single fragment descriptor
for receive. It also uses the producer/consumer model and completion
queues for both transmit and receive. The transmit ring has 128
descriptors and the receive ring has 256.

This driver supports both FreeBSD/i386 and FreeBSD/alpha, and uses newbus
so that it can be compiled as a loadable kernel module. Support for BPF
and hardware multicast filtering is included.
1999-07-25 04:32:50 +00:00
Jordan K. Hubbard
a2e3ae34eb Document dhcp flags.
Submitted by:	"Sean O'Connell" <sean@stat.Duke.EDU>
1999-07-16 09:22:01 +00:00
Nik Clayton
5bf6ab8369 Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 21:02:10 +00:00
Nik Clayton
fbc400a67a Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:50:10 +00:00
Mike Pritchard
d95d7c87bf Use .Xr to xref pccardd(8). 1999-07-12 19:24:53 +00:00
Nick Hibma
0152aa09ae Correct typo
PR:		9638
Submitted by:	Mauro Allegrini <allegrini@usa.net>
1999-07-12 15:56:32 +00:00
David E. O'Brien
ac8011f83a Add portlint(1) and sort "SEE ALSO"'s. 1999-07-12 07:49:28 +00:00
Tim Vanderhoek
6b4c07361e - FreeBSD.ORG => FreeBSD.org
- Don't discourage people from using "make readmes"

 - Document WRKDIRPREFIX.
1999-07-12 02:33:47 +00:00
Bill Paul
3ebb090530 This commit adds driver support for the SysKonnect SK-984x series
gigabit ethernet adapters. This includes two single port cards
(single mode and multimode fiber) and two dual port cards (also single
mode and multimode fiber). SysKonnect is currently the only
vendor with a dual port gigabit ethernet NIC.

The ports on dual port adapters are treated as separate network
interfaces. Thus, if you have an SK-9844 dual port SX card, you
should have both sk0 and sk1 interfaces attached. Dual port cards
are implemented using two XMAC II chips connected to a single
SysKonnect GEnesis controller. Hence, dual port cards are really
one PCI device, as opposed to two separate PCI devices connected
through a PCI to PCI bridge. Note that SysKonnect's drivers use
the two ports for failover purposes rather that as two separate
interfaces, plus they don't support jumbo frames. This applies to
their Linux driver too. :)

Support is provided for hardware multicast filtering, BPF and
jumbo frames. The SysKonnect cards support TCP checksum offload
however this feature is not currently enabled (hopefully it will
be once we get checksum offload support).

There are still a few things that need to be implemeted, like
the ability to communicate with the on-board LM80 voltage/temperature
monitor, but I wanted to get the driver under CVS control and into
-current so people could bang on it.

A big thanks for SysKonnect for making all their programming info
for these cards (and for their FDDI and token ring cards) available
without NDA (see www.syskonnect.com).
1999-07-09 04:30:09 +00:00
Jordan K. Hubbard
bd17e46e55 Properly document /etc/defaults/rc.conf and rc_conf_files.
Submitted by:		Sheldon Hearn <sheldonh@uunet.co.za>
1999-07-09 01:47:00 +00:00
Kazutaka YOKOTA
da905eaaec - Fix Belgian keyboard map (be.iso.kbd).
- Add Belgian keyboard map with dead keys (be.iso.acc.kbd).

Tested and corrections submitted by: "Renaud Fivet" <rfi@ntc.be>
1999-07-07 13:20:12 +00:00
Tatsumi Hosokawa
07c50a3b6b Added pccard_conf parameter. 1999-07-07 02:01:57 +00:00
Dag-Erling Smørgrav
6b5ca0d83e Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
Kazutaka YOKOTA
e92d69c442 List avaiable function keys. 1999-07-06 13:13:47 +00:00
Tatsumi Hosokawa
12061cb940 Added $pccardd_flags. 1999-07-06 12:17:59 +00:00
Nik Clayton
f591fcd118 Clarify static_routes variable's meaning
PR:             docs/12302
Submitted by:   Don Croyle <croyle@gelemna.ft-wayne.in.us>
Reviewed by:    nik
1999-07-05 23:05:25 +00:00
Kazutaka YOKOTA
5e09bef3bf Reflect recent changes in syscons and vga. 1999-07-05 10:03:05 +00:00
Kris Kennaway
d30b1794da Flesh out VOP_ADVLOCK.9 with a description of the available flags
Sync vnode.9 with the definitions in <sys/vnode.h>

Reviewed by:	Doug Rabson
1999-06-30 12:02:52 +00:00
Sheldon Hearn
6bef9f10bb Do nothing for the etc-examples target when SHARED=symlinks, since we'll
end up trying to install into the source directory.

Reported by:	bde
1999-06-27 16:42:25 +00:00
Doug Rabson
0f2a20dfd7 * Tidy up a few things and fix some more warnings.
* Change the devsw declaration to standard form and add missing fields
* Change the filename from cdev_mod.ko to cdev.ko
1999-06-27 12:44:44 +00:00
Mike Pritchard
5d70612b3f Fix some typos and do some minor mdoc cleanup. 1999-06-27 02:38:46 +00:00
Matthew Hunt
084d5338d6 Add Pro/100+ (i82559) to the list of supported products.
Approved by:	dg
1999-06-25 16:48:56 +00:00
Doug Rabson
e523e96f26 Make this sample build again. 1999-06-25 07:50:26 +00:00
John-Mark Gurney
0b60724004 fix the links to the bitstring man page..
fix wording in man page, through != to
1999-06-25 04:51:49 +00:00
John-Mark Gurney
0099533a1c add support to buildworld as a normal user:
-DNOFSCHG	disables installation of libs with flag schg
	GAMEGRP		change the group with which games are installed

also organize the binary section into alphebetical order some what..
1999-06-24 22:50:24 +00:00
Sheldon Hearn
5aae9955b7 Actually install the virgin copies of the /etc files that we so proudly
claim to install in /usr/share/examples/etc/README.examples .

PR:	5207
Reported by:	"Wayne M. Barnes" <wayne@barnes1.wustl.edu>
1999-06-24 09:45:30 +00:00
Mike Pritchard
878c59a1f6 Fix one error in my previous commit. The .Rv macro is not valid
for section 9 man pages.
1999-06-24 00:59:40 +00:00
Mike Pritchard
2c5eecfa59 Update mdoc.samples(7) to reflect that section 9 is a valid man page
section.  Update some descriptions of the various sections to
reflect that they are valid for section 9 man pages.  Add a table
of section numbers and what they are used for.
1999-06-24 00:18:46 +00:00
Kazutaka YOKOTA
69af2750e5 Add Central European, Czech and Slovak keymaps.
PR: misc/11443, misc/11446, misc/11447
Submitted by: G. Adam Stanislav <adam@whizkidtech.net>
1999-06-23 08:14:41 +00:00
Nick Hibma
6dcd4819f1 Add man page for device_quiet and friends 1999-06-22 18:09:54 +00:00
Tim Vanderhoek
3c218dea5c typo: Adviseroty -> Advisory 1999-06-22 02:34:47 +00:00
Nick Hibma
66efee0151 Clarified info on X release 3.3.1.
Submitted/Reviewed by: Joe Touch <touch@ISI.EDU>
1999-06-18 16:53:33 +00:00
Nick Hibma
6979450036 Update the comments on values than can be returned by DEVICE_PROBE.
DEVICE_PROBE can return priorities.

Reviewed by:	Doug Rabson <dfr@nlsystems.com>
1999-06-17 19:22:12 +00:00
Mike Pritchard
145da7ad10 Document the IMPLEMENTATION NOTES section since we have a number of
man pages that use it.

PR:	10659
1999-06-15 19:03:54 +00:00
Bruce Evans
e343fb02c3 Updated the BUGS section. BREAK is now implemented.
Don't document non-bugs in the BUGS section, or anywhere else.  It
is not a bug to drop data when overloaded.  The compile-time tuning
options turned out to be not very useful, and aren't supported
offically.

Documented the not so new option CY_PCI_FASTINTR.
1999-06-14 15:10:35 +00:00
Brian Somers
c6f660d19f Add a rather complicated but impressive example of how
to implement multi-link ppp over more than one ISP with
the ability to lose ISPs without loss of connectivity.

It *requires* that you either have administrative access
to a machine that's already connected to the 'net or at
least know a really nice person that does.
1999-06-09 12:32:55 +00:00
Foxfair Hu
c6570d1dc3 Change locale name of Traditional Chinese : zh_TW.BIG5 -> zh_TW.Big5.
It makes compatible with IANA charset defination, and let existent I18N
app happier.

Ref: <http://www.isi.edu/in-notes/iana/assignments/character-sets>
1999-06-08 02:25:19 +00:00
Bruce Evans
39fbb9465e Fixed previous fix (dad -> rda via rad). 1999-06-07 16:36:41 +00:00
Joseph Koshy
b5d512fa68 Correct typos.
PR:		docs/12068
Submitted by:	Steve Coltrin <spcoltri@io.com>
1999-06-07 05:18:24 +00:00
Matt Jacob
8ead41413c Add a clarification in the man page suggesting that some tapes
(QIC) written under 2.X may not be easily read under the current
driver without explicitly setting to variable mode or to the blocksize
these tapes were written under 2.X with.

PR: 6681
1999-06-06 23:23:50 +00:00
Julian Elischer
8759eb5c80 Support the IANA definition of Shift Jis nameley ja_JP.Shift_JIS
as well as the X11 version ja_JP.SJIS
1999-06-05 03:04:03 +00:00
Bill Fumerola
b10573bf3a sunsite is now metalab. 1999-06-04 03:17:04 +00:00
Bruce Evans
20891aba11 Fixed bitrot in synopsis (a missing include). 1999-06-02 16:33:22 +00:00