Commit Graph

100785 Commits

Author SHA1 Message Date
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
yamt
145cf30b9f fix sample code. from openbsd. 2002-08-10 17:25:01 +00:00
yamt
1060c75faa result of getenv should be treated as read-only.
from OpenBSD.
2002-08-10 17:14:50 +00:00
yamt
0010f8875d bump .Dd . 2002-08-10 17:10:11 +00:00
yamt
9d36ca1fbf note only 8 bits of exit-status is passed.
from OpenBSD.
2002-08-10 17:09:27 +00:00
yamt
120c9b3256 note that alloca can't report error.
from OpenBSD.
2002-08-10 16:55:18 +00:00
yamt
14e693f16b bump .Dd for my previous commit. 2002-08-10 16:51:26 +00:00
yamt
cd575f9fb2 note that abort(3) causes streams flushed and closed.
from OpenBSD.
2002-08-10 16:47:54 +00:00
yamt
e7d9fe95ae - add description of the race.
- fix typo.
from OpenBSD.
2002-08-10 16:34:29 +00:00
toshii
16a190bb23 Use UDMA/100 on SiS745 chipset. 2002-08-10 16:33:23 +00:00
toshii
7576c71257 Regen; added SiS745 host bridge. 2002-08-10 16:30:45 +00:00
yamt
dccfe06f50 use more Xs for filename templates.
from OpenBSD.
2002-08-10 16:28:51 +00:00
matt
246ee3ef1d Switch vmap*buf back to using pmap_enter/pmap_remove. This is so that
accesses to the buffer will cause the reference and modified bits for
the pages to be udpated appropriately.
2002-08-10 16:28:49 +00:00
toshii
a4e64b08d4 Add SiS745 host bridge. 2002-08-10 16:26:14 +00:00
kim
b33db3215a 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-10 16:10:46 +00:00
yamt
04adc81fbf if the path is directory, remove(3) behaves as rmdir instead of unlink.
from OpenBSD.
2002-08-10 09:42:23 +00:00
yamt
5d8e52e7ab bring in EXAMPLES and BUGS from openbsd. 2002-08-10 09:32:19 +00:00
wiz
75c7529338 Update Dd for recent changes. 2002-08-10 09:17:49 +00:00
wiz
6fb8244813 Fix formatting glitch, end sentence with a dot, and use Nm instead of
a self-Xr. Update Dd for recent changes.
2002-08-10 09:14:59 +00:00
wiz
1598a31de5 Update Dd for recent changes. 2002-08-10 09:13:47 +00:00