Commit Graph

71 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
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
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
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
Alexey Zelkin
1ffd87cbbb activate amd.4 1999-12-16 16:22:48 +00:00
Kenneth D. Merry
64ae346b52 [ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the
background ]

Rename sys/pci/pci_ioctl.h to sys/sys/pciio.h to make it easier for
userland programs to use this interface.  Reformat the file, and add a
BSD-style copyright to it.

Add a new man page for pci(4).  The PCIOCGETCONF, PCIOCREAD, and PCIOCWRITE
ioctls are documented, but the PCIOCATTACHED ioctl is not documented
because it is not implemented.

Change includes of <pci/pci_ioctl.h> to <sys/pciio.h> or remove them
altogether.  In many cases, pci_ioctl.h was unused.

Reviewed by:	steve
1999-12-08 17:44:04 +00:00
Bruce Evans
b106cdf701 Fixed disordering in rev.1.63. 1999-12-05 22:43:32 +00:00
Bill Paul
96f2e892a7 Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.

This also completes my quest to convert things to miibus and add
Alpha support.
1999-12-04 17:41:31 +00:00
Alexey Zelkin
83984cbd0b Activate manpages repo-copied from man4.i386. 1999-11-15 23:05:18 +00:00
Nicolas Souchu
c0b6742c79 Add alpm smbus lowlevel driver manpage 1999-11-01 22:55:50 +00:00
Alexey Zelkin
ba554517e2 Backout previous commit. This change should be applied to -STABLE only. 1999-10-30 13:22:00 +00:00
Alexey Zelkin
0e83ca8d54 add MLINKS: bpf.4 -> bpfilter.4 1999-10-30 13:17:58 +00:00
Chris Costello
9401c3d753 Remove od.4 -- Kenneth Merry writes:
It's not supported any more.  It was never ported to CAM, and that
 functionality has been taken over by the da driver.  So the man page can be
 removed.

Reviewed by:	ken
1999-08-22 23:40:41 +00:00
Geoff Rehmet
849d3459bf Add man page for black hole sysctl MIBs.
references to follow.
1999-08-17 13:46:38 +00:00
Peter Wemm
4508411526 Goodbye lkm.4 1999-04-24 21:05:40 +00:00
Bruce Evans
41829901a9 Install kld.4.
Sorted lists.
1999-04-14 16:04:55 +00:00
Nicolas Souchu
e3ded6e2c7 Move lp.4 to man4. It is not i386 dependent.
Fix ppbus and lpt declaration ('0' forgotten). Add info about retrieving
printer status with 'cat /dev/lpt0'.
1999-02-14 16:22:27 +00:00
Nicolas Souchu
953cd93fe6 Create new lpt manpage with ppbus info and the original lpt info.
Fix lp.4 ppbus terminology.
1999-02-14 12:06:16 +00:00
Nicolas Souchu
04fb1490a0 Terminate commit for the Intel PIIX4 SMBus support. Already committed files
are sys/pci/intpm*

Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
1999-01-25 19:34:27 +00:00
Nicolas Souchu
3b508abd51 Remove imm.4, merged with vpo.4
Fix vpo.4 manpage generation in Makefile
Fix bootflags bits description in ppc.4
1999-01-23 14:01:55 +00:00
Steve Price
3a67b4e914 Add vpo.4 to the list of manpages to build and install.
PR:		9427
Submitted by:	Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
1999-01-10 19:26:27 +00:00
Luigi Rizzo
2296e7a82a Add manpages for dummynet and bridging 1998-12-21 22:37:53 +00:00
Nicolas Souchu
1284f2b273 ppc.4 moved from man4 to man4.i386: parallel port chipset driver manpage
pcf.4 added: Philips I2C/isa interface manpage
1998-10-28 00:51:40 +00:00
Nicolas Souchu
6c5ba3a5a5 I2C framework manpages. See iicbus(4) for more info. 1998-10-28 00:40:53 +00:00
Kenneth D. Merry
89045423f1 Update the scsi(4) man page for CAM, and add in links so that it appears
as cam(4) as well.

