183645 Commits

Author SHA1 Message Date
dyoung
ac13fdbe53 Expand some definitions from <dev/usb/usb_port.h>. 2009-09-04 18:14:41 +00:00
dyoung
1ef37665bc Change spaces to tabs and remove some unnecessary parentheses. No
functional change intended.
2009-09-04 18:10:08 +00:00
dyoung
b6c920694a Extract some definitions from usb_port.h and put them into usb.h. 2009-09-04 17:55:48 +00:00
dyoung
786bda7e17 Expand <dev/usb/usb_port.h> definitions, and lightly unifdef(1). 2009-09-04 17:53:12 +00:00
christos
5420dd7695 PR/41991: Joachim Kuebart: add debug libs for libdrm_intel and unmark the
regular lib as profile.
2009-09-04 17:46:06 +00:00
pooka
da73ba1e67 build & install librumpdev_netsmb and librumpfs_smbfs components 2009-09-04 17:21:33 +00:00
pooka
f42da03906 add a few global symbols required by kernel code 2009-09-04 17:15:21 +00:00
dyoung
143e684e6a There's no need to #include <dev/usb/usb_port.h> after #including
<dev/usb/usb.h>.
2009-09-04 17:01:29 +00:00
dyoung
50dc868367 Stop #including <dev/usb/usb_port.h>, this time more gracefully:
#include <dev/usb/usb.h>, instead.  We're certain to get all of
the #definitions we need that way.
2009-09-04 16:54:32 +00:00
dyoung
b16b5cbe1d Stop #including <dev/usb/usb_port.h>. 2009-09-04 16:52:24 +00:00
dyoung
5cebfe910a KNF: compare a pointer with NULL instead of evaluating its "truth." 2009-09-04 16:42:38 +00:00
pooka
c39c71d23c brace policy. no functional change. 2009-09-04 16:42:19 +00:00
pooka
77c3d9700d Actually, we cannot release the megalock before we take sleepermtx,
since that opens a race window for non-mpsafe code, so do it after.
Additionally, we cannot call mutex_enter() for sleepermtx, since
ltsleep/mtsleep should not block (i.e. release kernel lock) before
actually blocking, so busyloop in mutex_tryenter().  Finally, when
waking up, take kernel lock back only *after* releasing sleepermtx
to avoid deadlock against another thread holding the kernel lock
and wanting sleepermtx.
2009-09-04 16:41:39 +00:00
tsutsui
4aff350284 Replace shutdownhook_establish(9) with pmf_device_register1(9).
Tested on sun3x.
2009-09-04 16:21:24 +00:00
pooka
d42676af17 add comment to previous stating periodic wakeups can be nuked
once smb is mpsafe.
2009-09-04 16:18:34 +00:00
pooka
d25f4faa30 defensive programming: wake up iod thread once a second "just in case" 2009-09-04 16:16:52 +00:00
pooka
56df608091 Send data for as long as there is new data available. Otherwise
there was a danger of smb_iod_recvall() blocking, hence releasing
the kernel lock, new data creeping into the queue, and a wakeup
being missed (well, there's still a race, but since it's theoretical
enough for me to never have encountered it, I'll rather solve it
by periodic wakeups).
2009-09-04 16:12:45 +00:00
wiz
a3879acf53 Make output for -v/-l match Infozip unzip more closely.
Mention archive name, like Infozip unzip.
Add missing options to usage.
Ok joerg@
2009-09-04 14:23:24 +00:00
pooka
3f664c0a97 * wrap tsleep functions to drop die grosslock since we're going to
sleep anyway in a few flicks from the clock
* broadcast instead of signal in wakeup()
2009-09-04 13:58:57 +00:00
joerg
b82a2b6d21 Fix output spacing for summary in -v. 2009-09-04 13:02:52 +00:00
pooka
adc720a745 allocate p_lock for virtual processes 2009-09-04 12:27:09 +00:00
pooka
208d98b320 add netsmb rump component
(yes, it's functionally a device instead of a networking domain,
since it provides and is accessed through /dev/nsmb instead of
being accessed through sockets)
2009-09-04 12:20:42 +00:00
pooka
721430ffd9 rump smbfs component 2009-09-04 12:16:54 +00:00
plunky
e28378f7d1 confusing pooka.
manpage improvements,
sunshine returns.
2009-09-04 11:34:38 +00:00
jmcneill
6277e8688d Enable UVC-style headers and use them to help detect stream errors. 2009-09-04 11:26:54 +00:00
pooka
e16bbe64c5 update list of directories 2009-09-04 10:54:44 +00:00
wiz
30adde5448 Fix incorrect wording. From Bug Hunting in PR 41989. 2009-09-04 10:34:16 +00:00
he
0ad5370a7a It is best to explicitly include <sys/condvar.h> if we're going to
use kcondvar_t.
2009-09-04 08:58:44 +00:00
he
e6203cd52f Both amiga and atari needs <sys/lwp.h> explicitly included in order
for curlwp to be properly declared.
2009-09-04 08:57:00 +00:00
tls
8c208552ae Grr. One last thing from the upcall-direction patch which I failed to
check in correctly.
2009-09-04 01:41:06 +00:00
gmcgarry
1feba56e87 Update build system and merge changes for pcc 0.9.9 090902. 2009-09-04 00:50:04 +00:00
gmcgarry
c4627bc7b5 Import pcc 0.9.9 090902 2009-09-04 00:27:29 +00:00
jmcneill
41b863f675 Fix a bug where mapping the very end of iomem accidentally returns an
address in the ISA hole (because addr+size calculations wrap to 0). Fixes
ohci on VirtualPC 7 for Mac, which places OHCI at base address 0xfffff000
size 0x1000.
2009-09-03 23:25:04 +00:00
tls
8352accb45 ...and one more missed in the earlier commit (sigh). Kernels should build
again now.
2009-09-03 21:06:21 +00:00
tls
41715850eb Missed this file in previous commit, accidentally checked in fix to local
repository copy!  Sorry about that, folks.
2009-09-03 20:59:12 +00:00
dyoung
628c492598 Expand some of the portability macros from sys/dev/usb/usb_port.h.
There is no change in the generated assembly.
2009-09-03 20:54:03 +00:00
apb
482c8f25c8 * Boolean values may be specified with any of YES/TRUE/ON/1 or
NO/FALSE/OFF/0, so explain that.
* Change all "Foo:  YES or NO.  If not set to YES then ..." to
  "Foo:  Boolean value.  If false then ...".
