Commit Graph

599 Commits

Author SHA1 Message Date
Ruslan Ermilov
b760de9691 Use a single style for share/man/ makefiles:
- Sort MAN and MLINKS in "dictionary" order ignoring case.

- For multi-value MAN and multi-pair MLINKS, put each value/pair
  on its own line, for easier sorting and so that further diffs
  are easier to see.
2004-01-20 10:27:23 +00:00
Christian Brueffer
8cb5043a87 tx.4 has been repocopied to src/share/man/man4
Repo-surgery by:	joe
2004-01-15 23:01:12 +00:00
Christian Brueffer
c8885b4b8f Add MLINK:
ndis.4 -> if_ndis.4
2004-01-09 17:55:48 +00:00
Bill Paul
bf952fec70 Add 'device wlan' to synopsis. 2004-01-07 22:17:53 +00:00
Ruslan Ermilov
3321b7cb8b mdoc(7): fixed document title. 2003-12-28 22:34:47 +00:00
Bill Paul
c854fc1092 Commit the first cut of Project Evil, also known as the NDISulator.
Yes, it's what you think it is. Yes, you should run away now.

This is a special compatibility module for allowing Windows NDIS
miniport network drivers to be used with FreeBSD/x86. This provides
_binary_ NDIS compatibility (not source): you can run NDIS driver
code, but you can't build it. There are three main parts:

sys/compat/ndis: the NDIS compat API, which provides binary
compatibility functions for many routines in NDIS.SYS, HAL.dll
and ntoskrnl.exe in Windows (these are the three modules that
most NDIS miniport drivers use). The compat module also contains
a small PE relocator/dynalinker which relocates the Windows .SYS
image and then patches in our native routines.

sys/dev/if_ndis: the if_ndis driver wrapper. This module makes
use of the ndis compat API and can be compiled with a specially
prepared binary image file (ndis_driver_data.h) containing the
Windows .SYS image and registry key information parsed out of the
accompanying .INF file. Once if_ndis.ko is built, it can be loaded
and unloaded just like a native FreeBSD kenrel module.

usr.sbin/ndiscvt: a special utility that converts foo.sys and foo.inf
into an ndis_driver_data.h file that can be compiled into if_ndis.o.
Contains an .inf file parser graciously provided by Matt Dodd (and
mercilessly hacked upon by me) that strips out device ID info and
registry key info from a .INF file and packages it up with a binary
image array. The ndiscvt(8) utility also does some manipulation of
the segments within the .sys file to make life easier for the kernel
loader. (Doing the manipulation here saves the kernel code from having
to move things around later, which would waste memory.)

ndiscvt is only built for the i386 arch. Only files.i386 has been
updated, and none of this is turned on in GENERIC. It should probably
work on pc98. I have no idea about amd64 or ia64 at this point.

This is still a work in progress. I estimate it's about %85 done, but
I want it under CVS control so I can track subsequent changes. It has
been tested with exactly three drivers: the LinkSys LNE100TX v4 driver
(Lne100v4.sys), the sample Intel 82559 driver from the Windows DDK
(e100bex.sys) and the Broadcom BCM43xx wireless driver (bcmwl5.sys). It
still needs to have a net80211 stuff added to it. To use it, you would
do something like this:

# cd /sys/modules/ndis
# make; make load
# cd /sys/modules/if_ndis
# ndiscvt -i /path/to/foo.inf -s /path/to/foo.sys -o ndis_driver_data.h
# make; make load
# sysctl -a | grep ndis

All registry keys are mapped to sysctl nodes. Sometimes drivers refer
to registry keys that aren't mentioned in foo.inf. If this happens,
the NDIS API module creates sysctl nodes for these keys on the fly so
you can tweak them.

An example usage of the Broadcom wireless driver would be:

# sysctl hw.ndis0.EnableAutoConnect=1
# sysctl hw.ndis0.SSID="MY_SSID"
# sysctl hw.ndis0.NetworkType=0 (0 for bss, 1 for adhoc)
# ifconfig ndis0 <my ipaddr> netmask 0xffffff00 up

Things to be done:

- get rid of debug messages
- add in ndis80211 support
- defer transmissions until after a status update with
  NDIS_STATUS_CONNECTED occurs
