dragonfly.git
13 years agoBIND: entirely purge BIND and related stuff from base
Jan Lentfer [Mon, 8 Mar 2010 10:17:32 +0000 (11:17 +0100)]
BIND: entirely purge BIND and related stuff from base

13 years agoBIND: remove bind/ from contrib.
Jan Lentfer [Sat, 6 Mar 2010 19:15:27 +0000 (20:15 +0100)]
BIND: remove bind/ from contrib.

First step to entirely get rid of BIND.

13 years agoiostat - add read/write details to output
Jan Lentfer [Wed, 5 May 2010 20:17:40 +0000 (22:17 +0200)]
iostat - add read/write details to output

This adds option "-D" that will output read/write
details to the output as described in the manpage.
This is based on Matt Dillon's addition to systat.

13 years agonrelease - try to workaround a problem with ./bootstrap v2.7.3
Matthew Dillon [Fri, 30 Apr 2010 18:10:06 +0000 (11:10 -0700)]
nrelease - try to workaround a problem with ./bootstrap

* setenv share_dir during the bootstrap build to try to work around a
  problem where recent changes in the build cause bmake to try to access
  the system mk files in /usr/share/mk.

13 years agokernel - Try to fix NULL pointer issue in syncache_timer_handler()
Matthew Dillon [Fri, 30 Apr 2010 18:08:14 +0000 (11:08 -0700)]
kernel - Try to fix NULL pointer issue in syncache_timer_handler()

* There seems to be a case where a tcpcb's inp can be NULL when accessed
  from syncache_timer_handler().  Try to handle it.

13 years agokernel - Disallow dsioctl when no media is present
Matthew Dillon [Fri, 30 Apr 2010 18:06:56 +0000 (11:06 -0700)]
kernel - Disallow dsioctl when no media is present

* Attempt to fix a panic which can occur when attempts are made to
  call ioctl() via a slice/partition on removable drives with no media.

13 years agoRemove references to VAX and MIPS from ddb(4).
Venkatesh Srinivas [Fri, 30 Apr 2010 06:58:29 +0000 (23:58 -0700)]
Remove references to VAX and MIPS from ddb(4).

13 years agokernel - mmap offset is invalid for MAP_ANON
Samuel J. Greear [Fri, 30 Apr 2010 04:30:05 +0000 (22:30 -0600)]
kernel - mmap offset is invalid for MAP_ANON

Submitted-by: Venkatesh Srinivas
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1723>

13 years agobpf(4): Fix the division by zero check in bpf_validate().
Sascha Wildner [Fri, 30 Apr 2010 10:03:52 +0000 (12:03 +0200)]
bpf(4): Fix the division by zero check in bpf_validate().

BPF_RVAL() was being used where BPF_SRC() would have been correct.

Reported-by: Guy Harris <guy@alum.mit.edu>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1748>

13 years agokernel - Fix resident_count problems with kernel_pmap & related crashes
Matthew Dillon [Fri, 30 Apr 2010 02:48:58 +0000 (19:48 -0700)]
kernel - Fix resident_count problems with kernel_pmap & related crashes

* kernel_pmap.pm_stats.resident_count could get out of sync due to the
  lwbuf code calling kmem_free() on KVM with pages that were entered
  via pmap_kenter().  Delete the pages before calling kmem_free().

  This in turn caused various failures and kernel panics due to conditionals
  based on resident_count == 0.  Heavy sendfile() activity could trigger
  the bug but it was taking a few days for the resident_count to decrement
  to zero.

* Fix a similar issue in zdestroy() on ZONE_INTERRUPT zones.  Nothing calls
  this routine so it was not a vector for crashes.

* Document the case.

13 years agoieee80211.9: Fix typo.
Sascha Wildner [Thu, 29 Apr 2010 22:45:54 +0000 (00:45 +0200)]
ieee80211.9: Fix typo.

13 years agoieee80211.9: Remove some references to manual pages which don't exist.
Sascha Wildner [Thu, 29 Apr 2010 20:35:01 +0000 (22:35 +0200)]
ieee80211.9: Remove some references to manual pages which don't exist.

13 years agoath.4: We don't have a pcic.4 manual page.
Sascha Wildner [Thu, 29 Apr 2010 20:34:24 +0000 (22:34 +0200)]
ath.4: We don't have a pcic.4 manual page.

