dragonfly.git
16 years agoHardware sensors framework originally developed in OpenBSD and ported to
Hasso Tepper [Tue, 2 Oct 2007 12:57:01 +0000 (12:57 +0000)]
Hardware sensors framework originally developed in OpenBSD and ported to
FreeBSD by Constantine A. Murenin <mureninc at gmail.com>.

Obtained-from: OpenBSD via FreeBSD GSoC 2007 project

16 years agoMake column a bit wider.
Sascha Wildner [Tue, 2 Oct 2007 11:39:45 +0000 (11:39 +0000)]
Make column a bit wider.

16 years ago* Reduce differences to FreeBSD.
Sascha Wildner [Tue, 2 Oct 2007 10:27:40 +0000 (10:27 +0000)]
* Reduce differences to FreeBSD.

* Adjust/expand tunables/sysctls descriptions for sephe's per CPU polling
  changes.

* Expand the HISTORY/AUTHORS sections a bit.

16 years agoSync zoneinfo database with tzdata2007h from elsie.
Sascha Wildner [Mon, 1 Oct 2007 15:34:04 +0000 (15:34 +0000)]
Sync zoneinfo database with tzdata2007h from elsie.

africa:         8.9  -> 8.10
asia:           8.11 -> 8.12
southamerica:   8.11 -> 8.12

From Paul Eggert's comments:

* Brazil will observe DST from 2007-10-14 00:00 to 2008-02-17 00:00.
  (Thanks to Steffen Thorsen for this.)

* Egypt switched earlier than we expected.  (Thanks to Dirk Losch
  and Jesper Norgaard Welen for this.)

* Likewise for Gaza.  (Thanks to Jesper Norgaard Welen for this.)

* Iran will resume DST next year.  (Thanks to Jesper Norgaard Welen
  for this.)

* Venezuela is currently planning to change time zones on January 1,
  to -04:30.  This seems to be a bit disorganized, but I suppose we
  can change the database later as needed.

16 years ago- Remove the second parameter of ether_input(), since:
Sepherosa Ziehau [Mon, 1 Oct 2007 12:56:36 +0000 (12:56 +0000)]
- Remove the second parameter of ether_input(), since:
  o  if the second argument is not NULL, ether_input() always fails.
  o  No one calls ether_input() with a non-NULL second argument.
- Nuke ether_input_internal(), after above change it is no longer necessary.

16 years ago- Move polling disablement, i.e. deregistering all NICs, out of hot code path.
Sepherosa Ziehau [Mon, 1 Oct 2007 11:18:44 +0000 (11:18 +0000)]
- Move polling disablement, i.e. deregistering all NICs, out of hot code path.
- When the last NIC is deregistered or polling is disabled, reset all interval
  state.
- Return immediately in netisr_poll/netisr_pollmore if no NIC is registered.
- Add assertion in netisr_poll/netisr_pollmore: it is not possible that polling
  is not enabled but there are registered NIC.
- Comment pollctx structure fields.

16 years agoMove poll_each_burst adjustment out of hot code path.
Sepherosa Ziehau [Mon, 1 Oct 2007 10:03:49 +0000 (10:03 +0000)]
Move poll_each_burst adjustment out of hot code path.

16 years ago- Move poll_burst_max adjustment out of hot code path.
Sepherosa Ziehau [Mon, 1 Oct 2007 09:37:30 +0000 (09:37 +0000)]
- Move poll_burst_max adjustment out of hot code path.
- Adjust poll_burst and residual_burst accordingly if poll_burst_max changes.

16 years ago- poll_burst and residual_burst are dynamicly adjusted by the running code,
Sepherosa Ziehau [Mon, 1 Oct 2007 09:03:28 +0000 (09:03 +0000)]
- poll_burst and residual_burst are dynamicly adjusted by the running code,
  so it does not make much sense to keep them RW.
- Adjust comment according to reality.

16 years agoMove reg_frac/reg_frac_count adjustment out of hot code path.
Sepherosa Ziehau [Mon, 1 Oct 2007 08:52:40 +0000 (08:52 +0000)]
Move reg_frac/reg_frac_count adjustment out of hot code path.