- Create smarter lookaside list support
- Split off if_ndis_pci.c and if_ndis_pccard.c attachments
- Make sure PCMCIA support works
- Fix ndiscvt to properly parse PCMCIA device IDs from INF files
- write ndisapi.9 man page
2003-12-11 22:34:37 +00:00
Warner Losh
65b4a1b917 Remote meteor driver. It hasn't compiled in over 3 years. If someone
makes it compile again, and can test it, we can restore the driver to
the tree.
2003-12-07 04:41:11 +00:00
Warner Losh
6ee2f106aa The dgb driver is redundant with the digi driver in the tree. It uses
lots of old interfaces, and digi now supports all cards that dgb
supported.  The author of the driver says that this is no longer
necessary.

Approved by: babkin@
2003-12-07 04:18:52 +00:00
Warner Losh
335cd66dc2 Updated man page from cronyx.
Forgotten by: imp
Reminded by: Roman Kurakin
Approved by: re@ <scottl>
2003-12-05 07:03:58 +00:00
Simon L. B. Nielsen
1cd908be33 Mdoc(7) janitor cleanup.
Reviewed and improved by:	ru
OK'ed by:	phk
Approved by:	re (rwatson)
2003-11-30 12:42:01 +00:00
Poul-Henning Kamp
ccc5f62f97 Add manual page for CPU_ELAN, CPU_SOEKRIS and related options for the
Elan 520 CPU chip.

Approved by:	re@
2003-11-27 20:28:25 +00:00
Hiten Pandya
727119d5cd Mdoc Janitor:
* cleanup hard sentence breaks.

	* sprinle some .Dq macros.
2003-11-12 02:35:20 +00:00
Bruce A. Mah
f7cc717f50 Add some pc98-specific devices from the hardware notes. 2003-11-09 22:53:58 +00:00
Warner Losh
917f3a3222 Complete the variants of 1522/1520 cards 2003-11-09 01:46:28 +00:00
Warner Losh
3ebc19328e AHA-1505 also alegedly supported 2003-11-09 01:44:16 +00:00
Warner Losh
3a86eb3747 Flesh out the list of supported devices for this driver.
Add bugs that describe the current state of this driver.