13 years agoieee80211_proto.9: Fix typo in function name.
Sascha Wildner [Thu, 29 Apr 2010 20:33:01 +0000 (22:33 +0200)]
ieee80211_proto.9: Fix typo in function name.

13 years agoieee80211_scan.9: Fix typo in function name.
Sascha Wildner [Thu, 29 Apr 2010 20:29:27 +0000 (22:29 +0200)]
ieee80211_scan.9: Fix typo in function name.

13 years agoAdd a regdomain.5 manual page (from FreeBSD).
Sascha Wildner [Thu, 29 Apr 2010 20:18:05 +0000 (22:18 +0200)]
Add a regdomain.5 manual page (from FreeBSD).

13 years agoComment out a reference to iwi(4) for now until it is ported.
Sascha Wildner [Thu, 29 Apr 2010 20:09:16 +0000 (22:09 +0200)]
Comment out a reference to iwi(4) for now until it is ported.

13 years agoieee80211_{ddb,radiotap}.9: Remove some unneeded .Pp's.
Sascha Wildner [Thu, 29 Apr 2010 19:58:56 +0000 (21:58 +0200)]
ieee80211_{ddb,radiotap}.9: Remove some unneeded .Pp's.

13 years agoDisable ieee80211_amrr.9 for now.
Sascha Wildner [Thu, 29 Apr 2010 19:58:07 +0000 (21:58 +0200)]
Disable ieee80211_amrr.9 for now.

This was replaced by the new ratectl code.

13 years agomptutil(8): Misc. cleanup
Sascha Wildner [Wed, 28 Apr 2010 23:23:14 +0000 (01:23 +0200)]
mptutil(8): Misc. cleanup

* Raise WARNS to 6

* Move CVS IDs to the comments

* Bump date in the manual page

13 years agoips - Make use of new dumping scheme
YONETANI Tomokazu [Wed, 28 Apr 2010 15:57:05 +0000 (00:57 +0900)]
ips - Make use of new dumping scheme

13 years agoips - The comment no longer applies as b_blkno has been yanked off years ago.
YONETANI Tomokazu [Wed, 28 Apr 2010 15:57:04 +0000 (00:57 +0900)]
ips - The comment no longer applies as b_blkno has been yanked off years ago.

13 years agomkioctls: Miscellaneous cleanup.
Sascha Wildner [Wed, 28 Apr 2010 22:48:56 +0000 (00:48 +0200)]
mkioctls: Miscellaneous cleanup.

* Add a proper '#!/bin/sh' since this is a shell script.

