dragonfly.git
23 months agocrypto: Revert some changes in contributed code.
Sascha Wildner [Fri, 19 Oct 2012 08:47:11 +0000 (10:47 +0200)]
crypto: Revert some changes in contributed code.

23 months agoMove gcc47's -Wunused-but-set-{parameter,variable} to WARNS >= 4.
Sascha Wildner [Fri, 19 Oct 2012 08:43:55 +0000 (10:43 +0200)]
Move gcc47's -Wunused-but-set-{parameter,variable} to WARNS >= 4.

It's not really important stuff that they uncover.

Also, -Wunused-parameter is added at >= 4 too.

23 months agondis_events(8): Check a read().
Sascha Wildner [Fri, 19 Oct 2012 07:36:36 +0000 (09:36 +0200)]
ndis_events(8): Check a read().

Found-by: gcc47
23 months agolibstdc++47: Rework to prevent regeneration during install
John Marino [Fri, 19 Oct 2012 07:15:22 +0000 (09:15 +0200)]
libstdc++47: Rework to prevent regeneration during install

The installincludes target regenerated files such as c++config.h during
the install phase.  It may be a minor bug as "bits/c++config.h:" would
trigger it but "c++config.h:" without the subdirectory wouldn't.  In any
case, generating it and two other headers to the local working bits
directory wasn't necessary as installincludes target installs them in an
accessible location.  Reworking the makefiles prevents a write operation
during installworld.

Reported-by: dillon
23 months agombuf: Make cacheable fraction of mbuf clusters tunable
Sepherosa Ziehau [Fri, 19 Oct 2012 08:03:45 +0000 (16:03 +0800)]
mbuf: Make cacheable fraction of mbuf clusters tunable

23 months agombuf: Factor out m_getcl_cache; optimize m_getcl a little bit
Sepherosa Ziehau [Fri, 19 Oct 2012 06:13:36 +0000 (14:13 +0800)]
mbuf: Factor out m_getcl_cache; optimize m_getcl a little bit

23 months agombuf: Jumbo clusters are rarely used; keep the amount small.
Sepherosa Ziehau [Fri, 19 Oct 2012 05:53:54 +0000 (13:53 +0800)]
mbuf: Jumbo clusters are rarely used; keep the amount small.

23 months agombuf: Remove unused MALLOC_DEFINEs
Sepherosa Ziehau [Fri, 19 Oct 2012 05:23:01 +0000 (13:23 +0800)]
mbuf: Remove unused MALLOC_DEFINEs

23 months agoIPXrouted(8): Oops removed too much in the last commit.
Sascha Wildner [Thu, 18 Oct 2012 22:54:03 +0000 (00:54 +0200)]
IPXrouted(8): Oops removed too much in the last commit.

23 months ago<bsd.sys.mk>: Rename -W to -Wextra.
Sascha Wildner [Thu, 18 Oct 2012 22:30:13 +0000 (00:30 +0200)]
<bsd.sys.mk>: Rename -W to -Wextra.

-Wextra is a newer name and it is a bit more descriptive.

While here, break a long line.

23 months agowatchdogd(8): Silence a warning differently.
Sascha Wildner [Thu, 18 Oct 2012 22:13:41 +0000 (00:13 +0200)]
watchdogd(8): Silence a warning differently.

Also satisfies -Wunused-but-set-parameter.

Found-by: gcc47
23 months agokernel/x86_64: In pmap_enter(), entry is, in fact, used.
Sascha Wildner [Thu, 18 Oct 2012 15:53:36 +0000 (17:53 +0200)]
kernel/x86_64: In pmap_enter(), entry is, in fact, used.

23 months agomptable(8): Remove an unused variable.
Sascha Wildner [Thu, 18 Oct 2012 13:36:07 +0000 (15:36 +0200)]
mptable(8): Remove an unused variable.

Found-by: gcc47
23 months agoinetd(8): Fix initialization of se_rpc_{low,high}vers.
Sascha Wildner [Thu, 18 Oct 2012 13:35:08 +0000 (15:35 +0200)]
inetd(8): Fix initialization of se_rpc_{low,high}vers.