# Note: Don't ask me about the driver: I can't get it to work well either :-)
2003-11-09 01:41:11 +00:00
Bruce A. Mah
f8206c33ec Mention Olicom OC2220, which is listed in the hardware notes and
driver source.
2003-11-09 00:31:41 +00:00
Hideyuki KURASHINA
f6aff0f329 Add manpage link wd.4 -> wdc.4 2003-11-08 10:28:31 +00:00
Warner Losh
806a364b8b Both CC and CX versions of the 556 exist 2003-11-03 00:46:08 +00:00
Warner Losh
b127c7f2c6 Separate out the old 3CXEM556 models (10Mbps only) from the faster
3CCFEM556 models (10/100Mbps).  I have only the former, and none of
the latter, so document that the latter might not work.
2003-11-02 23:30:22 +00:00
Warner Losh
8b99b80de6 Only the 3C1 is now known not to work. All my other cards work with
this driver.  I've not tested the '556B or the '556BI cards, however,
as I don't own them.
2003-11-02 20:20:28 +00:00
Warner Losh
2e698e49e1 The '574 family works (I had a bad dongle which is why I thought it
might not be).
The modem combo cards do not (confirmed today)
2003-11-02 05:33:12 +00:00
Tim J. Robbins
d7d75245e8 Catch up with removal of /usr/bin/svr4. 2003-10-28 05:22:19 +00:00
Hiten Pandya
fb52ec2dfa Add a PAE(4) MLINK for simplicity. 2003-10-23 05:26:44 +00:00
Simon L. B. Nielsen
7044867f83 Note that PAE has been MFC'd into RELENG_4 and will appear in FreeBSD
4.9.
2003-10-18 22:54:45 +00:00
Warner Losh
94ff8ef09c Update the list of supposedly supported 3Com devices from trolling
ebay.  Also have notes for my recent experiences with 3com pcmcia
cards (mostly this or that doesn't work).  Also look at the strings
that are claimed to be supported in the bus specific front ends.  Note
that the 3C569* are CBUS.
2003-10-09 03:52:44 +00:00
Ruslan Ermilov
743d5d518c mdoc(7): Properly mark C headers. 2003-09-10 19:24:35 +00:00
Ruslan Ermilov
fe08efe680 mdoc(7): Use the new feature of the .In macro. 2003-09-08 19:57:22 +00:00
Simon L. B. Nielsen
88fced4cb3 - Update the page title to include information about which cards
are supported by the driver.
- Use a list to specify which cards are supported.
- Add the 3c592/3c597 EISA cards to the list of supported cards.

PR:		docs/56086 (based on)
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
2003-08-29 17:59:01 +00:00
Bruce A. Mah
05ba13027b Add a few PC98-specific (?) devices, from the hardware notes. 2003-08-24 22:51:09 +00:00
Bruce A. Mah
1256904d38 Sort device list, no other content changes. 2003-08-24 22:39:18 +00:00
Bruce A. Mah
b3e01060bb Add a few more PC98-specific instances of fe(4) devices, obtained from
the hardware notes.
2003-08-24 22:38:00 +00:00
Simon L. B. Nielsen
f6cdc82f08 Catch up ep(4) with the hardware notes.
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
PR:		docs/55659
Confirmed by:	driver source code and pccard.conf
MFC after:	3 days
2003-08-21 15:40:05 +00:00
Simon L. B. Nielsen
e95da14f5b Catch up fe(4) with the hardware notes.
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
PR:		docs/55636
Confirmed by:	driver source code and pccard.conf
MFC after:	3 days
2003-08-21 15:18:21 +00:00
Peter Wemm
22907f2d29 Update npx status.
Reminded by:  tjr
2003-07-22 08:15:29 +00:00
Ruslan Ermilov
b5e7e99950 Hiten's patchset for section four manpages, slightly edited by me. 2003-06-28 23:53:39 +00:00
Hartmut Brandt
ca7810d47e The midway driver has been busdmaified and is not i386-specific anymore.
Repo-copy it from the i386 specific man4 section to the common one.
Remove the i386 keyword from the man page header.
Document the sysctl interface to the driver.
Fix a spelling error (ALL -> AAL).
2003-06-03 07:58:39 +00:00
Ruslan Ermilov
bc9a9cb4d0 Assorted mdoc(7) fixes.
Approved by:	re (blanket)
2003-05-29 21:28:36 +00:00
Ruslan Ermilov
aba60fa66b Fixed troff(1) and mdoc(7) warnings.
Approved by:	re (blanket)
2003-05-18 21:05:22 +00:00
Hiten Pandya
6bcf97c476 Fix .Xr typo.
Approved by: des (mentor), re (scottl)
2003-05-12 21:47:39 +00:00
Warner Losh
b629c2deb5 Update to reflect removal of tw.
Approved by: re@ (scottl)
2003-04-27 05:39:10 +00:00
Jake Burkholder
c40586c87d Remove a stray sentence. 2003-04-25 17:08:47 +00:00
David E. O'Brien
041616aa13 The i386-specific asr manpage has been repo copied to the MI section. 2003-04-20 22:01:37 +00:00
Max Khon
fcbbbd4a4b manual page for Granch SBNI12-xx network interface driver 2003-04-13 06:13:47 +00:00
Jake Burkholder
8dc6de5168 Fix non-word.
Noticed by:	njl
2003-04-09 16:58:39 +00:00
Jake Burkholder
a3d266d593 Add a man page for options PAE.
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-09 06:49:44 +00:00
Tom Rhodes
4fde7c2f9d Add a manual page for the smapi module.
Reviewed by:	ru, mdodd
2003-04-05 19:12:51 +00:00
Matthew N. Dodd
340ff79fa8 Add a manpage for the 'vpd' driver. 2003-04-04 10:12:09 +00:00
Tom Rhodes
7ca75716dc Remove MAKEDEV rot.
PR:		50286, 50285
Submitted by:	Sergey A. Osokin <soa@FreeBSD.org.ru>
2003-03-25 18:08:50 +00:00
Tom Rhodes
bce0af3428 Xref miibus(4). 2003-02-17 21:22:56 +00:00