183710 Commits

Author SHA1 Message Date
dsl
602976fff6 Ansify functions and remove __P/ 2009-09-05 08:53:06 +00:00
tsutsui
1cc46c1f6d Remove one more extra whitespace. 2009-09-05 08:23:24 +00:00
dholland
9af4cd75f3 Add parentheses around a misleading string constant concatenation,
from (my own, very old) PR 36064.
2009-09-05 06:44:27 +00:00
dholland
39ad663dea Check group membership correctly; ingroup() returns a truth value, not a gid.
PR bin/41995.
2009-09-05 06:18:55 +00:00
dholland
aaa57659d5 ANSIfy and sort includes 2009-09-05 06:15:24 +00:00
dholland
4698bc3527 Tidy up error messages. Prompted by PR 41993 from Bug Hunting, but more
comprehensive.
2009-09-05 06:13:34 +00:00
tsutsui
97dbe6076b Remove unnecessary whitespace. 2009-09-05 03:50:49 +00:00
apb
a9dda51fb1 Add cross references to new boothowto(9) man page. 2009-09-04 23:29:02 +00:00
apb
6d833d69e5 Add a boothowto(9) man page, and link it to BOOT_FLAGS(9). 2009-09-04 23:23:04 +00:00
macallan
3555383568 add sunleo 2009-09-04 20:19:04 +00:00
jmcneill
b4a8b85418 ACPI CA 20090903 is out. 2009-09-04 19:37:16 +00:00
tsutsui
f95171bf7a u_intNN_t -> uintNN_t 2009-09-04 18:40:19 +00:00
tsutsui
4466014699 Remove unnecessary whitespace. 2009-09-04 18:29:52 +00:00
pooka
573d907442 Provide Makefile.inc which contains source module names and paths. 2009-09-04 18:25:56 +00:00
pooka
4f4e18947d Make mount_smbfs follow the standard MOUNT_NOMAIN and parseargs() structure.
(yes, this is dist, but considering the last and only import from
upstream was 7 years ago, I'm not exactly worried this will make
importing future versions harder)
2009-09-04 18:22:37 +00:00
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