Found-by: gcc47
23 months agofwcontrol(8): f_cycle is only used in #if 0'd code, so #if 0 it too.
Sascha Wildner [Thu, 18 Oct 2012 13:34:20 +0000 (15:34 +0200)]
fwcontrol(8): f_cycle is only used in #if 0'd code, so #if 0 it too.

Found-by: gcc47
23 months agoIPXrouted(8): Remove dead code, DragonFly has RTM_ADD.
Sascha Wildner [Thu, 18 Oct 2012 13:32:19 +0000 (15:32 +0200)]
IPXrouted(8): Remove dead code, DragonFly has RTM_ADD.

23 months agoypxfr(8): Use the correct enum member for checking yp_errno.
Sascha Wildner [Thu, 18 Oct 2012 12:56:38 +0000 (14:56 +0200)]
ypxfr(8): Use the correct enum member for checking yp_errno.

Revert local CFLAGS, too.

Found-by: gcc47
23 months agoyppoll(8): Comment out -h option.
Sascha Wildner [Thu, 18 Oct 2012 12:30:27 +0000 (14:30 +0200)]
yppoll(8): Comment out -h option.

The implementation of it is missing (see e.g. NetBSD or OpenBSD). Until
someone works on it, comment out the existing code to silence a warning
about 'hostname' being set but unused.

Found-by: gcc47
23 months agoldconfig(8): Remove -s from usage(), too.
Sascha Wildner [Thu, 18 Oct 2012 12:22:38 +0000 (14:22 +0200)]
ldconfig(8): Remove -s from usage(), too.

23 months agomake(1): Use an inline function instead of a macro for Lst_Valid().
Sascha Wildner [Thu, 18 Oct 2012 12:03:04 +0000 (14:03 +0200)]
make(1): Use an inline function instead of a macro for Lst_Valid().

This gives -Waddress something to test even if the address of a local
variable is passed.

Remove local CFLAGS and put back under -Werror.

23 months agousb4bsd: Add a commented out line to our configs for enabling usb4bsd.
Sascha Wildner [Thu, 18 Oct 2012 07:14:53 +0000 (09:14 +0200)]
usb4bsd: Add a commented out line to our configs for enabling usb4bsd.

In addition to this, WANT_USB4BSD needs to be put into /etc/make.conf
for the userland part.

23 months agoSync zoneinfo database with tzdata2012g from ftp://ftp.iana.org/tz/releases
Sascha Wildner [Thu, 18 Oct 2012 06:45:59 +0000 (08:45 +0200)]
Sync zoneinfo database with tzdata2012g from ftp://ftp.iana.org/tz/releases

* asia (Asia/Gaza, Asia/Hebron): Fall transition was Sep 21, not Sep 28.
    Thanks to Steffen Thorsen for this.

* australasia (Pacific/Apia): New DST rules for Western Samoa.
    Thanks to Nicholas Pereira for the heads-up and to Robert Elz
    for coding up the rules.

23 months agondiscvt(8): Unbreak build.
Sascha Wildner [Wed, 17 Oct 2012 20:51:15 +0000 (22:51 +0200)]
ndiscvt(8): Unbreak build.

23 months agousb4bsd/libusb: Remove an unused variable and mark a dummy variable unused.
Sascha Wildner [Wed, 17 Oct 2012 16:25:30 +0000 (18:25 +0200)]
usb4bsd/libusb: Remove an unused variable and mark a dummy variable unused.

23 months agocompilers.conf: Add -Wno-unknown-warning-option for clang.
Sascha Wildner [Wed, 17 Oct 2012 16:15:54 +0000 (18:15 +0200)]
compilers.conf: Add -Wno-unknown-warning-option for clang.

When compiling with clang, add -Wno-unknown-warning-option to silence
warnings about unknown warning options. We'll not maintain compatibility
for warning options in our wrapper.

Reported-by: Joris Giovannangeli <joris@giovannangeli.fr>
23 months agoRemove more unused variables in userland.
Sascha Wildner [Wed, 17 Oct 2012 16:08:46 +0000 (18:08 +0200)]
Remove more unused variables in userland.

Found-by: gcc47
23 months agosnd/hda: Restore the magic register setting to enable cache snooping
Sepherosa Ziehau [Wed, 17 Oct 2012 13:22:59 +0000 (21:22 +0800)]
snd/hda: Restore the magic register setting to enable cache snooping

