Commit Graph

100804 Commits

Author SHA1 Message Date
yamt 1c708a4b08 bring in RETURN VALUES from openbsd. 2002-08-11 13:17:35 +00:00
drochner 29c16c72fb -avoid lock leak in error case
-Free AGP memory on close, to avoid a memory leak in case
 the X server doesn't free it explicitely.
 (It appears that the X server never calls AGPIOC_DEALLOCATE.)
 Fixes PR kern/17869 by Emmanuel Dreyfus.
2002-08-11 12:40:47 +00:00
yamt e52744d883 - document generic ioctls.
- mention EFAULT.
from OpenBSD.
2002-08-11 12:40:46 +00:00
drochner ce5452e87b update the is_bound flag for local memory too 2002-08-11 12:36:21 +00:00
yamt a63161243b more description from openbsd. 2002-08-11 12:22:48 +00:00
tron 92cd63769f Make this build after "wi_ieee.h" has been changed. 2002-08-11 12:16:27 +00:00
yamt eaf49dbcad backout previous partly:
we don't check if processes are in the same session or not.
2002-08-11 12:12:54 +00:00
soren 756b85e71a Sync with reality. 2002-08-11 12:12:23 +00:00
drochner 66c65513fc pull in wi_hostap.c to make the kernel link again 2002-08-11 12:09:44 +00:00
yamt 74b1a91d8e bring in ERRORS from openbsd. 2002-08-11 12:09:11 +00:00
drochner 5f33ace021 rename WI_ ioctl to make it compile again 2002-08-11 12:08:55 +00:00
yamt 906f41fac5 - include typical uses.
from openbsd.
2002-08-11 12:04:25 +00:00
blymn 67d86161c7 Added MLINK entries to link all function names to their respective
man page.
2002-08-11 11:57:44 +00:00
yamt 731cbc6eb3 bring in warnings from freebsd via openbsd. 2002-08-11 11:46:21 +00:00
soren 6c2f3b0542 POOL_STORAGE_SIZE no longer exists. 2002-08-11 11:20:48 +00:00
lukem 06b665d30c vers.o should also depend upon $S/conf/newvers.sh and $S/conf/osrelease.sh 2002-08-11 10:47:24 +00:00
yamt a86e2e3273 note that child should use _exit instead of exit.
from OpenBSD.
2002-08-11 10:35:48 +00:00
yamt b09419c060 bump .Dd . 2002-08-11 10:28:23 +00:00
yamt 740bfa56b7 document a hack about setuid programs and fd 0, 1 and 2.
from OpenBSD.
2002-08-11 10:27:49 +00:00
yamt 0997545d18 bring in EXAMPLES from openbsd. 2002-08-11 09:39:10 +00:00
yamt 0da40e1ed0 - correct how to check empty field.
- improve examples.
from OpenBSD.
2002-08-11 09:36:15 +00:00
yamt 10a7dd0256 bring in EXAMPLES from openbsd. 2002-08-11 08:22:30 +00:00
yamt cdac947b04 bring in EXAMPLES and ERRORS from openbsd. 2002-08-11 07:53:06 +00:00
yamt 049fa38b0c bring in EXAMPLES from openbsd. 2002-08-11 07:50:04 +00:00
yamt fd80262662 improve EXAMPLES.
from openbsd.
2002-08-11 07:46:56 +00:00
yamt 517ec26f7b bring in EXAMPLES from OpenBSD. 2002-08-11 07:36:19 +00:00
yamt 4e0ec2a042 bump .Dd . 2002-08-11 07:31:56 +00:00
yamt 0243d99724 bring in EXAMPLES from openbsd. 2002-08-11 07:31:18 +00:00
yamt c5caadcfd8 bring in EXAMPLES and a note.
from openbsd.
2002-08-11 07:05:41 +00:00
grant cc65da74ac specify the reason when aborting with "Malformed from address",
suggested by Matt Green.
2002-08-11 07:04:00 +00:00
yamt 6410ff3c05 bring in EXAMPLES from OpenBSD. 2002-08-11 06:53:39 +00:00
thorpej 22c90da7f0 Snapshot of work-in-progress: Add AP support for Prism2-based boards.
WEP for APs is not yet implemented, but without WEP, this works well
enough for my laptop to associate with an AP running this code.

