Commit Graph

4377 Commits

Author SHA1 Message Date
wpaul
b39a79861d 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
bde
1467acf6d6 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
bde
69a3e4e3c7 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
asmodai
216d01507f Fix some typo's.
PR:		15678
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-12-27 11:02:43 +00:00
bde
d374428152 Fixed spelling error in document title.
Fixed syntax error in synopsis.
1999-12-26 16:58:31 +00:00
bde
49b52f919b 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
sheldonh
dd11088a42 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
ache
22695f187e Link la_LN*4 too 1999-12-24 08:10:48 +00:00
ache
01a566d9f9 Fix cut&paste error 1999-12-24 08:05:20 +00:00
ache
5c02fe91ff Add iso04 fonts
Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 06:30:43 +00:00
ache
61a4d01f93 Add Lithuanian keyboard
Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 06:15:32 +00:00
ache
68671e63dd Add lt_LT
Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 05:58:07 +00:00
ache
dab015857a Add 8859-4 and lt_LT
Add missing dependance to cs_CZ

Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 05:47:10 +00:00
ache
de28c9072e Add 8859-4 and lt_LT
Submitted by:	Ricardas Cepas <rch@writeme.com>
1999-12-24 05:30:52 +00:00
ache
7b06bf4dcb Oops, fix typo in prev. commit 1999-12-24 05:01:14 +00:00
ache
f955718d55 Add Latin2 FreeBSD consoles
Minor correction of comments

Submitted by:	Latin2 console from Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1999-12-24 04:55:06 +00:00
ache
2a21f6cc3f Add ACS support to 8859-2 fonts
Remove stale 8859-2 font
Fix Russian INDEX entries
Add more languages to FONT fields