It looks like certain chips ignore NOSNOOP settings in PCIe device
control configuration register.  Restore the magic register setting
to enable cache snooping.

Reported-by: many
Tested-by: Goetz Isenmann <info@goetz-isenmann.de>
23 months agobnx: Switch from DEVICE_POLLING to ifpoll
Sepherosa Ziehau [Wed, 17 Oct 2012 13:12:09 +0000 (21:12 +0800)]
bnx: Switch from DEVICE_POLLING to ifpoll

23 months agovinum(8): Remove some unused variables.
Sascha Wildner [Tue, 16 Oct 2012 10:41:43 +0000 (12:41 +0200)]
vinum(8): Remove some unused variables.

Found-by: gcc47
23 months agogrowfs(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 09:44:53 +0000 (11:44 +0200)]
growfs(8): Remove an unused variable.

Found-by: gcc47
23 months agorcs(1): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 09:19:46 +0000 (11:19 +0200)]
rcs(1): Remove an unused variable.

Found-by: gcc47
23 months agoloader(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 08:50:40 +0000 (10:50 +0200)]
loader(8): Remove an unused variable.

Found-by: gcc47
23 months agousb4bsd/ukbd: Adjust comment style a bit.
Sascha Wildner [Tue, 16 Oct 2012 08:28:52 +0000 (10:28 +0200)]
usb4bsd/ukbd: Adjust comment style a bit.

23 months agofsirand(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 08:16:22 +0000 (10:16 +0200)]
fsirand(8): Remove an unused variable.

Found-by: gcc47
23 months agoldconfig(8): Make -s a no-op.
Sascha Wildner [Tue, 16 Oct 2012 08:08:33 +0000 (10:08 +0200)]
ldconfig(8): Make -s a no-op.

The functionality of -s was removed in a369de1639fc. Also comment it out
in the manpage, but leave the option for compatibility.

Found-by: gcc47
23 months agoffsinfo(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 08:01:27 +0000 (10:01 +0200)]
ffsinfo(8): Remove an unused variable.

Found-by: gcc47
23 months agocryptdisks(8): The 'ok' variable is only needed in #ifdef DEBUG.
Sascha Wildner [Tue, 16 Oct 2012 07:58:08 +0000 (09:58 +0200)]
cryptdisks(8): The 'ok' variable is only needed in #ifdef DEBUG.

Found-by: gcc47
23 months agoccdconfig(8): Remove some unused variables.
Sascha Wildner [Tue, 16 Oct 2012 07:53:02 +0000 (09:53 +0200)]
ccdconfig(8): Remove some unused variables.

Found-by: gcc47
23 months agocamcontrol(8): Remove some unused variables.
Sascha Wildner [Tue, 16 Oct 2012 07:48:42 +0000 (09:48 +0200)]
camcontrol(8): Remove some unused variables.

Found-by: gcc47
23 months agousb: Fix a typo in ukbd.
Markus Pfeiffer [Tue, 16 Oct 2012 09:00:03 +0000 (09:00 +0000)]
usb: Fix a typo in ukbd.

23 months agousb4bsd: Fix attach/detach for ukbd.
Markus Pfeiffer [Tue, 16 Oct 2012 08:59:23 +0000 (08:59 +0000)]
usb4bsd: Fix attach/detach for ukbd.

This still needs work to make it function with the debugger

23 months agousched_set.2: Mention usched(8).
Sascha Wildner [Tue, 16 Oct 2012 06:49:09 +0000 (08:49 +0200)]
usched_set.2: Mention usched(8).

23 months agousched(8): Add a minimal manual page.
Sascha Wildner [Tue, 16 Oct 2012 06:48:06 +0000 (08:48 +0200)]
usched(8): Add a minimal manual page.

23 months agousched(8): #if 0 out some (yet) unused code.
Sascha Wildner [Tue, 16 Oct 2012 06:47:26 +0000 (08:47 +0200)]
usched(8): #if 0 out some (yet) unused code.

Found-by: gcc47
23 months agotcplay(3): The 'ok' variable is only needed in #ifdef DEBUG.
Sascha Wildner [Tue, 16 Oct 2012 05:00:32 +0000 (07:00 +0200)]
tcplay(3): The 'ok' variable is only needed in #ifdef DEBUG.