* Clean up the list of excluded /usr/include/* softlinks.

* Remove unneeded #include's.

* Remove some empty lines.

13 years agomake upgrade: ieee80211_free_node() still exists.
Sascha Wildner [Wed, 28 Apr 2010 13:41:09 +0000 (15:41 +0200)]
make upgrade: ieee80211_free_node() still exists.

13 years agoieee80211*.9: Fix include paths.
Sascha Wildner [Wed, 28 Apr 2010 12:53:11 +0000 (14:53 +0200)]
ieee80211*.9: Fix include paths.

13 years agoieee80211_node.9: Fix section number.
Sascha Wildner [Wed, 28 Apr 2010 12:50:33 +0000 (14:50 +0200)]
ieee80211_node.9: Fix section number.

13 years agoieee80211_{amrr,vap}.9: Fix typos in .Dt
Sascha Wildner [Wed, 28 Apr 2010 12:49:13 +0000 (14:49 +0200)]
ieee80211_{amrr,vap}.9: Fix typos in .Dt

13 years agoieee80211.9: Adjust .Dt
Sascha Wildner [Wed, 28 Apr 2010 12:48:15 +0000 (14:48 +0200)]
ieee80211.9: Adjust .Dt

13 years agoSync our ieee80211*(9) manual pages with FreeBSD.
Sascha Wildner [Wed, 28 Apr 2010 12:47:13 +0000 (14:47 +0200)]
Sync our ieee80211*(9) manual pages with FreeBSD.

13 years agofixup errors for mkdir & rmdir '/' - EEXIST & EACCES, respectively
b86 [Wed, 28 Apr 2010 06:35:56 +0000 (01:35 -0500)]
fixup errors for mkdir & rmdir '/' - EEXIST & EACCES, respectively

13 years agoSync ath.4 and ath_hal.4 manual pages with FreeBSD.
Sascha Wildner [Tue, 27 Apr 2010 20:16:17 +0000 (22:16 +0200)]
Sync ath.4 and ath_hal.4 manual pages with FreeBSD.

13 years agoYet another round of typo fixes in manpages and messages.
Sascha Wildner [Tue, 27 Apr 2010 20:04:53 +0000 (22:04 +0200)]
Yet another round of typo fixes in manpages and messages.

13 years agoral.4/firmware.9: Fix some mdoc issues in two manual pages.
Sascha Wildner [Tue, 27 Apr 2010 19:49:59 +0000 (21:49 +0200)]
ral.4/firmware.9: Fix some mdoc issues in two manual pages.

13 years agoRemove ieee80211_ioctl.9 from Makefile, too
Alex Hornung [Tue, 27 Apr 2010 06:29:52 +0000 (06:29 +0000)]
Remove ieee80211_ioctl.9 from Makefile, too

Reported-by: Dylan Reinhold
13 years agoRemove ieee80211_ioctl.9 manual page and MLINKS.
Sascha Wildner [Tue, 27 Apr 2010 00:37:37 +0000 (02:37 +0200)]
Remove ieee80211_ioctl.9 manual page and MLINKS.

13 years agoBring in FreeBSD's tools/tools/{ath,net80211}.
Sascha Wildner [Mon, 26 Apr 2010 17:25:37 +0000 (19:25 +0200)]
Bring in FreeBSD's tools/tools/{ath,net80211}.

13 years agoMove wlandebug(8) to usr.sbin (like FreeBSD) and sync.
Sascha Wildner [Mon, 26 Apr 2010 16:37:33 +0000 (18:37 +0200)]
Move wlandebug(8) to usr.sbin (like FreeBSD) and sync.

13 years agoral.4: Sync with FreeBSD.
Sascha Wildner [Mon, 26 Apr 2010 16:26:56 +0000 (18:26 +0200)]
ral.4: Sync with FreeBSD.

13 years agokernel - make sysent update
Matthew Dillon [Mon, 26 Apr 2010 16:04:21 +0000 (09:04 -0700)]
kernel - make sysent update

* Update for changes in the extattr family of system calls.

13 years agokernel - Update extattr infrastructure
Matthew Dillon [Mon, 26 Apr 2010 16:03:04 +0000 (09:03 -0700)]
kernel - Update extattr infrastructure

* Update the extattr infrastructure to match FreeBSD.  Numerous arguments
  have changed in the system calls and created an issue with libarchive.

13 years agodiskless: Miscellaneous fixes.
Sascha Wildner [Mon, 26 Apr 2010 10:11:12 +0000 (12:11 +0200)]
diskless: Miscellaneous fixes.

* Increase the space reserved for /etc whose size has grown considerably
  due to the blacklists in /etc/ssh.

* Remove the check for devfs which has been around long enough.

* Use tmpfs instead of mfs.

* Pass whatever is in md_size (e.g. 10M) directly to mount_tmpfs. For
  backwards compatibility, treat number-only values as sectors (i.e.,
  multiply by 512 and pass that to mount_tmpfs).

Submitted-by: Rumko <rumcic@gmail.com>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1732>

13 years agoWrong variable used.
Rumko [Wed, 14 Apr 2010 21:09:48 +0000 (21:09 +0000)]
Wrong variable used.

13 years agodsched.h - don't provide _KERNEL_STRUCTURES stuff
Alex Hornung [Mon, 26 Apr 2010 08:27:22 +0000 (08:27 +0000)]
dsched.h - don't provide _KERNEL_STRUCTURES stuff

* Don't provide anything for _KERNEL_STRUCTURES, since that would
  require sysctl.h to export the sysctl_ctx_list for _KERNEL_STRUCTURES,
  too.

Reported-by: luxh, Siju George
13 years agoReally exclude the ndis(4) manual page from the build for now.
Sascha Wildner [Mon, 26 Apr 2010 06:03:50 +0000 (08:03 +0200)]
Really exclude the ndis(4) manual page from the build for now.

13 years agokern/subr_firmware.c: Oops, forgot a {
Sascha Wildner [Sun, 25 Apr 2010 23:54:22 +0000 (01:54 +0200)]
kern/subr_firmware.c: Oops, forgot a {

13 years agofirmware(9): Check for securelevel > 0 instead of PRIV_ROOT.
Sascha Wildner [Sun, 25 Apr 2010 22:19:26 +0000 (00:19 +0200)]
firmware(9): Check for securelevel > 0 instead of PRIV_ROOT.

The patch is modeled after FreeBSD and fixes a panic when loading a
firmware image.

Submitted-by: Johannes Hofmann <johannes.hofmann@gmx.de>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1735>

13 years agodsched - Support policy switching via sysctl
Alex Hornung [Sun, 25 Apr 2010 21:21:24 +0000 (21:21 +0000)]
dsched - Support policy switching via sysctl

* Add the sysctl dsched.policy tree to show the current policy of disks
  / serial numbers of disks and allow for switching to another available
  policy.

Requested-by: Sascha Wildner
13 years agoMove dsched to sys/kern/.
Sascha Wildner [Sun, 25 Apr 2010 14:30:58 +0000 (16:30 +0200)]
Move dsched to sys/kern/.

13 years agoRemove firmware(9) from LINT, too.
Sascha Wildner [Sun, 25 Apr 2010 12:53:16 +0000 (14:53 +0200)]
Remove firmware(9) from LINT, too.

13 years agoMake firmware(9) standard again instead of optional.
Sascha Wildner [Sun, 25 Apr 2010 12:50:29 +0000 (14:50 +0200)]
Make firmware(9) standard again instead of optional.

ral(4), which is in GENERIC, uses it and we don't want all people with
GENERIC-derived systems to have to add 'device firmware' to their
configs.

13 years agoifconfig(8): Raise WARNS to 2 and fix the resulting warnings.
Sascha Wildner [Sun, 25 Apr 2010 12:00:35 +0000 (14:00 +0200)]
ifconfig(8): Raise WARNS to 2 and fix the resulting warnings.

13 years agofirmware(9): GC our old firmware framework in favor of the one from FreeBSD.
Sascha Wildner [Sun, 25 Apr 2010 11:23:15 +0000 (13:23 +0200)]
firmware(9): GC our old firmware framework in favor of the one from FreeBSD.

* Move the helper module to kern/firmware and name it firmware.ko. Also
  make it buildable into the kernel. Add it to GENERIC.

* Adjust mxge(4) to use the new framework, too. Therefore, bring in firmware
  modules from FreeBSD.

* Update the firmware(9) manual page.

* Bring in other missing bits and pieces (share/examples/kld/firmware).

* Adjust 'make upgrade'.

13 years agoRemove /usr/include/kadm5 and sort etc/mtree/BSD.include.dist.
Sascha Wildner [Sat, 24 Apr 2010 23:43:22 +0000 (01:43 +0200)]
Remove /usr/include/kadm5 and sort etc/mtree/BSD.include.dist.

13 years agoSync the wlan*(4) manual pages with FreeBSD for the 802.11 update.
Sascha Wildner [Sat, 24 Apr 2010 20:55:20 +0000 (22:55 +0200)]
Sync the wlan*(4) manual pages with FreeBSD for the 802.11 update.

13 years agoAdjust a bit more for the 802.11 upgrade.
Sascha Wildner [Sat, 24 Apr 2010 14:11:31 +0000 (16:11 +0200)]
Adjust a bit more for the 802.11 upgrade.

13 years agomptutil.8: Remove trailing whitespace.
Sascha Wildner [Sat, 24 Apr 2010 14:07:35 +0000 (16:07 +0200)]
mptutil.8: Remove trailing whitespace.

13 years agomount_nfs.8: Write "RFC xxxx" instead of "RFCxxxx".
Sascha Wildner [Sat, 24 Apr 2010 14:07:09 +0000 (16:07 +0200)]
mount_nfs.8: Write "RFC xxxx" instead of "RFCxxxx".

13 years agopthread.3: Add missing section.
Sascha Wildner [Sat, 24 Apr 2010 14:06:21 +0000 (16:06 +0200)]
pthread.3: Add missing section.

13 years agoAdjust manual page installation for the 802.11 upgrade.
Sascha Wildner [Sat, 24 Apr 2010 13:17:39 +0000 (15:17 +0200)]
Adjust manual page installation for the 802.11 upgrade.

13 years agoevtr: ktrfmt.tab.h is not supposed to be installed to /usr/include.
Sascha Wildner [Sat, 24 Apr 2010 10:32:21 +0000 (12:32 +0200)]
evtr: ktrfmt.tab.h is not supposed to be installed to /usr/include.

13 years agomanpages: Fix some mdoc issues and remove trailing whitespace.
Sascha Wildner [Sat, 24 Apr 2010 01:47:23 +0000 (03:47 +0200)]
manpages: Fix some mdoc issues and remove trailing whitespace.

13 years agoxstr(1): Sync with FreeBSD.
Sascha Wildner [Sat, 24 Apr 2010 01:45:23 +0000 (03:45 +0200)]
xstr(1): Sync with FreeBSD.

13 years agodsched - serno support
Alex Hornung [Fri, 23 Apr 2010 10:17:09 +0000 (10:17 +0000)]
dsched - serno support

* Add support for serno loader tunables, e.g. dsched.policy.WD1293193 =
  "fq".

* Incidentally do another name change on the loader tunables from
  kern.dsched.* to dsched.* to have the same namespace as the sysctls.

* Add a sysctl dsched.policies showing the currently available policies.

13 years agoevtr: hook into the x86_64 build
Aggelos Economopoulos [Fri, 23 Apr 2010 14:22:18 +0000 (17:22 +0300)]
evtr: hook into the x86_64 build

Submitted-by: swildner@
13 years agoevtranalyze: clean up warnings
Aggelos Economopoulos [Fri, 23 Apr 2010 14:17:28 +0000 (17:17 +0300)]
evtranalyze: clean up warnings

Compilation-on-x86_64-by: swildner@

13 years agolibevtr: portability fixes
Aggelos Economopoulos [Fri, 23 Apr 2010 14:12:51 +0000 (17:12 +0300)]
libevtr: portability fixes

Compilation-on-x86_64-by: swildner@

13 years agolibevtr: get rid of unused yyunput() definition
Aggelos Economopoulos [Fri, 23 Apr 2010 14:10:14 +0000 (17:10 +0300)]
libevtr: get rid of unused yyunput() definition

Reminder-by: swildner@
13 years agolibevtr.h: cleanup evtr.h a bit
Aggelos Economopoulos [Fri, 23 Apr 2010 12:24:17 +0000 (15:24 +0300)]
libevtr.h: cleanup evtr.h a bit

Prodded-by: alexh@
13 years agoevtranalyze: fix thinko in debug code
Aggelos Economopoulos [Fri, 23 Apr 2010 11:37:23 +0000 (14:37 +0300)]
evtranalyze: fix thinko in debug code

13 years agoevtr: initial implementation of a DSL
Aggelos Economopoulos [Wed, 17 Mar 2010 23:48:54 +0000 (01:48 +0200)]
evtr: initial implementation of a DSL

libevtr:
- abstract out the hash table, convert to using uintptr_t's
  internally
- move a bunch of fields and most of the error logic from
  evtr to evtr_query
- don't try to resolve format strings to id's and reject
  records that don't match early; this needs way more care
  now that we might want to interpret the format strings
- start implementation of a minimal Domain Specific Language
- add the ability to filter based on the event type
- lots of fixes all around

evtranalyze:
- catch up w/ API changes in libevtr
- add toy 'stats' command

13 years agodsched - Bump diskctx max size to 512
Alex Hornung [Fri, 23 Apr 2010 06:31:36 +0000 (06:31 +0000)]
dsched - Bump diskctx max size to 512

* Bump the maximum size of the diskctx struct to 512, as 256 is too
  small already for dsched_fq on x86_64.

Reported-by: Sascha Wildner
14 years agoAdd DSCHED_FQ to LINT.
Sascha Wildner [Thu, 22 Apr 2010 22:22:27 +0000 (00:22 +0200)]
Add DSCHED_FQ to LINT.

14 years agoFix buildworld.
Sascha Wildner [Thu, 22 Apr 2010 21:08:06 +0000 (23:08 +0200)]
Fix buildworld.

14 years agodsched - expand framework to track threads
Alex Hornung [Thu, 22 Apr 2010 09:48:50 +0000 (09:48 +0000)]
dsched - expand framework to track threads

* The dsched framework now takes care of tracking threads/procs and
  bufs. Most of this code was factored out of dsched_fq.

* fq now uses the new, much simplified API, reducing the lines of code
  by about 50%.

* this will also allow for runtime policy switching, even to other
  policies that need to track procs/threads. Previously it was only
  possible to have one policy that tracked threads.

* Now all policies can be loaded at any time and will still be able to
  track all the threads.

* dsched_fq is now a module that can be loaded if required. Once loaded
  the policy is registered and ready to use with any disk.

* There is also a kernel option DSCHED_FQ now; otherwise
  dsched_fq_load="YES" has to be set in loader.conf to be able to use fq
  from boot on.

* Make a dsched sysctl tree.

Suggested-by: Aggelos Economopoulos
14 years agodschedctl: G/C some unneeded headers
Stathis Kamperis [Thu, 22 Apr 2010 17:51:33 +0000 (20:51 +0300)]
dschedctl: G/C some unneeded headers

14 years agodschedctl: Better error message on unknown policy
Stathis Kamperis [Thu, 22 Apr 2010 15:28:10 +0000 (18:28 +0300)]
dschedctl: Better error message on unknown policy

Discussed-with: alexh@, corecode@

14 years agoAdjust 'make upgrade' for the recent 802.11 update.
Sascha Wildner [Thu, 22 Apr 2010 10:12:57 +0000 (12:12 +0200)]
Adjust 'make upgrade' for the recent 802.11 update.

14 years agowi(4): Fix -Wold-style-definition.
Sascha Wildner [Thu, 22 Apr 2010 10:03:37 +0000 (12:03 +0200)]
wi(4): Fix -Wold-style-definition.

14 years agokernel: Add TUNABLE_ULONG too and really fix the acpi warning.
Sascha Wildner [Thu, 22 Apr 2010 09:58:51 +0000 (11:58 +0200)]
kernel: Add TUNABLE_ULONG too and really fix the acpi warning.

14 years agoacpi(4): Use TUNABLE_LONG to fix a warning and remove a nowerror.
Sascha Wildner [Thu, 22 Apr 2010 09:34:14 +0000 (11:34 +0200)]
acpi(4): Use TUNABLE_LONG to fix a warning and remove a nowerror.

14 years agokernel: Add TUNABLE_LONG.
Sascha Wildner [Thu, 22 Apr 2010 09:14:47 +0000 (11:14 +0200)]
kernel: Add TUNABLE_LONG.

14 years agointerbench - Port to DragonFly
Alex Hornung [Thu, 22 Apr 2010 06:38:02 +0000 (06:38 +0000)]
interbench - Port to DragonFly

14 years agointerbench - initial import
Alex Hornung [Thu, 22 Apr 2010 05:51:56 +0000 (05:51 +0000)]
interbench - initial import

14 years agoClean up the options in our kernel configs for the recent 802.11 upgrade.
Sascha Wildner [Thu, 22 Apr 2010 00:29:53 +0000 (02:29 +0200)]
Clean up the options in our kernel configs for the recent 802.11 upgrade.

14 years agodschedctl: OCD attack
Stathis Kamperis [Wed, 21 Apr 2010 23:28:16 +0000 (02:28 +0300)]
dschedctl: OCD attack

14 years agodschedctl: Don't assume /dev as devfs's mount point
Stathis Kamperis [Wed, 21 Apr 2010 23:02:06 +0000 (02:02 +0300)]
dschedctl: Don't assume /dev as devfs's mount point

Suggested-by: swildner@
14 years agodschedctl: Allow /dev/<disk> as valid syntax
Stathis Kamperis [Wed, 21 Apr 2010 22:41:23 +0000 (01:41 +0300)]
dschedctl: Allow /dev/<disk> as valid syntax

Discussed-with: alexh@

14 years agodschedctl: Cosmetic stuff
Stathis Kamperis [Wed, 21 Apr 2010 19:31:52 +0000 (22:31 +0300)]
dschedctl: Cosmetic stuff

No functional change intended.

14 years agommc(4): Remove ARM specific DRIVER_MODULE().
Sascha Wildner [Wed, 21 Apr 2010 22:14:31 +0000 (00:14 +0200)]
mmc(4): Remove ARM specific DRIVER_MODULE().

14 years agofqstats - remove leftover
Alex Hornung [Wed, 21 Apr 2010 19:09:25 +0000 (19:09 +0000)]
fqstats - remove leftover

* remove leftovers from the fqmp refs for buf removal.

Reported-by: Matthew Dillon
14 years agoieee80211 - Fix detachment panic
Matthew Dillon [Wed, 21 Apr 2010 17:46:44 +0000 (10:46 -0700)]
ieee80211 - Fix detachment panic

* Destroy the clone when ieee80211_vap_destroy() is called, fixing a
  panic when kldunloading e.g. if_ath after a wlan clone has been
  attached to it.

Submitted-by: Rui Paulo <rpaulo@freebsd.org>
14 years agobuild - Fix parallel build race in Makefile
Matthew Dillon [Wed, 21 Apr 2010 17:22:55 +0000 (10:22 -0700)]
build - Fix parallel build race in Makefile

* Fix a misspelled ORDER dependency which led to a mkdir
  dependency sometimes being run out of order.

14 years agoath - Fix a mismatch in the module options.
Antonio Huete Jimenez [Wed, 21 Apr 2010 16:05:36 +0000 (18:05 +0200)]
ath - Fix a mismatch in the module options.

This caused a panic with ifconfig in basic operations such
as putting an interface up.

Submitted-by: <rpaulo@FreeBSD.org>
14 years agoFix buildkernel KERNCONF=SOEKRIS.
Sascha Wildner [Wed, 21 Apr 2010 14:37:53 +0000 (16:37 +0200)]
Fix buildkernel KERNCONF=SOEKRIS.

14 years agoSync zoneinfo database with tzdata2010i from elsie.nci.nih.gov
Sascha Wildner [Wed, 21 Apr 2010 14:12:10 +0000 (16:12 +0200)]
Sync zoneinfo database with tzdata2010i from elsie.nci.nih.gov

africa:         8.24 -> 8.26
asia:           8.59 -> 8.60
southamerica:   8.43 -> 8.44

* Morocco will have DST in 2010 from May 2 to Aug 22.

* Taiwan had DST in 1979, not in 1980.

* San Luis, Argentina, is on "permanent" DST as of 2010.

14 years agodschedctl.8 - Add man page
Alex Hornung [Wed, 21 Apr 2010 07:24:36 +0000 (07:24 +0000)]
dschedctl.8 - Add man page

14 years agodschedctl - Change arguments, clean up
Alex Hornung [Wed, 21 Apr 2010 07:22:01 +0000 (07:22 +0000)]
dschedctl - Change arguments, clean up

* Remove the '-d' argument and instead allow an extra argument to '-l'
  and '-s'.

* Allow for a change of policy on all disks by not specifying an extra
  argument after '-s policy'.

* Introduce two FOREACH macros to simplify the code.

* Add helper function dsched_set_disk_policy().

* Add verbose mode.

14 years agodsched_fq - correct disk busy% calculation
Alex Hornung [Tue, 20 Apr 2010 22:31:12 +0000 (22:31 +0000)]
dsched_fq - correct disk busy% calculation

* Previously old_tv was static, causing problems when several disks had
  the fq policy enabled, as the start time of the interval was taken
  from some other disk.

* Avoid this issue by keeping the information in diskctx, where it
  belongs.

14 years agodsched: Avoid integer overflow.
Sascha Wildner [Tue, 20 Apr 2010 18:32:44 +0000 (21:32 +0300)]
dsched: Avoid integer overflow.

Multiplication of two 32 bit values can overflow the 32 bit result. Cast
one of the multiplicants to force 64 bit multiplication.

This fixes a lockup due to an infinite loop in the following while().

In-collaboration-with: aggelos

14 years agodsched_fq - remove pointless atomic ops
Alex Hornung [Tue, 20 Apr 2010 16:49:58 +0000 (16:49 +0000)]
dsched_fq - remove pointless atomic ops

Reported-by: Aggelos Economopoulos