16 years agoBump WARNS to 6 and fix warnings.
Sascha Wildner [Mon, 1 Oct 2007 08:25:12 +0000 (08:25 +0000)]
Bump WARNS to 6 and fix warnings.

16 years agoRemove duplicate -Wall.
Sascha Wildner [Mon, 1 Oct 2007 08:12:43 +0000 (08:12 +0000)]
Remove duplicate -Wall.

16 years agoBump WARNS to 6.
Sascha Wildner [Mon, 1 Oct 2007 08:03:44 +0000 (08:03 +0000)]
Bump WARNS to 6.

16 years ago- Fix a bug introduced by dynamic polling frequency support:
Sepherosa Ziehau [Mon, 1 Oct 2007 07:31:45 +0000 (07:31 +0000)]
- Fix a bug introduced by dynamic polling frequency support:
  polling frequency is no longer 'hz' but 'pollhz'
- Nuke unnecessary header inclusion

16 years agoBump .Dd for r1.21.
Sascha Wildner [Mon, 1 Oct 2007 07:05:55 +0000 (07:05 +0000)]
Bump .Dd for r1.21.

16 years agoFix netstat(1) CIDR printing.
Sepherosa Ziehau [Sun, 30 Sep 2007 12:45:05 +0000 (12:45 +0000)]
Fix netstat(1) CIDR printing.

Submitted-by: Nuno Antunes <nuno.antunes@gmail.com>
16 years agoEnable Onoe TX rate control.
Sepherosa Ziehau [Sun, 30 Sep 2007 12:32:20 +0000 (12:32 +0000)]
Enable Onoe TX rate control.

16 years agoAdd some words about ADW_ALLOW_MEMIO.
Sascha Wildner [Sun, 30 Sep 2007 06:10:43 +0000 (06:10 +0000)]
Add some words about ADW_ALLOW_MEMIO.

16 years ago- Adjust comment according to the recent addition of multiple cpu
Sepherosa Ziehau [Sun, 30 Sep 2007 05:12:25 +0000 (05:12 +0000)]
- Adjust comment according to the recent addition of multiple cpu
  polling(4) support.
- Move comment to proper place.
- Nuke unused header inclusion.
- Shut up GCC4 signedness warning.

16 years agoAdd description for 'pollcpu'
Sepherosa Ziehau [Sun, 30 Sep 2007 04:47:07 +0000 (04:47 +0000)]
Add description for 'pollcpu'

16 years agoSupport polling(4) on multiple CPUs, i.e. each NIC can be assigned to a
Sepherosa Ziehau [Sun, 30 Sep 2007 04:37:27 +0000 (04:37 +0000)]
Support polling(4) on multiple CPUs, i.e. each NIC can be assigned to a
particular CPU that supports polling(4):
- Tunable kern.polling.cpumask controls which CPU can support polling(4).
- Sysctl nodes under kern.polling.X should be used to tune polling(4)
  parameters on CPU_X.
- 'pollcpu' is added to ifconfig(8), which can be used to assign an NIC
  to a particular CPU.

16 years agoSync with OpenBSD:
Sascha Wildner [Sat, 29 Sep 2007 23:11:10 +0000 (23:11 +0000)]
Sync with OpenBSD:

* Instead of calling out mkdir -p, reuse code from mkdir(1).

* Use calloc() to avoid malloc(n * m) overflows.

* Add detailed SYNOPSIS to the manual page, sort options and add
  missing arguments.

* Various cleanups.

16 years agoAdd some missing files.
Sascha Wildner [Sat, 29 Sep 2007 21:13:09 +0000 (21:13 +0000)]
Add some missing files.

16 years agoAdd some info about ACPI_QUIRK_VMWARE.
Sascha Wildner [Sat, 29 Sep 2007 19:38:46 +0000 (19:38 +0000)]
Add some info about ACPI_QUIRK_VMWARE.

16 years agoSmall mdoc cleanup.
Sascha Wildner [Sat, 29 Sep 2007 18:37:32 +0000 (18:37 +0000)]
Small mdoc cleanup.