Found-by: gcc47
23 months agoreboot(8): Remove an unused variable.
Sascha Wildner [Tue, 16 Oct 2012 04:38:14 +0000 (06:38 +0200)]
reboot(8): Remove an unused variable.

Found-by: gcc47
23 months agorcorder(8): Whitespace fix.
Sascha Wildner [Tue, 16 Oct 2012 04:36:35 +0000 (06:36 +0200)]
rcorder(8): Whitespace fix.

23 months agomonitor(1): Check kevent().
Sascha Wildner [Tue, 16 Oct 2012 04:36:09 +0000 (06:36 +0200)]
monitor(1): Check kevent().

Found-by: gcc47
23 months agodfregress(8): Check prop_dictionary_get_uint32()'s return value.
Sascha Wildner [Tue, 16 Oct 2012 02:59:08 +0000 (04:59 +0200)]
dfregress(8): Check prop_dictionary_get_uint32()'s return value.

Consistent with the rest of the file.

Found-by: gcc47
23 months agobrandelf(1): Make -v a no-op.
Sascha Wildner [Tue, 16 Oct 2012 02:51:22 +0000 (04:51 +0200)]
brandelf(1): Make -v a no-op.

-v never did anything, so remove the verbose variable and comment it out
in the manpage, but leave the option for compatibility.

Found-by: gcc47
23 months agoifpoll: Adjust default parameters for 1000Mbps network
Sepherosa Ziehau [Mon, 15 Oct 2012 13:30:13 +0000 (21:30 +0800)]
ifpoll: Adjust default parameters for 1000Mbps network

23 months agoigb: Per-device TX/RX descriptor count tunables
Sepherosa Ziehau [Mon, 15 Oct 2012 13:05:37 +0000 (21:05 +0800)]
igb: Per-device TX/RX descriptor count tunables

23 months agoigb: Cache align software TX/RX descriptors
Sepherosa Ziehau [Mon, 15 Oct 2012 09:27:03 +0000 (17:27 +0800)]
igb: Cache align software TX/RX descriptors

23 months agoigb: Move uncommonly accessed fields to the end of the struct
Sepherosa Ziehau [Mon, 15 Oct 2012 09:19:57 +0000 (17:19 +0800)]
igb: Move uncommonly accessed fields to the end of the struct

23 months agoAdd dragonfly.vim, for changing vim indentation rules to match style(9).
Sascha Wildner [Mon, 15 Oct 2012 07:16:38 +0000 (09:16 +0200)]
Add dragonfly.vim, for changing vim indentation rules to match style(9).

Assuming it works, haven't personally used it.

Taken-from: FreeBSD

23 months agoUpdate the pciconf(8) database.
Sascha Wildner [Mon, 15 Oct 2012 06:58:31 +0000 (08:58 +0200)]
Update the pciconf(8) database.

October 14, 2012 snapshot from http://pciids.sourceforge.net/

23 months agousb4bsd: Regenerate usbdevs.h and usbdevs_data.h.
Sascha Wildner [Sun, 14 Oct 2012 21:41:33 +0000 (23:41 +0200)]
usb4bsd: Regenerate usbdevs.h and usbdevs_data.h.

23 months agousb4bsd: Sync usbdevs with FreeBSD.
Sascha Wildner [Sun, 14 Oct 2012 21:38:08 +0000 (23:38 +0200)]
usb4bsd: Sync usbdevs with FreeBSD.

23 months agousb4bsd: Add usb_quirk module.
Sascha Wildner [Sun, 14 Oct 2012 20:10:30 +0000 (22:10 +0200)]
usb4bsd: Add usb_quirk module.

23 months agousb4bsd: Makefile cleanup.
Sascha Wildner [Sun, 14 Oct 2012 19:40:29 +0000 (21:40 +0200)]
usb4bsd: Makefile cleanup.

23 months agousb4bsd: Sort files a bit better in 'files' (from FreeBSD).
Sascha Wildner [Sun, 14 Oct 2012 19:13:28 +0000 (21:13 +0200)]
usb4bsd: Sort files a bit better in 'files' (from FreeBSD).

23 months agoemx: Cache align software TX/RX descriptors
Sepherosa Ziehau [Sun, 14 Oct 2012 13:34:28 +0000 (21:34 +0800)]
emx: Cache align software TX/RX descriptors

