Commit Graph

4393 Commits

Author SHA1 Message Date
Bill Paul
0177987224 Add device driver support for USB ethernet adapters based on the CATC
USB-EL1202A chipset. Between this and the other two drivers, we should
have support for pretty much every USB ethernet adapter on the market.
The only other USB chip that I know of is the SMC USB97C196, and right
now I don't know of any adapters that use it (including the ones made
by SMC :/ ).

Note that the CATC chip supports a nifty feature: read and write combining.
This allows multiple ethernet packets to be transfered in a single USB
bulk in/out transaction. However I'm again having trouble with large
bulk in transfers like I did with the ADMtek chip, which leads me to
believe that our USB stack needs some work before we can really make
use of this feature. When/if things improve, I intend to revisit the
aue and cue drivers. For now, I've lost enough sanity points.
2000-01-14 03:14:49 +00:00
Jeroen Ruigrok van der Werven
b0359e5d90 Add dhclient(8) crossreference to the dhcp_flags section.
Submitted by:	sheldonh
2000-01-13 12:53:54 +00:00
Jeroen Ruigrok van der Werven
62285547ec Fix old style /fB /fR emphasis to the correct usage of .Em or other
more appropriate uses of mdoc macros given the context they were
used in.
2000-01-13 12:06:41 +00:00
Jeroen Ruigrok van der Werven
4452573f96 Add crossreference to dhclient(8) since our interfaces nowadays
support DHCP and more information would be handy.
2000-01-13 11:54:35 +00:00
Jeroen Ruigrok van der Werven
dbc56df44f Add description for how to enable DHCP for network interfaces.
PR:		15980
Submitted by:	John Reynolds <jjreynold@home.com>
Reviewed by:	sheldonh
2000-01-13 11:44:28 +00:00
Sheldon Hearn
c3bb4c9b50 Actually install mailer.conf.5. 2000-01-11 12:48:39 +00:00
Ruslan Ermilov
d7ec3e91d1 Minor display fix. 2000-01-11 11:54:25 +00:00
Jeroen Ruigrok van der Werven
672e38de91 Change the /usr/src mention to /usr/doc, since it is a doc supfile.
PR:		15974
Submitted by:	Vivek Khera <khera@kciLink.com>
2000-01-11 10:48:47 +00:00
Bruce Evans
218a2cd2bc Removed NOEXTRADEPEND hack. This was only for an old version of makeworld. 2000-01-09 15:40:32 +00:00
Alexey Zelkin
e6e1461faa Remove binary files from source tree 2000-01-09 12:57:41 +00:00
Hellmuth Michaelis
a1ed3f2c23 update pcvt manual page to document the scrollbackbuffer usage 2000-01-09 08:46:10 +00:00
Andrey A. Chernov
f6530d902a Add Latin4 wide fonts
Submitted by:	Ricardas Cepas <rch@richard.eu.org>
2000-01-08 18:54:43 +00:00
Bruce Evans
a0b845fe92 Add "-I@/../include" and/or "-I${DESTDIR}/usr/include" to CFLAGS,
essentially as in kernel makefiles, so that module sources can include
<stddef.h> and other standard headers.  Only add the second path when
the first path can't be found, instead of when DESTDIR is defined.
Adding it used to be just an obfuscation.

Use "${.OBJDIR}" instyead of "." in -I paths.  Using "${.OBJDIR}" just
gave more verbose command lines and depend files.
2000-01-08 18:48:57 +00:00
Andrey A. Chernov
fb0eb6fbd9 Add Latin4 fonts, VGA 9bit mapped
Submitted by:	Ricardas Cepas <rch@richard.eu.org>
2000-01-08 18:27:59 +00:00
Andrey A. Chernov
874766105f add Latin4 screen map
Submitted by:	Ricardas Cepas <rch@richard.eu.org>
2000-01-08 18:11:06 +00:00
Munechika SUMIKAWA
b94165f8be Add new define USE_INET6, which enbale IPv6 support on certain
packages.

Approved by:	asami
Reviewed by:	billf
2000-01-08 12:23:57 +00:00
Bill Paul
d04bb221f3 Add the vendor and device IDs for a whole bunch of additional USB
ethernet adapters that are supported by the aue and kue drivers.
There are actually a couple more out there from Accton, Asante and
EXP Computer, however I was not able to find any Windows device
drivers for these on their servers, and hence could not harvest
their vendor/device ID info. If somebody has one of these things
and can look in the .inf file that comes with the Windows driver,
I'd appreciate knowing what it says for 'VID' and 'PID.'

Additional adapters include: the D-Link DSB-650 and DSB-650TX, the
SMC 2102USB, 2104USB and 2202USB, the ATen UC10T, and the Netgear EA101.
These are all mentioned in the man pages, relnotes and LINT.

