Commit Graph

4189 Commits

Author SHA1 Message Date
Christian Brueffer
8a9ce5c0d2 o fix typos
o grammar fix
o concat two lines

MFC after:	5 days
2003-12-30 22:26:52 +00:00
Ruslan Ermilov
e09cec395d Pull revision 1.13 from libpthread/man/pthread_mutex_init.3:
- Remove error code that can't be returned (and original description
  was not proper English)

PR:		docs/57434
2003-12-30 15:44:16 +00:00
Mike Makonnen
ec2456e2c2 Aargh, cvs add pthread_mutex_timedlock 2003-12-30 08:50:04 +00:00
Mike Makonnen
2aa9de1f77 o Implement pthread_mutex_timedlock(), which does not block indefinitely on
a mutex locked by another thread.
o document it: pthread_mutex_timedlock(3)
2003-12-30 08:44:55 +00:00
Greg Lehey
6d8cac85f7 Clarify firewire setup, including minimal error recovery. 2003-12-30 02:04:25 +00:00
Greg Lehey
45c6a05ae1 Describe kernel debug macros for Vinum. This was originally intended
as part of gdb(4).

Suggested by: njl
2003-12-30 01:40:38 +00:00
Greg Lehey
1159af411b New man page for kernel debugging with gdb.
Reviewed by: jkoshy, des, gallatin, njl.
2003-12-30 01:39:08 +00:00
Alfred Perlstein
91b918cfff Explicitly state that mknod(8) can be used to undelete entries under devfs. 2003-12-29 00:40:44 +00:00
Takanori Watanabe
ee0406f617 Hook up acpi_thermal.4 man page. 2003-12-28 23:23:16 +00:00
Ruslan Ermilov
3321b7cb8b mdoc(7): fixed document title. 2003-12-28 22:34:47 +00:00
Ruslan Ermilov
673fbcacfb Somebody called mdoc(7) janitor.
A bit of wordsmithing from a native speaker is still necessary.
2003-12-28 12:56:01 +00:00
Joseph Koshy
735adf63e4 Use of the MTX_SYSINIT macro requires the inclusion of <sys/kernel.h>. 2003-12-28 01:39:18 +00:00
Joseph Koshy
6c0f2b530e Make this manual page reflect the sources better.
- A #include of <sys/mutex.h> is no longer needed to use sx(9) (since
  2001/05/01).
- Use of the SX_SYSINIT() macro requires inclusion of '<sys/kernel.h>'
2003-12-28 01:37:48 +00:00
Christian Brueffer
a5aea251fd unlinke -> unlike
Submitted by:	Pawel Jakub Dawidek <nick@garage.freebsd.pl>
2003-12-27 21:14:32 +00:00
Christian Brueffer
63dc0fa0a6 Correct reference to mac_none.4
Submitted by:	Pawel Jakub Dawidek <nick@garage.freebsd.pl>
2003-12-27 20:48:22 +00:00
Takanori Watanabe
d827f9b59f Add acpi_thermal manual page,
because I asked about the unit of thermal
zone-related value too freqently.
Come on, mdoc police.
2003-12-27 16:25:11 +00:00
Christian Brueffer
b194fa9395 o use .Nm
o fix language usage

MFC after:	5 days
2003-12-27 16:00:42 +00:00
Christian Brueffer
4206a5bbdc Add missing word 2003-12-27 15:46:30 +00:00
Christian Brueffer
c9420ecc33 o add missing sysctl to synopsis
o remove some useless words
o fix spelling

MFC after:	5 days
2003-12-27 15:45:08 +00:00
Christian Brueffer
03cfc71663 o add reference to safe.4
o remove useless word

MFC after:	5 days
2003-12-27 15:40:47 +00:00
Christian Brueffer
692a9ed847 o Grammar fix
o Add missing punctuation
2003-12-27 15:38:08 +00:00
Christian Brueffer
4b94b0bde6 Grammar fixes 2003-12-27 15:35:09 +00:00
Christian Brueffer
927967a855 o grammar fixes
o FireWire.4 -> firewire.4
o wordsmithing

MFC after:	5 days
2003-12-27 15:30:49 +00:00
Christian Brueffer
b7da444256 o grammar fixes
o wordsmithing
o sort references