23 months agoemx: Group TX related fields into emx_txdata; use it in TX related functions
Sepherosa Ziehau [Sun, 14 Oct 2012 13:19:29 +0000 (21:19 +0800)]
emx: Group TX related fields into emx_txdata; use it in TX related functions

23 months agousb4bsd/controller: Use device_delete_children().
Sascha Wildner [Sun, 14 Oct 2012 13:12:08 +0000 (15:12 +0200)]
usb4bsd/controller: Use device_delete_children().

23 months agokernel: add device_delete_children()
Fran├žois Tigeot [Thu, 5 Jul 2012 07:05:18 +0000 (09:05 +0200)]
kernel: add device_delete_children()

Obtained-from: FreeBSD

23 months agomake upgrade: Remove more new USB stuff if it is not requested.
Sascha Wildner [Sun, 14 Oct 2012 12:35:43 +0000 (14:35 +0200)]
make upgrade: Remove more new USB stuff if it is not requested.

To reduce confusion when switching.

23 months agousb4bsd: Pull up libusb and usbcontrol to FreeBSD current's.
Sascha Wildner [Sun, 14 Oct 2012 12:18:21 +0000 (14:18 +0200)]
usb4bsd: Pull up libusb and usbcontrol to FreeBSD current's.

I stopped before their recent streams commit.

23 months agoBring in USB4BSD userspace libraries and utilities.
Markus Pfeiffer [Sun, 14 Oct 2012 11:00:18 +0000 (11:00 +0000)]
Bring in USB4BSD userspace libraries and utilities.

The following will now be built and installed if WANT_USB4BSD is defined.

* libusb
* usbconfig

23 months agocompilers.conf.5: Some more cleanup.
Sascha Wildner [Sun, 14 Oct 2012 08:34:36 +0000 (10:34 +0200)]
compilers.conf.5: Some more cleanup.

* Remove a reference to an old patch I did for building world with clang.
  The changes which are currently needed remain to be determined.

* Make the examples more generic and indicate that buildworld/kernel
  do not necessarily survive with the compilers listed. Also, stuff them
  into an EXAMPLES section.

* Add a comma.

Reported-by: Carsten Mattner <carstenmattner@gmail.com>
23 months agovkernel - Adjust parameters for vkernel test build
Matthew Dillon [Sat, 13 Oct 2012 17:22:02 +0000 (10:22 -0700)]
vkernel - Adjust parameters for vkernel test build

* Increase root partition from 512M to 2G to accomodate DEBUG_FLAGS=-g
  kernels.

* Increase default memory from 128M to 256M

* Create the /var/vkernel directory if necessary.

23 months agokernel - set machdep.pmap_mmu_optimize to 1 by default in master
Matthew Dillon [Sat, 13 Oct 2012 17:16:04 +0000 (10:16 -0700)]
kernel - set machdep.pmap_mmu_optimize to 1 by default in master

* Set machdep.pmap_mmu_optimize to 1 by default in master.

* Note that the sysctl will be left defaulted to 0 in the 3.2 release
  because it is too new a feature.  However, we believe it to be stable.

23 months agokernel - Fix sysclock_t comparison in usched code
Matthew Dillon [Sat, 13 Oct 2012 17:11:43 +0000 (10:11 -0700)]
kernel - Fix sysclock_t comparison in usched code

* Fix a sysclock_t comparison that was attempting to detect an overflow
  by checking if an unsigned field was negative.  The field has
  to be cast to signed for the test to work as expected.

Reported-by: enjolras
23 months agoHAMMER VFS - Use full-block undos for B-Tree nodes
Matthew Dillon [Sat, 13 Oct 2012 17:03:03 +0000 (10:03 -0700)]
HAMMER VFS - Use full-block undos for B-Tree nodes

* Use a full-block undos instead of small byte-range undos for
  B-Tree nodes.

  There is no bug here per-say, but we are trying to improve
  HAMMER's ability to recover after a power failure where a disk
  drive is writing to the platter at the time of the failure.
  While we have no control over any unrelated sectors that might
  get smashed by such an event, the concern is that sectors being
  specifically written might get corrupted beyond the ability for
  the byte-range undo to fix.

  The reason is that if, say, only 50 bytes in a B-Tree node need
  updating, HAMMER must still do a 16K physical write to disk, so
  really any portion of that 16K can wind up corrupt on a power
  failure, not just the 50 bytes being changed.

  So instead of writing a byte-ranged 50-byte UNDO we now write
  a 16K undo for B-Tree elements.