Also correct the date in the kue(4) man page. I wrote this thing
on Jan, 4 2000, not 1999.
2000-01-07 22:18:49 +00:00
Andrey A. Chernov
3fc8abe496 Add cs.latin2 keyboard
Submitted by:	Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2000-01-07 22:01:17 +00:00
Andrey A. Chernov
7e9386aed8 Fix typo 2000-01-07 21:55:18 +00:00
Alexey Zelkin
7547562461 Fix typos.
PR:		docs/15781
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
2000-01-07 13:20:55 +00:00
Alexey Zelkin
dcae824a38 mdoc(7)'fy 2000-01-07 12:58:57 +00:00
Alexey Zelkin
ae5ccfad91 Add new manpages for:
microtime(9)
	nanotime(9)
	getmicrotime(9)
	getnanotime(9)
	microuptime(9)
	nanouptime(9)
	getmicrouptime(9)
	getnanouptime(9)
	tvtohz(9)

Based on PR:	docs/15889
Submitted by:	Kelly Yancey <kbyanc@posi.net>
2000-01-07 12:42:59 +00:00
Alexey Zelkin
db7b63631a Place #include's and $NetBSD$ tag to appropriate places. 2000-01-07 12:14:55 +00:00
Yoshinobu Inoue
9a4365d0e0 libipsec and IPsec related apps. (and some KAME related man pages)
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-06 12:40:54 +00:00
Jun-ichiro itojun Hagino
1522ff5b28 bring in description for KAME IPv6 changes.
XXX it looks that sysctl.3 lacks most of PF_INET items.
Reviewed by:	shin
Obtained from:	KAME (netbsd-current)
2000-01-06 03:47:57 +00:00
Bruce Evans
8e1b368f04 Refreshed the silly copy of <sys/types.h>. It was 3 years out of date. 2000-01-05 17:40:25 +00:00
Bruce Evans
b6c7fd537e Refreshed the silly copy of <sys/dirent.h>. _KERNEL was still spelled
KERNEL, and the changes to remove the <sys/types.h> prerequisite had
not reached here.

Removed unused/wrong include of <sys/types.h> in synopsis.
2000-01-05 17:04:36 +00:00
Bruce Evans
f5ead3860a Refreshed the silly literal copy of <sys/mtio.h>. _KERNEL was still
spelled KERNEL...
2000-01-05 16:52:34 +00:00
Robert Watson
32900e82f3 Man pages for the VFS extended attribute and access control list vnops.
Reviewed by:	eivind
2000-01-05 04:59:02 +00:00
Bill Paul
dfd1e98eac Add device driver support for USB ethernet adapters based on the
Kawasaki LSI KL5KUSB101B chip, including the LinkSys USB10T, the
Entrega NET-USB-E45, the Peracom USB Ethernet Adapter, the 3Com
3c19250 and the ADS Technologies USB-10BT. This device is 10mbs
half-duplex only, so there's miibus or ifmedia support. This device
also requires firmware to be loaded into it, however KLSI allows
redistribution of the firmware images (I specifically asked about
this; they said it was ok).

Special thanks to Annelise Anderson for getting me in touch with
KLSI (eventually) and thanks to KLSI for providing the necessary
programming info.

Highlights:
- Add driver files to /sys/dev/usb
- update usbdevs and regenerate attendate files
- update usb_quirks.c
- Update HARDWARE.TXT and RELNOTES.TXT for i386 and alpha
- Update LINT, GENERIC and others for i386, alpha and pc98
- Add man page
- Add module
- Update sysinstall and userconfig.c
2000-01-05 04:27:24 +00:00
Brian Somers
24870fab24 Add protocol to ``nat port'' examples - it's mandatory.
Suggested by:	Mark Knight <markk@knigma.org>
2000-01-05 02:59:28 +00:00
Bill Fumerola
9b3da24ed0 Update the graph to include FreeBSD 3.4 and OpenBSD 2.6
Update the play-by-play history to include FreeBSD 3.[234] and OpenBSD 2.[56]

