Commit Graph

141310 Commits

Author SHA1 Message Date
rpaulo 190e47aa8d Proper indent the last entry. 2005-11-24 20:48:55 +00:00
wiz 11cf64bdd7 New sentence, new line. Remove trailing whitespace.
Mark up paths with .Pa.
2005-11-24 20:23:02 +00:00
dsl b184d489b2 We don't need 'le' here, I'm not sure amd64 GENERIC deserves it either. 2005-11-24 20:06:53 +00:00
wiz b0e357e4fe Article improvements. 2005-11-24 19:40:16 +00:00
wiz c460143353 Article improvements. Use more macros. Sort SEE ALSO. 2005-11-24 19:39:56 +00:00
wiz abb7e1e8ca Grammar fix, HTML quoting, sort SEE ALSO. 2005-11-24 19:36:43 +00:00
wiz 4b2675b81a Drop trailing whitespace. 2005-11-24 19:32:35 +00:00
thorpej da4c72ac64 Make a couple of functions static. 2005-11-24 18:36:50 +00:00
rpaulo 187566e289 Mention $ip6sitelocal removal. 2005-11-24 17:35:59 +00:00
rpaulo 7acb962baa RFC 3879 deprecated the IPv6 site-local prefix (fec0::/10):
* remove all references to $ip6sitelocal and output a warning
    message if the variable is defined.
    * introduce $ip6uniquelocal (defaults to 'NO') that will control the
    behaviour of the system when $ip6mode is ``router'' (i.e. fc00::/7
    will not be routed if the variable is ``NO'') as per RFC 4193.

Thanks to Jonathan A. Kollasch for pointing this out in PR 32152.
2005-11-24 17:28:45 +00:00
macallan 631f2d878c build the apm utility on sparc since we already build apmd 2005-11-24 15:47:09 +00:00
martin 328b263349 Use %zd for size_t. Noticed by Kurt Schreiner on current-users. 2005-11-24 13:47:46 +00:00
fredb c3ec7554f8 Initialize "mapped" before any of the "goto"'s, so we're not testing an
uninitialized variable at "bad:".
2005-11-24 13:34:55 +00:00
he 3c33ccf011 Remove declaration of a variable which is no longer used. 2005-11-24 13:33:33 +00:00
yamt bc21da4cfb bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!
2005-11-24 13:08:32 +00:00
yamt 6eaa98c111 use .d mechanism for kernel as well. 2005-11-24 13:01:42 +00:00
dbj 8000972bbe . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.
2005-11-24 12:54:29 +00:00
he 9476e5349e Make sure the file ends with a newline, so the port builds again. 2005-11-24 12:11:32 +00:00
dyoung 7e173af81d Put the microsecond timestamp in the radiotap header for received
frames.
2005-11-24 09:58:39 +00:00
yamt 48b26c0311 .Xr kcont and workqueue each other. 2005-11-24 08:24:01 +00:00
yamt 224db8bcf4 document workqueue. 2005-11-24 08:20:51 +00:00
yamt b874a47774 add RUN_ONCE. 2005-11-24 08:16:21 +00:00
yamt 2c4cbc68d8 document RUN_ONCE. 2005-11-24 08:14:13 +00:00
jonathan 43255e3f4e Add TSO support to bge(4) for PCI-Express bge devices, which are
shipped from the factory with TSO-capable firmware.  The TSO support
here may also work on 5705 chips, but that is (so far) untested.

TSO support written after careful reading of the Linux tg3 driver,
and (after attempting to deconstruct the cut-and-paste mess therein)
very close reading of the Broadcom-supplied Linux driver, particularly
the building of Tx-DMA buffer descriptors (bds). The TSO code herein was
then rewritten from scratch, circa 4am local time, October 27 2005.
(In other words: this is 4am software; caveat emptor.)

Other magic register settings in this patch are required; without
them, attepmting to use TSO locks up the chip. The required register
settings were extracted from the cited Linux drivers.

Note that TSO-capable firmware for the 5703/5704 is distributed in
non-GPL form with the aforementioned Linux drivers. Once the 5705 case
is debugged, (particularly the pseudo-header checksum precalculation
flagged with an XXX) downloading that TSO-capable firmware to the
5703/5704 should, in principle, enable TSO support on all but the
original bcm5700 (I forget if the 5701 can support TSO, or not).

Note also that the ``hard case '' of IP/TCP headers spanning more than
one mbuf is not handled; I haven't been able to trigger it.  In any
case, since TSO applies only to packets generated by the local TCP,
and our TCP always leaves space for TCP headers and a normal IP
header, TSO on an IP/TCP header spanning multiple headers can only
arise due to insertion of IP options. I beleive that we are clearly
better off outlawing that case, and requiring ip_insertoptions()
to  pull-up TCP headers on any packets with M_CSUM_TSOv4 set.

As far as I know, bge hardwar does not support TSO for IPv6.
2005-11-24 03:27:59 +00:00
manu 2697809839 To awake all processes sleeping on a futex, set maximum value to 0x7fffffff
instead of -1 (0xffffffff): the value is signed...
2005-11-23 22:38:46 +00:00
manu c06b3dd8a8 Remove a debug printf 2005-11-23 22:23:30 +00:00
christos dcc61c764f Fix 64 bit truncation problem reported by http://www.securitylab.net 2005-11-23 22:00:32 +00:00
skrll 3b6e301485 Fix the handling of ENETRESET in iwi_ioctl.
This fixes PR 32143
2005-11-23 20:35:54 +00:00
skrll 0b25d36d6a Update for recent changes and after tweaking the command to generate
this:

	- use UTC
	- only list the changes to HEAD.
