1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/share/man/man4
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
..
man4.i386 Mixed updates: 1999-12-16 08:05:09 +00:00
adv.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
adw.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
aha.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ahb.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ahc.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
alpm.4 Add alpm smbus lowlevel driver manpage 1999-11-01 22:55:50 +00:00
amd.4 Add simple manual page for amd driver 1999-12-13 17:00:59 +00:00
atkbd.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
atkbdc.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
aue.4 This commit adds device driver support for the ADMtek AN986 Pegasus 1999-12-28 02:01:18 +00:00
bktr.4 Update man page to include the sysclts and kernel options commonly used 1999-09-22 17:36:43 +00:00
blackhole.4 Some minor mdoc style cleanup. 1999-08-28 22:11:17 +00:00
bpf.4 mdoc(7)'fy 1999-10-30 15:12:25 +00:00
bridge.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bt.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ccd.4 mdoc cleanup 1999-09-25 17:11:54 +00:00
cd.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ch.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
cy.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
da.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dc.4 Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers 1999-12-04 17:41:31 +00:00
ddb.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
de.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
divert.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dpt.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
drum.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
dummynet.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ed.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ef.4 Add module for if_ef driver and make it compile. 1999-12-13 16:42:17 +00:00
en.4 Mark some "i386 only" stuff as "i386 only" 1999-09-04 12:56:28 +00:00
fd.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fdc.4 Add a flag to disable FIFO probing. The code seems to have a chance of 1999-12-21 08:33:03 +00:00
fpa.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fxp.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
icmp.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ifmib.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
iic.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
iicbb.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
iicbus.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
iicsmb.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
inet.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
intpm.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
intro.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ip.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ipfirewall.4 Fix invalid option name: DIVERT -> IPDIVERT 1999-11-17 12:34:35 +00:00
joy.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
keyboard.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
kld.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
lo.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
lp.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
lpbb.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
lpt.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Makefile This commit adds device driver support for the ADMtek AN986 Pegasus 1999-12-28 02:01:18 +00:00
mem.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
mouse.4 Mention USB mouse support. 1999-12-05 07:54:43 +00:00
mtio.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
natm.4 Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:23:38 +00:00
ncr.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
netgraph.4 Manual page style work. 1999-12-21 01:25:21 +00:00
netintro.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ng_async.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_bpf.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_cisco.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_echo.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_frame_relay.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_hole.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_iface.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_ksocket.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_lmi.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_ppp.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_pppoe.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_pptpgre.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_rfc1490.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_socket.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_tee.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_tty.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_UI.4 Manual page style work. 1999-12-21 01:25:21 +00:00
ng_vjc.4 Manual page style work. 1999-12-21 01:25:21 +00:00
null.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ohci.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
pass.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
pci.4 [ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the 1999-12-08 17:44:04 +00:00
pcm.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
pcvt.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
ppbus.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ppc.4 Correct typos and -mdoc usage. Improve clarity of language. 1999-09-30 09:35:54 +00:00
ppi.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ppp.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
psm.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
pt.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
pty.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rl.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
route.4 - Describe all available message headers. 1999-09-14 00:26:11 +00:00
sa.4 add missing : 1999-09-05 14:57:24 +00:00
screen.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
scsi.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sd.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sf.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
si.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
sio.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
sis.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
sk.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
sl.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
smb.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
smbus.4 Fixed spelling error in document title. 1999-12-26 16:58:31 +00:00
smp.4 $FreeBSD$ tags moved to bottom of license aggmt. 1999-10-30 16:05:26 +00:00
snp.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
spkr.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
splash.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
sppp.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ssc.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
st.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ste.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
su.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
syscons.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
sysmouse.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
tcp.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
termios.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ti.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
tl.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
ttcp.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
tty.4 Now that Netgraph is in the system there are some cleanups we can do. 1999-10-23 04:28:11 +00:00
tun.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
tx.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
udp.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
uhci.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
uk.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ukbd.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
umass.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
ums.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
unix.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
update.4 mdoc(7)'fy 1999-10-30 15:12:25 +00:00
usb.4 Update the manpage with the changed usb_devinfo structure. 1999-11-22 14:41:02 +00:00
vga.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
vinum.4 Bring in line with reality. 1999-10-05 05:33:35 +00:00
vn.4 Bring documentation up to date, add a few more vnconfig examples. 1999-09-21 01:03:11 +00:00
vpo.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vr.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
wb.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
wi.4 Correct the synopsis for the wi(4) driver: it's just "device wi0" now, not 1999-12-07 21:52:41 +00:00
worm.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
wst.4 Fix a few typos (capitalization and punctuation). 1999-10-18 22:40:13 +00:00
xl.4 * remove i386 specific mark 1999-11-15 23:14:32 +00:00
xpt.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
yp.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
zero.4 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00