Dates obtained from:	www.FreeBSD.org and www.OpenBSD.org
2000-01-04 04:31:27 +00:00
Archie Cobbs
0f9183be1b Fix typos per PR 15649. Also did some rewording for clarity.
PR:		docs/15649
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
2000-01-03 18:36:42 +00:00
Marcel Moolenaar
e461bad7e0 Fix typo.
Submitted by: Richard Wackerbarth <rkw@dataplex.net>
2000-01-03 12:16:18 +00:00
Tim Vanderhoek
7ec24193b6 .Xr pkg_version 1 2000-01-02 17:55:03 +00:00
Chris Costello
3a9d037b0a Add and active the manual page for /etc/sysctl.conf. 1999-12-31 02:08:37 +00:00
David E. O'Brien
19bf1db2d4 Add the userland commands to SEE ALSO. 1999-12-30 16:27:05 +00:00
Tim Vanderhoek
e62764d4ea des@FreeBDS.org => des@FreeBSD.org, and fix a small grammo. 1999-12-30 13:01:07 +00:00
Brian Somers
0a97e07c93 The '-' character in chat scripts should only be escaped
twice (since the parsing routines were fixed).
1999-12-29 22:32:11 +00:00
Peter Wemm
c447342094 Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
1999-12-29 05:07:58 +00:00
Bill Paul
ed63a7aaef This commit adds device driver support for the ADMtek AN986 Pegasus
USB ethernet chip. Adapters that use this chip include the LinkSys
USB100TX. There are a few others, but I'm not certain of their
availability in the U.S. I used an ADMtek eval board for development.
Note that while the ADMtek chip is a 100Mbps device, you can't really
get 100Mbps speeds over USB. Regardless, this driver uses miibus to
allow speed and duplex mode selection as well as autonegotiation.
Building and kldloading the driver as a module is also supported.

Note that in order to make this driver work, I had to make what some
may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer()
function will use tsleep() for synchronous transfers that don't complete
right away. This is a problem since there are times when we need to
do sync transfers from an interrupt context (i.e. when reading registers
from the MAC via the control endpoint), where tsleep() us a no-no.
My hack allows the driver to have the code poll for transfer completion
subject to the xfer->timeout timeout rather that calling tsleep().
This hack is controlled by a quirk entry and is only enabled for the
ADMtek device.

Now, I'm sure there are a few of you out there ready to jump on me
and suggest some other approach that doesn't involve a busy wait. The
only solution that might work is to handle the interrupts in a kernel
thread, where you may have something resembling a process context that
makes it okay to tsleep(). This is lovely, except we don't have any
mechanism like that now, and I'm not about to implement such a thing
myself since it's beyond the scope of driver development. (Translation:
I'll be damned if I know how to do it.) If FreeBSD ever aquires such
a mechanism, I'll be glad to revisit the driver to take advantage of
it. In the meantime, I settled for what I perceived to be the solution
that involved the least amount of code changes. In general, the hit
is pretty light.

Also note that my only USB test box has a UHCI controller: I haven't
I don't have a machine with an OHCI controller available.

Highlights:

- Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part.
- Updated usbdevs and regenerated generated files
- Updated HARDWARE.TXT and RELNOTES.TXT files
- Updated sysinstall/device.c and userconfig.c
- Updated kernel configs -- device aue0 is commented out by default
- Updated /sys/conf/files
- Added new kld module directory
1999-12-28 02:01:18 +00:00
Bruce Evans
e5389fb1c8 Fixed breakage of static linkage of rlogind. Someone added -lutil and
-lcom_err to some libpam modules without updating LIBPAM here.
1999-12-27 17:25:40 +00:00
Bruce Evans
20c4d417bc Fixed some bugs (one serious one: timeouts were claimed to be executed at
spl0) and some bitrot (the not-so-new callout_init/stop/reset functions
were not mentioned; the callout_activate/deactivate/pending macros are
still not mentioned).

Submitted by:	mostly by jlemon
1999-12-27 16:22:20 +00:00
Jeroen Ruigrok van der Werven
bffd29ff1c Fix some typo's.
PR:		15678
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-12-27 11:02:43 +00:00
Bruce Evans
3c7f758bda Fixed spelling error in document title.
Fixed syntax error in synopsis.
1999-12-26 16:58:31 +00:00
Bruce Evans
a824498e2d Removed ex script left over from incomplete backout in previous commit.
Use SYMLINKS instead of an ad hoc rule for installing words -> web2.
Don't override the install target; doing so just breaks things like
SYMLINKS.

Don't override the correct defaults for the all, clean, depend, lint
and tags targets.  Don't add a null rule to the cleandepend target.
1999-12-26 10:31:29 +00:00
Sheldon Hearn
58db7ebe9b Mandate the inclusion of <ieeefp.h> instead of <floatingpoint.h>. The
latter is just wrong.

There were many other problems spotted by bde, none of which are
addressed here.

Reviewed by:	bde
1999-12-24 08:43:19 +00:00
Andrey A. Chernov
d595a9292e Link la_LN*4 too 1999-12-24 08:10:48 +00:00
Andrey A. Chernov
907ddf9c39 Fix cut&paste error 1999-12-24 08:05:20 +00:00
Andrey A. Chernov
86103e7efc Add iso04 fonts
Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 06:30:43 +00:00