Submitted by:	fonts from Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1999-12-24 04:35:33 +00:00
ache
fd47f5f283 Use 'i' for ACS lantern (as ncurses expect it) 1999-12-24 03:54:41 +00:00
grog
b278fee89f New man page. This will need modifications RSN. 1999-12-24 00:16:03 +00:00
bde
bd797bef33 Fixed bitrot in synopsis. The prototype for panic() was moved to
<sys/param.h>, but the #includes weren't adjusted here.
1999-12-23 17:42:10 +00:00
bde
c7f1fcb7e2 Fixed wrong function types (the device_add_child() family returns a
device_t, not an int).
1999-12-23 17:39:45 +00:00
bde
6e69b44b9d Removed unused include of <sys/buf.h> from synopsis. This include is
needed to access the internals of buffers but not necessarily to use
the VOP.  <sys/buf.h> recently grew a bogus dependency on <sys/systm.h>
for the declaration of spl*, and I prefer to fix the synopsis breakage
by removing a wart instead of adding one.
1999-12-23 17:35:48 +00:00
bde
b0dfc986d0 Fixed bitrot in synopsis. The prototype for VOP_ISLOCKED() changed
recently, except of course in the documentation.  Other parts of this
man page are several years out of date.
1999-12-23 17:28:46 +00:00
bde
3433c755de Fixed missing #includes in synopsis. 1999-12-23 17:24:40 +00:00
bde
49e08120f6 Fixed bitrot in synopsis. Important interface changes hadn't reached here. 1999-12-23 17:22:58 +00:00
bde
5eb92e1444 "Fixed" assorted bitrot. remove_dev() was renamed to destroy_dev().
VOP_ABORTOP() went away.  at_shutdown() was replaced by undocumented
event handling.  Rename remove_dev() here too, and remove the dead
and dead wrong man pages.
1999-12-23 17:16:32 +00:00
bde
6e13854ccb Fixed bitrot in synopsis. The change from "int *pshared" to "int pshared"
hadn't reached here.
1999-12-23 16:51:27 +00:00
phk
21896fdf9b Duh! Also remove inter.phone from the makefile. 1999-12-23 09:28:49 +00:00
phk
4becc018d8 Remove this file for the same reasons as for na.phone: There are
better and more comprehensive and reliable sources for such
information in the global village.
1999-12-23 08:52:59 +00:00
grog
f206b46b8d Add dialing code for Limassol, Cyprus. 1999-12-23 00:37:47 +00:00
grog
79df2fc34a Update area codes for Australia.
Update some area codes for Malaysia.  The list is still woefully incomplete.
1999-12-23 00:31:04 +00:00
ache
58518e59bd lt_LN->la_LN 1999-12-22 20:52:54 +00:00
peter
d55ac72ab6 Update vnode_if.sh location. This was deliberately left a while after
the repo copy as the kernel src/sys/modules stuff uses
/usr/share/mk/bsd.kmod.mk which often gets out of sync with the kernel
source.
1999-12-22 01:07:30 +00:00
ache
6a4a23bd7f Add cs qwertz keyboard
Submitted by:	 Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1999-12-22 00:09:14 +00:00
ache
4e15fdf9bb Add cs_CZ
Submitted by:	 Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1999-12-22 00:02:21 +00:00
ache
e60a747d64 Add cs_CZ
Submitted by:	 Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
1999-12-21 23:57:19 +00:00
phantom
5042c98832 Comment out explicit MANPATH setting.
(BTW, it's very bad practice to have MANPATH environment variable set)

PR:		conf/14487
Submitted by:	Norihiko Ishitani <nori@tlab.is.uec.ac.jp>
1999-12-21 17:18:19 +00:00
sheldonh
ba5cbc54d5 Document allscreens_flags. This commit perpetuates the i386-centric
nature of this manual page. :-(

PR:		15066
Reported by:	Andy Farkas <andyf@speednet.com.au>
1999-12-21 11:22:06 +00:00
joerg
367ba76bfd Add a flag to disable FIFO probing. The code seems to have a chance of
misdetecting FIFO capabilities, at least on my girlfriend's Thinkpad 755,
the driver doesn't work using the FIFO.

While i was at it, i (partially) fixed option FCC_YE since it would no
longer have compiled at all under -current.  I've also made an attempt
to document the device driver flags value (ab-)used internally by this
option.

RELENG_3 candidate, but with a slightly different patch there (will go
to jkh in email).
1999-12-21 08:33:03 +00:00
jkoshy
25ab62d5d5 Add entries for two cities in India. 1999-12-21 05:22:43 +00:00
julian
443430016e Manual page style work.
Submitted by:	Alexey Zelkin <phantom@FreeBSD.org>
thanks!
1999-12-21 01:25:21 +00:00
phantom
bc13ba1728 Add Simferopol, Ukraine (Crimean republic capital) 1999-12-20 16:30:39 +00:00
sheldonh
7531174959 Fix the availability table, which incorrectly indicated that sh(1)
does not have a builtin set command.
1999-12-20 16:29:56 +00:00
phantom
606120b2a0 Sync with reality.
PR:		docs/15036
Submitted by:	Jake Burkholder <jburkhol@home.com>
1999-12-19 19:12:14 +00:00
peter
55a1c6bee2 This commit was generated by cvs2svn to compensate for changes in r54816,
which included commits to RCS files with non-trunk default branches.
1999-12-19 13:50:37 +00:00
peter
05fc7a4a72 Import NetBSD's mailwrapper to redirect /usr/sbin/sendmail to the user's
chosen mailer.

Obtained from: NetBSD
1999-12-19 13:50:37 +00:00
eivind
cf78a64fe5 Correct the documentation of LOCKPARENT - it does not reliably result in the
parent being locked, but rather plays some hide and seek (does not lock if
dvp == vp).

Also add a BUGS section noting that this is undesired behaviour.
1999-12-18 20:50:48 +00:00
phantom
47918de226 Fix typos
PR:		docs/14858
Submitted by:	OKAZAKI Tetsurou <okazaki@be.to>
1999-12-17 14:48:00 +00:00
eivind
77984c7ce5 Document NDFREE w/flags, and fix up the description of NOFOLLOW. 1999-12-16 23:20:11 +00:00
chris
5a03b41405 Document pthread_create().
Reviewed by:	jasone
1999-12-16 22:36:54 +00:00