2005-11-23 20:29:08 +00:00
skrll d40d6be769 Correct a bpf tap. 2005-11-23 20:08:29 +00:00
riz 752c0a4023 Special-case the Linksys EG1032 cards using PCI subsystem ID; rev. 2 uses
the sk(4) driver, while rev. 3 needs re(4).

Mostly from brad@openbsd.
2005-11-23 18:56:22 +00:00
he b5d827cee2 Use of ``vflag'' should be protected by #ifndef SMALL. 2005-11-23 18:34:51 +00:00
manu 11edc2c441 I'm responsible for COMPAT_{IRIX|MACH|DARWIN|LINUX/amd64} 2005-11-23 18:11:16 +00:00
manu 23cf341ea0 - Add Linux tkill and tgkill (partial emulation).
- Fix getrlimit on amd64
2005-11-23 16:14:57 +00:00
ben 81789679db Conditionally include header files, and include nbcompat.h
Addresses PR#32149
2005-11-23 14:58:16 +00:00
nonaka 292989c8b6 In decr_intr(), update lasttb only when clock interrupt is not masked.
(sync with macppc/macppc/clock.c: rev.1.11 -> 1.12)
2005-11-23 13:00:51 +00:00
tron 173505f438 Remove unused variable "argc" in function apply_perms(). 2005-11-23 12:01:30 +00:00
tron 019491bca2 Make this compile if UHID_DEBUG is not defined. 2005-11-23 10:03:56 +00:00
yamt 11aa556068 fix a typo in a comment. 2005-11-23 09:43:37 +00:00
augustss 48164bddda If a mouse has both a wheel and a Z direction we report both.
XXX Due to tradition the wheel is reported as the Z direction (and the Z
direction as W).
Now Apple's Mighty Mouse is fully supported, except the X11 mouse driver
doesn't know what to do with the new coordinate.
2005-11-23 09:41:28 +00:00
augustss 5b71c2bf99 Some devices provide more than three (X, Y, and Z) "directions". So add
a W "coordinate" that can be used for these.
This changes the type of wsmouse_input().  To avoid changing a lot of drivers
a compatibilty #define is provided.  Maybe changing all drivers would have
been better?
2005-11-23 09:38:02 +00:00
augustss f0b7793c4b Look for a wheel before looking for a Z dir. This makes Apple's
Mightymouse work.
2005-11-23 09:04:20 +00:00
augustss 9aedcdc8a5 Document "flags 1" that forces the driver to attach with a high priority. 2005-11-23 08:56:08 +00:00
augustss cf1de1bda0 Normally a ugen device only attaches if no other driver wants the device.
Add the ability to force ugen to attach with very high priority if "flags 1"
is specified.  This can be used with the vendor and product locators to
force ugen to be used for certain devices.
Similarly, uhid only attaches if no other HID driver (ums or ukbd) wants it.
Again, "flags 1" will force uhid to attach anyway.
2005-11-23 08:54:47 +00:00
tsutsui 5fcffc47a7 Build small INSTALL kernel for bootstrap with the cobalt native bootloader. 2005-11-23 08:22:54 +00:00
tsutsui 38893d95db - use -mmemcpy (it saves ~12kbytes)
- fix ident
2005-11-23 08:20:45 +00:00
tsutsui 1fd2caa23d Add njs* at pci, which works fine on my O2. 2005-11-23 08:14:50 +00:00
ben ed4b2f6172 Reduce the use of the system() function in pkg_install to avoid quoting
problems.  Instead, use exec*() functions.

Replace PUSHOUT() macro and string buffers with a function that
operates on data structures.

If it is necessary to copy files into place from staging area, then use
pax to copy them.

Add functions in pexec.c to create a pipe for sending data to a child
process.  Replace pipe code in create/perform.c with these functions.
Use these functions instead of command-line arguments when copying files
into place from staging area.

Three system() references remain: @exec, @unexec, and vsystem().
2005-11-23 04:59:14 +00:00
dyoung 3d578b96da In adhoc mode, mark the "BSS" node's (ic->ic_bss) change of BSSID.
If the operator did not configure a "desired BSSID," then we simply
adopt the BSS node's new BSSID.  If the operator configured a
"desired BSSID," the new BSSID is (probably) not the desired one,
so start scanning for it.

Note that a change of BSSID will occur as two ad hoc networks merge.
2005-11-23 04:32:12 +00:00
dyoung 5e8176f5d5 In ieee80211_init_neighbor, delete unsupported rates from an adhoc
node.  It's the right thing to do, but it is of pressing importance
because SampleRate's ath_rate_ctl_reset() will convert an unsupported
rate to an invalid rate-index of 0xff, and pass the index to
ath_hal_computetxtime().  ath_hal_computetxtime() does not tolerate
an invalid index; the CPU traps a divide-by-zero fault in
ath_hal_computetxtime().
2005-11-23 04:24:00 +00:00