* Some rewording for clarity.
2009-09-03 20:06:39 +00:00
njoly
1e0366323b Use correct sched_setscheduler syscall 3rd argument type. 2009-09-03 17:15:17 +00:00
joerg
640f23e9ef Add unzip. 2009-09-03 16:53:10 +00:00
pooka
de4fa6c51a Build & install rumpdev, a device component for rump. It currently
supports autoconf and is required for example by pseudo-device rump
components.
2009-09-03 15:35:58 +00:00
pooka
5e46a7c29a Move configure() and configure2() from subr_autoconf.c to init_main.c,
since they are only peripherially related to the autoconf subsystem
and more related to boot initialization.  Also, apply _KERNEL_OPT
to autoconf where necessary.
2009-09-03 15:20:08 +00:00
tsutsui
d0cad2b04e Remove now unused *shutdown_hook from softc. 2009-09-03 14:55:29 +00:00
tsutsui
ffdf6c036a - wrap long lines
- remove unnecessary casts against void pointers
2009-09-03 14:52:22 +00:00
tsutsui
631843b598 Remove whitespaces between tabs. 2009-09-03 14:40:43 +00:00
tsutsui
ae6e5bebd3 Misc cosmetics:
- remove c++ style comment
- wrap long lines
- remove unnecessary casts against void pointers
2009-09-03 14:37:58 +00:00
sborrill
75ad4101f2 SiS 7012 uses different multichannel control bits compared to other codecs
(data from linux via OpenBSD).
2009-09-03 14:29:42 +00:00
tsutsui
2ab0f07b1a Replace shutdownhook_establish(9) with pmf_device_register1().
Tested EtherPower II 10/100 (SMC9432TX) on macppc.
2009-09-03 14:13:16 +00:00
pooka
bd8ebb811a install librumpfs_fdesc 2009-09-03 12:55:10 +00:00
pooka
a6ea870a1c descend into librumpcrypto for a local build 2009-09-03 12:35:19 +00:00
pooka
fd46b5b66c install librumpcrypto component: kernel crypto routines 2009-09-03 12:33:54 +00:00