16 years agoBump .Dd for r1.31.
Sascha Wildner [Sat, 29 Sep 2007 08:44:32 +0000 (08:44 +0000)]
Bump .Dd for r1.31.

16 years agoFix some URLs.
Sascha Wildner [Sat, 29 Sep 2007 08:33:47 +0000 (08:33 +0000)]
Fix some URLs.

16 years agoAdd a uuid for the "DragonFly HAMMER" filesystem type.
Matthew Dillon [Sat, 29 Sep 2007 03:20:40 +0000 (03:20 +0000)]
Add a uuid for the "DragonFly HAMMER" filesystem type.

16 years agoAdd an install location for the vkernel binary, add a second on how to
Matthew Dillon [Thu, 27 Sep 2007 20:54:14 +0000 (20:54 +0000)]
Add an install location for the vkernel binary, add a second on how to
set up the virtual kernel's rc.conf, and clean up the install example a
bit.

16 years agoAdd a note that dntpd can be started at boot time even if the network
Matthew Dillon [Thu, 27 Sep 2007 19:51:42 +0000 (19:51 +0000)]
Add a note that dntpd can be started at boot time even if the network
is not yet operational.

16 years agoInterrupt thread preemption was switching in threads with held tokens
Matthew Dillon [Thu, 27 Sep 2007 18:27:54 +0000 (18:27 +0000)]
Interrupt thread preemption was switching in threads with held tokens
without acquiring the tokens.  Just don't preempt if the target thread
is holding a token.

This fixes a token-related panic when using the NDIS driver.  NDIS
is the only driver which uses tokens in its interrupt handler.

16 years agoalist debug mode - report unrounded byte usage.
Matthew Dillon [Thu, 27 Sep 2007 18:20:20 +0000 (18:20 +0000)]
alist debug mode - report unrounded byte usage.

16 years agoFix a bootstrapping issue with the change of the default gcc to 4.1.
Matthew Dillon [Wed, 26 Sep 2007 22:14:17 +0000 (22:14 +0000)]
Fix a bootstrapping issue with the change of the default gcc to 4.1.
If the host does not have gcc-4.1 installed use gcc-3.4 for HOST_CCVER
(that is, the compiler used in the bootstrap portion of the build).

16 years agoAdd documentation for AHC_DEBUG, AHC_DEBUG_OPTS and AHC_REG_PRETTY_PRINT.
Sascha Wildner [Wed, 26 Sep 2007 21:01:16 +0000 (21:01 +0000)]
Add documentation for AHC_DEBUG, AHC_DEBUG_OPTS and AHC_REG_PRETTY_PRINT.
Modeled after ahd(4).