MFC after:	5 days
2003-12-27 15:14:58 +00:00
Christian Brueffer
ce2524aca4 Add reference to safe.4
MFC after:	5 days
2003-12-27 15:00:07 +00:00
Joseph Koshy
2d8d6274dc Improve continuity of text. 2003-12-27 14:01:08 +00:00
Tom Rhodes
9df81bbc89 It is not the job of this manual page to list 'supported chipsets'.
PR:		60575
Submitted by:	Andreas Möller
2003-12-26 16:05:45 +00:00
Sergey Babkin
fb43f32be9 Documented the new parameter cron_dst. 2003-12-26 03:41:27 +00:00
Hidetoshi Shimokawa
69c6f5060b Fix reference to firewire(4).
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2003-12-24 12:58:35 +00:00
Tom Rhodes
a78383f7b3 Add the MegaRAID 320-4X cards to the supported device list.
Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com> (via -doc)
2003-12-23 16:22:34 +00:00
Tom Rhodes
124a5c5795 Remove the Minolta item, it already exists in the uscanner(4) manual page.
Noticed by:	simon
2003-12-22 23:20:58 +00:00
Tom Rhodes
106c6f4018 Update the supported device list.
Discussed with:	sanpei
2003-12-22 23:01:25 +00:00
Simon L. B. Nielsen
0db25406cc Add Epson Perfection 1250 and Minolta 5400 to the list of supported
devices.
2003-12-22 20:23:43 +00:00
Warner Losh
0dece262d4 Add more bridges, based on reading the pccbb.c file. 2003-12-22 06:08:14 +00:00
Hideyuki KURASHINA
d562e82bec Fix a typo.
Submitted by:	Lukas Ertl <l.ertl@univie.ac.at>
PR:		docs/60469
2003-12-21 14:30:26 +00:00
Yaroslav Tykhiy
db2db5fe18 Bring the description of the sysctl(8) variable
net.graph.nonstandard_pppoe into accord with the reality.

MFC after:	1 week
2003-12-19 16:42:35 +00:00
Yaroslav Tykhiy
417de5c6d2 mdoc(7) style: Start each sentence on a new line. 2003-12-18 17:31:44 +00:00
Yaroslav Tykhiy
9e76dcae12 Capitalize PPPoE, PPP, and Ethernet in a consistent way. 2003-12-18 17:27:49 +00:00
Yaroslav Tykhiy
8caa8dd355 The politically incorrect sysctl "stupid_isp" had its name
changed long ago.  It has been "nonstandard_pppoe" for quite
a while.
2003-12-18 16:55:09 +00:00
Nate Lawson
3526eac0d8 Document new sysctls for throttling. 2003-12-18 04:39:09 +00:00
Christian Brueffer
54cbe1b2db Add MLINKS:
axe.4 -> if_axe.4
bfe.4 -> if_bfe.4
my.4  -> if_my.4
re.4  -> if_re.4
xe.4  -> if_xe.4
2003-12-17 10:38:40 +00:00
Christian Brueffer
dda19a81f8 o grammar fixes
o wordsmithing

MFC after:	5 days
2003-12-17 10:23:14 +00:00
Christian Brueffer
6734ea9d70 o correct a path
o wordsmithing

MFC after:	5 days
2003-12-17 09:56:46 +00:00
Christian Brueffer
59940bac74 o grammar fixes
o removed wrong 's usage

MFC after:	5 days
2003-12-17 09:51:25 +00:00
Christian Brueffer
af7552658b Grammar fixes
MFC after:	5 days
2003-12-17 02:16:04 +00:00
Christian Brueffer
9e8f0d81d3 o use .Nm
o wordsmithing

MFC after:	5 days
2003-12-17 01:44:14 +00:00
Christian Brueffer
2883d48be5 Wordsmithing
MFC after:	5 days
2003-12-17 01:13:13 +00:00
Peter Pentchev
a61f15043c Fix a couple of typos: hexidecimal -> hexadecimal.
Reviewied by:	scottl
2003-12-12 11:08:51 +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
Maxim Konovalov
369bf356c9 Grammar.
PR:		docs/60158
Submitted by:	Lukas Ertl
MFC after:	1 week
2003-12-11 21:54:26 +00:00