* The hope is that this will improve cases where HAMMER has become
  unmountable due to CRC errors in the B-Tree closer to the root of
  the B-Tree (which are usually updated to update only the mirror_tid)

Reported-by: sgeorge, marino
23 months agomake device_probe_child() public
Tim [Tue, 25 Jan 2011 05:29:55 +0000 (21:29 -0800)]
make device_probe_child() public

23 months agomxge(4): Fix "always_inline function might not be inlinable" warning.
Sascha Wildner [Sat, 13 Oct 2012 13:36:58 +0000 (15:36 +0200)]
mxge(4): Fix "always_inline function might not be inlinable" warning.

The '__attribute__((always_inline))' does not strictly imply 'inline'.
Newer versions of gcc detect this misuse and issue the warning.
Including the missing 'inline' resolves the build warning.

23 months agocompilers.conf.5: Remove docs about *_VERSION, it no longer exists.
Sascha Wildner [Sat, 13 Oct 2012 05:53:04 +0000 (07:53 +0200)]
compilers.conf.5: Remove docs about *_VERSION, it no longer exists.

23 months agosleep.9: Really write PINTERLOCKED in the example.
Sascha Wildner [Fri, 12 Oct 2012 19:38:50 +0000 (21:38 +0200)]
sleep.9: Really write PINTERLOCKED in the example.

Reported-by: vsrinivas
23 months agousb4bsd/ehci: Fix EHCI resetting (and thus, intialization & attach).
Sascha Wildner [Fri, 12 Oct 2012 19:29:22 +0000 (21:29 +0200)]
usb4bsd/ehci: Fix EHCI resetting (and thus, intialization & attach).

No need for PINTERLOCKED here.

Reported-by: ftigeot, tuxillo
In-discussion-with: vsrinivas

23 months agosleep.9: s/PINTERLOCK/PINTERLOCKED/
Sascha Wildner [Fri, 12 Oct 2012 19:27:22 +0000 (21:27 +0200)]
sleep.9: s/PINTERLOCK/PINTERLOCKED/

23 months agousb4bsd/ehci: Ouch, fix a bug in the Makefile.
Sascha Wildner [Fri, 12 Oct 2012 17:56:15 +0000 (19:56 +0200)]
usb4bsd/ehci: Ouch, fix a bug in the Makefile.

It was taking a wrong file and this caused ehci to not properly initialize
when loaded as a module (like it is our default).

Note that this is my fault, not Markus Pfeiffer's. I had messed with the
Makefiles and it was a copy/paste error.

Reported-by: ftigeot, tuxillo
23 months agousb4bsd: Use NULL for pointers.
Sascha Wildner [Fri, 12 Oct 2012 16:59:04 +0000 (18:59 +0200)]
usb4bsd: Use NULL for pointers.

23 months agousb4bsd/controller: Remove some unused module declarations.
Sascha Wildner [Fri, 12 Oct 2012 16:52:41 +0000 (18:52 +0200)]
usb4bsd/controller: Remove some unused module declarations.

23 months agousb4bsd: Remove more unused files.
Sascha Wildner [Fri, 12 Oct 2012 16:46:01 +0000 (18:46 +0200)]
usb4bsd: Remove more unused files.

23 months agousb4bsd: Remove unused ARM related files.
Sascha Wildner [Fri, 12 Oct 2012 16:32:29 +0000 (18:32 +0200)]
usb4bsd: Remove unused ARM related files.

23 months agoFix 'make upgrade', it was broken.
Sascha Wildner [Fri, 12 Oct 2012 15:15:44 +0000 (17:15 +0200)]
Fix 'make upgrade', it was broken.

23 months agoemx: Pass emx_rxdata to RX related functions
Sepherosa Ziehau [Fri, 12 Oct 2012 10:00:46 +0000 (18:00 +0800)]
emx: Pass emx_rxdata to RX related functions

23 months agoemx: Add comment and add assertion about serializer initialization
Sepherosa Ziehau [Fri, 12 Oct 2012 03:34:55 +0000 (11:34 +0800)]
emx: Add comment and add assertion about serializer initialization