This includes a description of all the generic CAM kernel options, as
well as a description of some of the CAM debugging printf options.
1998-10-16 04:28:39 +00:00
Kenneth D. Merry
190831dd81 Update the sa(4) man page for CAM. This was repository-copied from the
st(4) man page.

Take out most of the sd(4) and st(4) man pages and point to the new
da(4) and sa(4) man pages.

Add sa.4 to the makefile.

Reviewed by:	ken
Submitted by:	gibbs
1998-10-16 04:06:21 +00:00
Kenneth D. Merry
d754856115 Add the da(4) man page. 1998-10-16 03:29:49 +00:00
Warner Losh
068a441ad2 Add wst.4 1998-10-15 20:45:57 +00:00
Kenneth D. Merry
ce79705e73 Add man pages for the passthrough driver and the CAM transport layer
driver.
1998-10-12 00:26:03 +00:00
Greg Lehey
6d07e4c64d Include vinum.4 in MAN4 1998-09-28 02:59:56 +00:00
Kenjiro Cho
149958e6a9 add Native ATM Protocol manual. 1998-07-29 05:41:20 +00:00
Mike Smith
bcdf3adee7 Add a manpage for the 'ppi' device, detailing its use and feeding. 1998-01-02 09:31:18 +00:00
Brian Somers
bbb985d41c Add ssc(4). 1997-12-29 21:07:10 +00:00
Joerg Wunsch
468d8299dd Wire tun(4) into the Makefile.
Slightly change the way how to credit NetBSD.
1997-09-07 12:29:55 +00:00
Steve Passe
5efb75076f Add SMP(4) as a link to smp(4). 1997-08-04 21:11:24 +00:00
Steve Passe
17251018d8 Added missing SMP kernel manpage.
Mostly a stub at this point, needs alot of work.

Noticed by:	Steve Roome steve@visint.co.uk
1997-08-04 21:02:11 +00:00
Joerg Wunsch
cc04bc5fed Add a man page for sppp(4). 1997-05-19 22:04:40 +00:00
Wolfram Schneider
28fb62d30e Add manual page symlinks
YP.4 -> yp.4
	nis.4 -> yp.4
	NIS.4 -> yp.4
1997-04-03 12:32:42 +00:00
Mike Pritchard
b5d3fbf904 Add od(4). Closes PR# 3170.
Submitted by:	Shunsuke Akiyama <akiyama@jp.freebsd.org>
1997-04-01 19:52:37 +00:00
Mike Pritchard
e4343c4e5a sysmouse.4 should be in man4.i386. 1997-02-22 21:19:55 +00:00
John-Mark Gurney
f79219c3ea added man page for /dev/sysmouse. (and activate it)
plus add appropriate xrefs now that we have {cd,sd,st}.9
1997-02-20 15:14:59 +00:00
Mike Pritchard
a195100836 Oops. I accidently removed fpa.4 from the install list (it is
a pending change...grr)

Submitted by:	bde
1997-02-14 05:18:02 +00:00
Mike Pritchard
3586b410dc Add sl(4) and ppp(4).
Obtained from: NetBSD
1997-02-13 18:48:25 +00:00
Mike Pritchard
9a16c56614 Add vn(4) to document vn pseudo-devices.
Obtained from: NetBSD
1997-02-13 18:29:30 +00:00
Mike Pritchard
cb7ecbe37a Actually remove the old netns/netiso man pages. They haven't
been installed for the last 9 months or so anyways.
1997-01-30 23:51:48 +00:00
Jordan K. Hubbard
7ee8a29399 fimib.4 -> ifmib.4 1996-11-16 03:06:25 +00:00
Garrett Wollman
93194d3707 Start to document how the interface MIB stuff is supposed to work. 1996-11-15 19:49:41 +00:00
Mike Pritchard
adcdb5c26b Add divert.4 to the list of man pages that are installed. 1996-07-11 01:52:46 +00:00
Wolfram Schneider
090d3c2832 fix `make install' for subdirs (man4.i386, man8.i386)
which I broke in rev 1.21

detected by: bde & jhay@mikom.csir.co.za
1996-07-08 17:44:31 +00:00
Jordan K. Hubbard
cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00