16 years agoSynchronize AHD_DEBUG_OPTS values with the header file (commented out
Sascha Wildner [Wed, 26 Sep 2007 20:59:44 +0000 (20:59 +0000)]
Synchronize AHD_DEBUG_OPTS values with the header file (commented out
for those I don't know a description for).

16 years agoOops, forgot sys/module.h.
Sascha Wildner [Wed, 26 Sep 2007 19:18:30 +0000 (19:18 +0000)]
Oops, forgot sys/module.h.

16 years agoReduce differences to FreeBSD.
Sascha Wildner [Wed, 26 Sep 2007 18:56:26 +0000 (18:56 +0000)]
Reduce differences to FreeBSD.

16 years agoExtend SYNOPSIS for ALTQ_NOPCC and ALTQ_DEBUG.
Sascha Wildner [Wed, 26 Sep 2007 18:13:14 +0000 (18:13 +0000)]
Extend SYNOPSIS for ALTQ_NOPCC and ALTQ_DEBUG.

16 years agoSync with FreeBSD.
Peter Avalos [Tue, 25 Sep 2007 04:53:48 +0000 (04:53 +0000)]
Sync with FreeBSD.

Add endianness support and fixate the hash bucket size to 4K.

16 years agoOops, forgot to add this to the FreeBSD sync.
Peter Avalos [Mon, 24 Sep 2007 21:39:28 +0000 (21:39 +0000)]
Oops, forgot to add this to the FreeBSD sync.

16 years agoSync calendars with FreeBSD.
Peter Avalos [Mon, 24 Sep 2007 21:38:18 +0000 (21:38 +0000)]
Sync calendars with FreeBSD.

16 years agostatic some functions.
Peter Avalos [Mon, 24 Sep 2007 20:49:09 +0000 (20:49 +0000)]
static some functions.

16 years agoSync with FreeBSD:
Peter Avalos [Mon, 24 Sep 2007 20:31:44 +0000 (20:31 +0000)]
Sync with FreeBSD:

Sort events by date.

Fix off-by-one error in -W option.

Shorten some long lines.

Fix various bugs in the -A and -B options.

Remove break after return.

Fix -t option processing.  Partially initialized tm structure was passed
into mktime(3).

Obtained-from: FreeBSD

16 years agoSync with FreeBSD.
Peter Avalos [Mon, 24 Sep 2007 18:57:47 +0000 (18:57 +0000)]
Sync with FreeBSD.

16 years agoFix warning.
Hasso Tepper [Mon, 24 Sep 2007 06:16:19 +0000 (06:16 +0000)]
Fix warning.

16 years agocleanup the duplicated $DragonFly$ cvs id, my bad
Yonghong Yan [Mon, 24 Sep 2007 03:24:45 +0000 (03:24 +0000)]
cleanup the duplicated $DragonFly$ cvs id, my bad

16 years agoFix read-only build of cc41.
YONETANI Tomokazu [Mon, 24 Sep 2007 03:04:28 +0000 (03:04 +0000)]
Fix read-only build of cc41.
Move mktooldir target into cc_tools/Makefile.tools, and make beforedepend
depend on it, if ${TOOLGENDIR} doesn't exist yet.  This way, the `depend'
targets in the subdirectories that includes Makefile.tools are guaranteed
to be run after mktooldir.

16 years agoUpdate for libarchive 2.3.2 import.
Peter Avalos [Mon, 24 Sep 2007 02:43:45 +0000 (02:43 +0000)]
Update for libarchive 2.3.2 import.

16 years agoMerge from vendor branch LIBARCHIVE:
Peter Avalos [Mon, 24 Sep 2007 02:40:39 +0000 (02:40 +0000)]
Merge from vendor branch LIBARCHIVE:
Import libarchive-2.3.2.

16 years agoImport libarchive-2.3.2.
Peter Avalos [Mon, 24 Sep 2007 02:40:39 +0000 (02:40 +0000)]
Import libarchive-2.3.2.

16 years agoAdd support for newer ICH SMBus controllers. Also corrected ICH4 entry in
Hasso Tepper [Sun, 23 Sep 2007 22:06:10 +0000 (22:06 +0000)]
Add support for newer ICH SMBus controllers. Also corrected ICH4 entry in
progress (82801DC -> 82801DB).

16 years agoRemove terminating semicolons from SYSCTL_ADD_* macros. This will allow to
Hasso Tepper [Sun, 23 Sep 2007 13:38:07 +0000 (13:38 +0000)]
Remove terminating semicolons from SYSCTL_ADD_* macros. This will allow to
use them in constructs like foo(SYSCTL_ADD_NODE()).

16 years agoFix typo.
Hasso Tepper [Sun, 23 Sep 2007 10:45:47 +0000 (10:45 +0000)]
Fix typo.

16 years agoA simple README.amd64 and AMD64_GENERIC kernel config file
Yonghong Yan [Sun, 23 Sep 2007 04:44:41 +0000 (04:44 +0000)]
A simple README.amd64 and AMD64_GENERIC kernel config file

16 years agoMore headers for pc64 platform kernel build/linking
Yonghong Yan [Sun, 23 Sep 2007 04:42:07 +0000 (04:42 +0000)]
More headers for pc64 platform kernel build/linking

16 years agomore header changes for amd64 port; the pc64 building infrastructure
Yonghong Yan [Sun, 23 Sep 2007 04:29:31 +0000 (04:29 +0000)]
more header changes for amd64 port; the pc64 building infrastructure
and dummy sources as the initial skelecton.

16 years agoprepare the amd64 kernel build, ext2_bitops.h merged in from FreeBSD
Yonghong Yan [Sun, 23 Sep 2007 04:09:55 +0000 (04:09 +0000)]
prepare the amd64 kernel build, ext2_bitops.h merged in from FreeBSD

16 years agoSync with FreeBSD.
Peter Avalos [Sat, 22 Sep 2007 21:26:24 +0000 (21:26 +0000)]
Sync with FreeBSD.

Fix off-by-one error and sync SYNOPSIS.

16 years agoSync with FreeBSD.
Peter Avalos [Sat, 22 Sep 2007 21:13:47 +0000 (21:13 +0000)]
Sync with FreeBSD.

16 years agoSync with FreeBSD.
Peter Avalos [Sat, 22 Sep 2007 20:50:26 +0000 (20:50 +0000)]
Sync with FreeBSD.

Fix markup, sort sections, add EXIT STATUS.

16 years agoSync with FreeBSD:
Peter Avalos [Sat, 22 Sep 2007 20:40:06 +0000 (20:40 +0000)]
Sync with FreeBSD:

Sync program's usage() with manpage's SYNOPSIS.

Make brandelf(1)'s -t "ABI format" case insensitive, as the ABI value
given is looked up in a table and no longer stored literally in the
header.

Fix typo in the BSD copyright: s/withough/without/

Sort includes.

Obtained-from: FreeBSD

16 years agoUse NULL instead of 0 for the return value of fopen().
Peter Avalos [Sat, 22 Sep 2007 20:22:51 +0000 (20:22 +0000)]
Use NULL instead of 0 for the return value of fopen().

Obtained-from: FreeBSD

16 years agostyle(9) nit.
Sascha Wildner [Fri, 21 Sep 2007 09:07:03 +0000 (09:07 +0000)]
style(9) nit.

16 years agoMerge rev 1.26 from FreeBSD:
YONETANI Tomokazu [Fri, 21 Sep 2007 02:28:00 +0000 (02:28 +0000)]
Merge rev 1.26 from FreeBSD:
  Add debug.rman_debug sysctl MIB and loader tunable instead of broken
  RMAN_DEBUG option.
  This would be useful for debugging resource manager code.

16 years agoRemove unneeded #include.
Sascha Wildner [Thu, 20 Sep 2007 17:54:27 +0000 (17:54 +0000)]
Remove unneeded #include.

16 years agoUnconstify members of the lconv structure to make it conform to the C89 and
Hasso Tepper [Thu, 20 Sep 2007 07:40:51 +0000 (07:40 +0000)]
Unconstify members of the lconv structure to make it conform to the C89 and
C99 standards. Note that documentation doesn't need a correction, it's
already correct.

16 years agoAdd bwi(4) entry.
Sascha Wildner [Wed, 19 Sep 2007 15:01:54 +0000 (15:01 +0000)]
Add bwi(4) entry.

16 years agoRemove duplicates.
Hasso Tepper [Wed, 19 Sep 2007 13:54:28 +0000 (13:54 +0000)]
Remove duplicates.

16 years agoMove HARDWARE after DESCRIPTION.
Sascha Wildner [Tue, 18 Sep 2007 08:54:10 +0000 (08:54 +0000)]
Move HARDWARE after DESCRIPTION.

16 years agoModulize bwi(4) debug prints. Leave ATTACH/INIT/TXPOWER on by default.
Sepherosa Ziehau [Mon, 17 Sep 2007 12:13:24 +0000 (12:13 +0000)]
Modulize bwi(4) debug prints.  Leave ATTACH/INIT/TXPOWER on by default.

16 years agoAdd support for Vitesse VSC8601 and Realtek 8211B PHYs. Patches are obtained
Hasso Tepper [Mon, 17 Sep 2007 11:29:36 +0000 (11:29 +0000)]
Add support for Vitesse VSC8601 and Realtek 8211B PHYs. Patches are obtained
from http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html
with little modifications. Vitesse VSC8601 support patch is originally made
by Aji Tanaka and Realtek 8211B patch by Michael Eisele.

Approved-by: sephe@
16 years agoAdd info about Vitesse Semiconductor Corporation VSC8601 PHY and Realtek
Hasso Tepper [Mon, 17 Sep 2007 11:13:55 +0000 (11:13 +0000)]
Add info about Vitesse Semiconductor Corporation VSC8601 PHY and Realtek
8211B PHY.

Approved-by: sephe@
16 years agoAdd many devices to the uftdi(4). Sources of the info are mainly Linux and
Hasso Tepper [Mon, 17 Sep 2007 10:31:07 +0000 (10:31 +0000)]
Add many devices to the uftdi(4). Sources of the info are mainly Linux and
Windows drivers.

16 years agouftdi(4) related usbdevs work:
Hasso Tepper [Mon, 17 Sep 2007 10:24:37 +0000 (10:24 +0000)]
uftdi(4) related usbdevs work:

 - Shorten BBELECTRONICS -> BBELECTR.
 - SIIG2 -> OCT. According to various sources (including Linux driver) SIIG
   rebrands some Omnidirectional Control Technology products.
 - Cleanup/sort the list of products using FTDI vendor ID.
 - Add many new uftdi(4) related product ID's. Info mainly from Linux
   driver and various Windows drivers.

16 years agoAdd a reference to wpa_supplicant(8) to the manual pages of all drivers
Sascha Wildner [Sun, 16 Sep 2007 19:06:26 +0000 (19:06 +0000)]
Add a reference to wpa_supplicant(8) to the manual pages of all drivers
supporting it.

16 years agoAdd reference to SEE ALSO as well.
Sascha Wildner [Sun, 16 Sep 2007 18:55:16 +0000 (18:55 +0000)]
Add reference to SEE ALSO as well.

16 years agoAdd reference to bwi(4).
Sascha Wildner [Sun, 16 Sep 2007 18:52:17 +0000 (18:52 +0000)]
Add reference to bwi(4).

16 years agoAdd a manual page for the new bwi(4) driver (Broadcom BCM430x/4318
Sascha Wildner [Sun, 16 Sep 2007 18:26:18 +0000 (18:26 +0000)]
Add a manual page for the new bwi(4) driver (Broadcom BCM430x/4318
wireless cards).

In-discussion-with: sephe

16 years agoMake functions static and use M_ZERO instead of a separate bzero.
Peter Avalos [Sun, 16 Sep 2007 17:02:49 +0000 (17:02 +0000)]
Make functions static and use M_ZERO instead of a separate bzero.

16 years agoCreate per-interface sysctl tree.
Sepherosa Ziehau [Sun, 16 Sep 2007 11:53:36 +0000 (11:53 +0000)]
Create per-interface sysctl tree.

16 years ago- Pass mgt packet's node into bwi_encap(), so fallback duration can be
Sepherosa Ziehau [Sun, 16 Sep 2007 11:31:20 +0000 (11:31 +0000)]
- Pass mgt packet's node into bwi_encap(), so fallback duration can be
  calculate.
- Don't involve multicast packets into TX rate control.

16 years ago- Use RF/PHY information printing format to print BBP information.
Sepherosa Ziehau [Sun, 16 Sep 2007 10:20:15 +0000 (10:20 +0000)]
- Use RF/PHY information printing format to print BBP information.
- Print MAC information, instead of mixing it in the regwin information.

16 years agoFor bwi(4) parts that use TX status registers:
Sepherosa Ziehau [Sun, 16 Sep 2007 09:58:27 +0000 (09:58 +0000)]
For bwi(4) parts that use TX status registers:
- Update TXSTATUS0 register's layout according to v4 specification.
- Extract frame's TX count and whether the frame has been acknowledged.
- If the TX status indicates that the frame is pending or is AMPDU(?),
  don't do any further processing (pending probably will not happen in
  the current TX model).

16 years agoFor bwi(4) parts that use TX status ring:
Sepherosa Ziehau [Sun, 16 Sep 2007 08:25:41 +0000 (08:25 +0000)]
For bwi(4) parts that use TX status ring:
- Extract frame's TX count and whether the frame has been acknowledged.
- If the TX status indicates that the frame is pending, don't do any further
  processing (this probably will not happen in the current TX model).

16 years ago- Add radio tap support
Sepherosa Ziehau [Sun, 16 Sep 2007 04:24:30 +0000 (04:24 +0000)]
- Add radio tap support
- Fix macro name; OFDM PLCP header uses 'rate' instead of 'signal'
- Fix comment
- Add error message, if interrupt setup fails

16 years agoAllow selection of the affected terminal using redirection
Peter Avalos [Sun, 16 Sep 2007 00:59:59 +0000 (00:59 +0000)]
Allow selection of the affected terminal using redirection
of standard input or standard output.

Obtained-from: FreeBSD

16 years agoMarkup fixes.
Peter Avalos [Sun, 16 Sep 2007 00:59:13 +0000 (00:59 +0000)]
Markup fixes.

Obtained-from: FreeBSD

16 years agoif_ioctl takes a pointer to struct ucred.
Sascha Wildner [Sat, 15 Sep 2007 23:52:49 +0000 (23:52 +0000)]
if_ioctl takes a pointer to struct ucred.

While I'm here change the argument 'command' to 'cmd' for consistency.

16 years agoFix 'type qualifiers ignored on function return type' warnings.
Sascha Wildner [Sat, 15 Sep 2007 21:28:15 +0000 (21:28 +0000)]
Fix 'type qualifiers ignored on function return type' warnings.

16 years agoFix 'value computed is not used' warnings.
Sascha Wildner [Sat, 15 Sep 2007 21:24:59 +0000 (21:24 +0000)]
Fix 'value computed is not used' warnings.

16 years agoFix some kprintf format warnings.
Sascha Wildner [Sat, 15 Sep 2007 20:06:39 +0000 (20:06 +0000)]
Fix some kprintf format warnings.

16 years agoAdd missing space.
Sascha Wildner [Sat, 15 Sep 2007 18:21:12 +0000 (18:21 +0000)]
Add missing space.

16 years agoSilence gcc 4.1's "packed attribute ignored..." warnings.
Sascha Wildner [Sat, 15 Sep 2007 13:18:40 +0000 (13:18 +0000)]
Silence gcc 4.1's "packed attribute ignored..." warnings.

No differences in object files.

Taken-from: FreeBSD

16 years agoMake sure that the received frame contains at least an extra header,
Sepherosa Ziehau [Sat, 15 Sep 2007 10:53:31 +0000 (10:53 +0000)]
Make sure that the received frame contains at least an extra header,
a smallest frame (ACK or CTS) and FCS.

16 years agoConvert RSSI into signal strength (relative to noise floor)
Sepherosa Ziehau [Sat, 15 Sep 2007 09:59:29 +0000 (09:59 +0000)]
Convert RSSI into signal strength (relative to noise floor)

16 years agoBring in some miscellaneous changes from OpenBSD and point to an
Sascha Wildner [Sat, 15 Sep 2007 09:58:06 +0000 (09:58 +0000)]
Bring in some miscellaneous changes from OpenBSD and point to an
archive provided by sephe for the firmware files.

16 years agoShut up GCC41 warning: different pointer signedness
Sepherosa Ziehau [Sat, 15 Sep 2007 07:19:23 +0000 (07:19 +0000)]
Shut up GCC41 warning: different pointer signedness

16 years agoBug found by GCC41 warning:
Sepherosa Ziehau [Sat, 15 Sep 2007 07:12:03 +0000 (07:12 +0000)]
Bug found by GCC41 warning:
Wrong __packed position, we want to pack the anonymous structure not the field.

16 years agoFix typos, mostly effect -> affect.
Sascha Wildner [Fri, 14 Sep 2007 23:47:53 +0000 (23:47 +0000)]
Fix typos, mostly effect -> affect.

16 years agoFix typo.
Sascha Wildner [Fri, 14 Sep 2007 23:22:38 +0000 (23:22 +0000)]
Fix typo.