23 months agousb4bsd/audio: Some porting work in uaudio_pcm.c.
Sascha Wildner [Fri, 12 Oct 2012 09:05:13 +0000 (11:05 +0200)]
usb4bsd/audio: Some porting work in uaudio_pcm.c.

* Locking fixes (by ftigeot).

* Comment out unknown methods for now.

* Adjust include path.

With this it only whines on mixer_get_lock() which we don't have.

23 months agokernel/sound: Add PCMTRIG_COMMON (from FreeBSD).
Sascha Wildner [Fri, 12 Oct 2012 09:03:36 +0000 (11:03 +0200)]
kernel/sound: Add PCMTRIG_COMMON (from FreeBSD).

23 months agokernel: Comment out the new uaudio_pcm.c for now, it doesn't build yet.
Sascha Wildner [Fri, 12 Oct 2012 09:03:06 +0000 (11:03 +0200)]
kernel: Comment out the new uaudio_pcm.c for now, it doesn't build yet.

23 months agocustomcc/compilers.conf: Some adjustments and simplifications.
Sascha Wildner [Fri, 12 Oct 2012 08:57:12 +0000 (10:57 +0200)]
customcc/compilers.conf: Some adjustments and simplifications.

* pkgsrc's clang no longer needs special handling for C++ compilation.

* Use gcc44's cpp, gcc41 is gone.

* -dumpversion is now understool by both pkgsrc's and SVN trunk's
  clang, so no special handling needed for that either.

Based on an older patch I did with Juan Francisco a year ago.

Reported-by: Juan Francisco Cantero Hurtado <iam@juanfra.info>
               Joris Giovannangeli <joris@giovannangeli.fr>
Tested-by: Joris Giovannangeli <joris@giovannangeli.fr>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2205>

23 months agokernel: Some adjustments for the GCC 4.1 removal in Makefiles.
Sascha Wildner [Fri, 12 Oct 2012 08:16:20 +0000 (10:16 +0200)]
kernel: Some adjustments for the GCC 4.1 removal in Makefiles.

23 months agoUPDATING: Some words about GCC 4.7.
Sascha Wildner [Fri, 12 Oct 2012 08:12:57 +0000 (10:12 +0200)]
UPDATING: Some words about GCC 4.7.

23 months agocompilers.conf.5: We only describe non-base compilers here.
Sascha Wildner [Fri, 12 Oct 2012 07:53:20 +0000 (09:53 +0200)]
compilers.conf.5: We only describe non-base compilers here.

"gcc47" is no longer handled via compilers.conf.

23 months agokernel: Add KOBJMETHOD_END and use it.
Sascha Wildner [Fri, 12 Oct 2012 07:34:00 +0000 (09:34 +0200)]
kernel: Add KOBJMETHOD_END and use it.

23 months agousb4bsd/uether: Missing argument in usb_ether_method's ue_ioctl() member.
Sascha Wildner [Fri, 12 Oct 2012 06:25:36 +0000 (08:25 +0200)]
usb4bsd/uether: Missing argument in usb_ether_method's ue_ioctl() member.

23 months agousb4bsd/if_udav: Comment out a variable (usage is not yet enabled).
Sascha Wildner [Fri, 12 Oct 2012 06:24:06 +0000 (08:24 +0200)]
usb4bsd/if_udav: Comment out a variable (usage is not yet enabled).

23 months agousb4bsd/audio: 'static' has to be at the beginning of the declaration.
Sascha Wildner [Fri, 12 Oct 2012 06:23:02 +0000 (08:23 +0200)]
usb4bsd/audio: 'static' has to be at the beginning of the declaration.

23 months agoRemove old USB stuff when the new stack is requested.
Sascha Wildner [Fri, 12 Oct 2012 05:44:34 +0000 (07:44 +0200)]
Remove old USB stuff when the new stack is requested.

23 months agoMakefile_upgrade.inc: Adjust modules path.
Sascha Wildner [Fri, 12 Oct 2012 05:00:48 +0000 (07:00 +0200)]
Makefile_upgrade.inc: Adjust modules path.

This can be helpful in cases where old modules for some reason
had not been cleaned when the location was still /boot/modules
and have ended up getting objcopy'd to /boot/kernel after the
location was changed.