summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Fix a couple of typos: hexidecimal -> hexadecimal.roam2003-12-121-5/+5
| | | | Reviewied by: scottl
* Commit the first cut of Project Evil, also known as the NDISulator.wpaul2003-12-112-1/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Grammar.maxim2003-12-111-2/+2
| | | | | | PR: docs/60158 Submitted by: Lukas Ertl MFC after: 1 week
* Typo fix.jkoshy2003-12-111-1/+1
|
* Document a few kernel functions and the sysctl tunables thatjkoshy2003-12-115-1/+357
| | | | affect their behaviour.
* Grammar.ru2003-12-101-1/+1
|
* Grammarmtm2003-12-093-3/+3
|
* Move the bktr(4) <arch>/include/ioctl_{bt848,meteor}.h files to dev/bktrobrien2003-12-085-10/+21
| | | | | | as these ioctl's aren't MD. This also means they are installed in /usr/include/dev/bktr now. Also provide compatability wrappers for where these headers lived in 4.x.
* Add the meteor driver man page back. It has moved up a level from theimp2003-12-083-5/+886
| | | | | | | | | | | | man4.i386. It documents that meteor no longer works, but keeps the extensive documentation on the meteor interface, which the bktr driver implements also. This should be merged into tha man page, but such a merging seems to be planned by others. # we really need something like video4bsd to define these sorts of # things for all video capture drivers. Requested by: rwatson and obrien
* Copy the old dgb man page to digi.4, plus very minor hacking. Add aimp2003-12-082-0/+383
| | | | | | note that says that this man page is sub-optimal. Bruce Mah should be happier about this, but someone that groks the cards supported by the digi driver is encouraged to make this man page suck less.
* Add a manual page for the consolidated debugging commit.scottl2003-12-072-0/+77
|
* Add support for timeout: and attempts: resolver options.murray2003-12-071-1/+15
| | | | | Submitted by: Paul Vixie <paul@vix.com> / ISC MFC After: 1 week
* lmc.4 is now goneimp2003-12-071-1/+0
|
* Remote meteor driver. It hasn't compiled in over 3 years. If someoneimp2003-12-072-963/+2
| | | | | makes it compile again, and can test it, we can restore the driver to the tree.
* The dgb driver is redundant with the digi driver in the tree. It usesimp2003-12-071-384/+0
| | | | | | | | 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@
* Continue to remove drivers that don't compile and haven't compiled inimp2003-12-071-91/+0
| | | | | | | | | | a long time: lmc The LAN Media Corp PCI WAN driver based on tulip. This driver hasn't compiled for 3 years since the PCI compat shims were removed, and Lan Media appears to have gone out of business. These cards appear to be rare (a recent search of ebay had no hits). Should someone wish to revive this driver, submitting patches to make it compile plus a testing report will bring it back.
* Hook the sab(4) manpage up to the build.bmah2003-12-071-0/+1
| | | | | Reviewed by: bms Approved by: re (implicitly)
* Add support for ELECOM/Laneed CardBus FastEtherner Card(LD-CBL/TXA)sanpei2003-12-061-0/+2
| | | | | Submitted by: Masahiro Yamagishi <night@pluto.dti.ne.jp> Approved by: re (scottl)
* Updated man page from cronyx.imp2003-12-051-250/+75
| | | | | | Forgotten by: imp Reminded by: Roman Kurakin Approved by: re@ <scottl>
* Add a few wi-supported cards to get this manpage caught up withbmah2003-12-021-0/+6
| | | | | | | the hardware notes. Reviewed by: imp Approved by: re (implicitly)
* Mdoc(7) janitor cleanup.simon2003-11-301-40/+87
| | | | | | Reviewed and improved by: ru OK'ed by: phk Approved by: re (rwatson)
* Removed the i386 specific bit from title.ru2003-11-301-1/+1
| | | | | Reviewed by: non Approved by: re (rwatson)
* - Connect a few forgotten Netgraph manpages.ru2003-11-291-8/+11
| | | | | | - Sort. Approved by: re (rwatson)
* Add manual page for CPU_ELAN, CPU_SOEKRIS and related options for thephk2003-11-272-1/+113
| | | | | | Elan 520 CPU chip. Approved by: re@
* Improve semantics of the 'sequence' command to led(4) devices:phk2003-11-271-2/+2
| | | | | | use lowercase for off and upper case for on. Approved by: re@
* Add nsp(4) man page for nsp PC-Card SCSI host adapter device driver,non2003-11-242-0/+82
| | | | | | | and attach it to the build. Submitted by: non, rushani Approved by: re (rwatson)
* o Add HISTORY and AUTHORS sectionnon2003-11-241-1/+16
| | | | | | | o Add scsi.4 in the SEE ALSO section Reviewed by: rushani Approved by: re (rwatson)
* Install UDF header files to unbreak /sbin building when /sys is not present.scottl2003-11-221-0/+2
| | | | Submitted by: imura@ryu16.org
* Bring in a new manual page, ncv.4, and attach it to the build.trhodes2003-11-212-0/+128
| | | | | | Based on an original version submitted by: non Approved by: re (scottl)
* Fix a typo that broke one of the Greek keyboard maps.jhb2003-11-201-1/+1
| | | | | | PR: bin/59078 Submitted by: Panagiotis Astithas <past@noc.ntua.gr> Approved by: re (rwatson)
* Clean up one more sentence that was wrapped unnecessarily.njl2003-11-191-2/+1
| | | | Approved by: re (implicitly)
* Update the man page for hw.acpi.reset_video and a few mdoc(7) cleanups.njl2003-11-191-7/+8
| | | | | Submitted by: Andreas Kohn <andreas.kohn@gmx.net> Approved by: re (implicitly)
* Improve the section on Cx states, documenting the removal of -1 as anjl2003-11-191-2/+9
| | | | | | | valid value for cx_lowest. To disable sleeping, use machdep.cpu_idle_hlt instead. Update the version of the ACPI spec we implement. Approved by: re (implicitly)
* Update hier(7) to reflect the world with respect to /lib and /libexec.gordon2003-11-171-0/+10
|
* Document NO_DYNAMICROOT.simon2003-11-161-0/+7
| | | | Reviewed by: gordon
* Add the ports/arabic category to the examples.ceri2003-11-164-0/+4
| | | | MFC After: 4 days
* mdoc(7) janitor:simon2003-11-161-2/+2
| | | | | - Use .Aq macro instead of <foo>. - Kill EOL whitespace.
* Add the following devices to the list of supported devices, to syncsimon2003-11-161-0/+6
| | | | | | | manual page with the source code: - HAL Corporation Crossam2+USB IR commander - RATOC REX-USB60 - SOURCENEXT KeikaiDenwa 8 (with and without charger)
* Add rue(4) into list of miibus-using drivers and reference.akiyama2003-11-161-0/+3
| | | | MFC after: 1 week
* Minor word tweaks.trhodes2003-11-151-7/+16
| | | | Submitted by: Mathew Kanner <mat@cnd.mcgill.ca>
* Implement Cx CPU idle states and updated throttling support.njl2003-11-151-7/+25
| | | | | | | | | | | | * Use the cpu_idle_hook() to do idling for C1-C3. * Use both _CST and the FADT to detect Cx states. * Use both _PTC and P_CNT for controlling throttling. * Add a notify handler to detect changes in _CST and _PSS * Call the _INI function for each processor if present. This will be done by ACPI-CA in the future. * Fix a bug on SMP systems where CPUs will attach multiple times if the bus is rescan. * Document new sysctls for controlling idling.
* Replace all uses of the old netgraph constants NG_*LEN by the newharti2003-11-155-11/+11
| | | | | | constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy.
* Remove an extra 'for' in the HISTORY section.trhodes2003-11-151-1/+1
|
* Bring in a 90% rewrite of the pcm.4 manual page. This adds tunables, loadertrhodes2003-11-151-48/+208
| | | | | | | options, information on VCHANs, and more. Based on content submitted by: Mathew Kanner <mat@cnd.mcgill.ca> && Cameron Grant Update requested by: ru, and I think hmp
* Add a manual page for the IDT NICStAR driver, and hook it up to the build.bms2003-11-142-0/+61
|
* Amplify the reboot requirementimp2003-11-141-5/+6
|
* Add required reboot into single-user mode step.imp2003-11-141-0/+1
| | | | | | # mdoc janitors should make sure I did the markup right Inspired by: recent problems in this area
* Document this driver works for the Billionton 10/100 FastEthernet USBKR2obrien2003-11-131-1/+2
| | | | "thumb" adaptor.
* Add cross reference to the em(4) driver, which also supports the NICssimon2003-11-131-0/+1
| | | | supported by the gx(4) driver.
* Add a few more devices from the hardware notes.simon2003-11-131-0/+12
|
OpenPOWER on IntegriCloud