Adapted from OpenBSD.
2002-08-11 06:13:53 +00:00
yamt 8acd3a715f - more description about realloc.
- mention errno.
- add FILES section for malloc.conf.
from openbsd.
2002-08-11 06:12:45 +00:00
kim 36df211313 Obey the locale settings of the user when deciding what characters are
valid for output.  If something bad gets printed, either the locale
settings for the user (or output terminal) are wrong, or the LC_CTYPE
definitions on the system are invalid.
2002-08-11 03:59:31 +00:00
thorpej 2faddb9f3d * Additional frame control types.
* BEACON and AUTH management packet info.
* Add ioctl for configuring 802.11 auth mode.

From OpenBSD.
2002-08-11 03:39:21 +00:00
matt dcab4f46e8 Switch back to kenter_pa/kremove 2002-08-11 02:17:30 +00:00
thorpej 918a335551 Use WI_RID_DATA_RATES to fetch the supported rates. From OpenBSD. 2002-08-11 01:35:10 +00:00
thorpej bb718bd6e3 * Add "wi_flags" to the softc to indicate capabilities of the card. Fill
in this info based on firmware type and version.  Replace "wi_has_wep"
  with a flag.
* For cards which support IBSS, add "ibss" has a media option.
* For cards which support CREATE_IBSS, add "ibss-master" as a media
  option.
* Use the "ibss" and "ibss-master" media options to determine if
  we should go into IBSS mode and/or create the IBSS.
* Internally convert between the generic WI_PORTTYPE_IBSS and the
  value the firmware wants to use for IBSS.
* When setting the IBSS name, if a desired-SSID is set, and we're
  an ibss-master, write the desired-SSID into the own-SSID slot.
  This ensures that "ifconfig wi0 nwid FOO" will do the expected
  thing.
* Only set the roaming mode if the card supports roaming.

From OpenBSD.
2002-08-11 01:30:28 +00:00
thorpej d1737f8f98 Only read supported rates on Prism2 boards. 2002-08-11 00:11:52 +00:00
thorpej 375eb183ff Read supported rates from the card and report them. Only add
media types if that rate is supported.

Adapted from OpenBSD.
2002-08-11 00:00:41 +00:00
thorpej dbae3bd18f Define PORTTYPE constants for IBSS and HOSTAP (already in the
comments!).
2002-08-10 23:29:53 +00:00
thorpej 0eee4f1a69 Add "hostap", "ibss", and "ibss-master" 802.11 media options.
From OpenBSD.
2002-08-10 23:21:58 +00:00
thorpej 742ad68157 Fix some whitespace. 2002-08-10 23:16:14 +00:00
thorpej 1fa46f89f9 Preliminary support for the ten-bit interface on the DP83820. This
code needs more testing, and more bug fixing.
2002-08-10 22:57:15 +00:00
thorpej 5689818798 Don't treat the "reset complete" interrupts as errors. Doing so
causes us to go into a reset/interrupt/reset/... loop.
2002-08-10 22:54:54 +00:00
hannken f6391479b2 Convert to new device buffer queue interface.
Approved by: Leo Weppelman <leo@netbsd.org>
2002-08-10 21:49:14 +00:00
matt 549ac19770 Add IBM Power3 CPUID. 2002-08-10 21:38:06 +00:00
thorpej 3721870c9e Add wi* at pci? 2002-08-10 20:20:22 +00:00
soren 84dd3a42b4 Print newline before pool stats. 2002-08-10 19:08:41 +00:00
matt 67f40b1907 More refinement, only map B_READ buf with VM_PROT_WRITE (all pages always
have VM_PROT_READ).  Also, pass PMAP_WIRED to pmap_enter (for non-mpc6xx
pmaps).  This will give pmap clues about flushing any "icache ok state".
2002-08-10 18:49:56 +00:00