ad
e2209e397c
Install sys/atomic.h
2007-12-24 15:15:47 +00:00
ad
c2e7ec2566
Reserve a major for ZFS.
2007-12-24 15:12:05 +00:00
ad
2e1c75d2bd
Don't hide members of 'struct buf' behind macros. It can confuse 3rd party
...
source that uses the same element names.
2007-12-24 15:11:19 +00:00
ad
aeb73b56d5
b_un.b_addr -> b_data
2007-12-24 15:06:38 +00:00
ad
1af608286b
Export do_sys_unlink, do_sys_rename to the rest of the kernel.
2007-12-24 15:04:19 +00:00
ad
bc64d5411e
b_un.b_addr -> b_data
2007-12-24 15:00:20 +00:00
ad
57afe5efd9
+ MOUNT_ZFS, VT_ZFS
2007-12-24 14:58:37 +00:00
ad
ce6680f888
Add back mutex_owner() for Solaris compat.
2007-12-24 14:57:56 +00:00
ad
a5b4bcb2d5
libpthread minor was bumped.
2007-12-24 14:48:23 +00:00
ad
989565f81d
- Fix pthread_rwlock_trywrlock() which was broken.
...
- Add new functions: pthread_mutex_held_np, mutex_owner_np, rwlock_held_np,
rwlock_wrheld_np, rwlock_rdheld_np. These match the kernel's locking
primitives and can be used when porting kernel code to userspace.
- Always create LWPs detached. Do join/exit sync mostly in userland. When
looped on a dual core box this seems ~30% quicker than using lwp_wait().
Reduce number of lock acquire/release ops during thread exit.
2007-12-24 14:46:28 +00:00
smb
34da33dfe3
Add missing call to pmf_deregister() in the USB_DETACH routine.
2007-12-24 14:41:19 +00:00
ad
8f05f9cc26
Update.
2007-12-24 14:30:09 +00:00
njoly
0cebe57b9c
Regen for getpgid.
2007-12-24 14:26:50 +00:00
njoly
122287e6f0
Add getpgid syscall.
2007-12-24 14:25:30 +00:00
njoly
24eca5e1f1
Regen for linux_sys_getpgid removal.
2007-12-24 14:21:40 +00:00
njoly
47bf9f4b4d
Kill unneeded linux_sys_getpgid and use native sys_getpgid instead.
2007-12-24 14:17:17 +00:00
wiz
8caeef46da
Sort options.
2007-12-24 13:56:00 +00:00
phx
66e67a4f6b
Make USB, IEEE1394 and viaaudio attach to the Pegasos2.
...
USB works fine. IEEE1394 is untested. Audio doesn't work (playing white noise).
Need to set IO/MEM-enable for IEEE1394 and audio, as the firmware (Smart
Firmware 1.2) doesn't do it.
Patch approved by Tim Rightnour.
2007-12-24 13:54:58 +00:00
kiyohara
51311b8619
Remove white-spaces.
2007-12-24 07:54:26 +00:00
yamt
d336796b0b
yamt-kmem: todo
2007-12-24 05:26:34 +00:00
macallan
7500033ffa
check for __HAVE_PRIVATE_PCI_BUS_DMA_TAG instead of macppc when (not)
...
declaring pci_bus_dma_tag
while there move #include <machine/isa_machdep.h> to the ISA block so archs
without ISA won't see it. Now macppc builds again.
2007-12-24 01:31:08 +00:00
macallan
ddf0036d4b
#define __HAVE_PRIVATE_PCI_BUS_DMA_TAG
2007-12-24 01:27:34 +00:00
joerg
96fb7c224f
Update pkg_install to 20071224. Important changes:
...
- Better diagnostic for duplicate packages
- Detect conflicts between already installed packages and a
to-be-installed package.
- Do not check for the build version of a package first, always get the
newest version.
- Remove pkgdb entries with rm -rf as rm get interactive for removal of
read-only files.
- Update usage() for pkg_info and pkg_admin for earlier additions.
2007-12-24 00:08:42 +00:00
joerg
fd3f654960
Catch up with pkg_install-20071224.
2007-12-24 00:04:45 +00:00
joerg
39ac827c19
Import pkg_install-20071224
2007-12-24 00:03:04 +00:00
rmind
862a6b5f0b
OK, I was using whisky..
...
Fix previous - use foreach, and just return after first found entry.
The pmf_all_events list should not have duplicate entries (perhaps
pmf(9) should document this point).
2007-12-23 23:19:11 +00:00
joerg
83ba2e10a4
Remove dead power handling code.
2007-12-23 22:21:56 +00:00
rmind
099e4a9a20
pmf_event_deregister: fix use-after-free.
...
Found by: CID 4754.
2007-12-23 22:09:39 +00:00
jmcneill
940524edab
Deregister activity handler on detach.
2007-12-23 19:14:03 +00:00
jmcneill
13f097963d
Always enable the Fn key quirk if a device node for the Sony Programmable
...
Interrupt Controller (SNY6001) is not present.
2007-12-23 18:03:02 +00:00
jmcneill
190527566a
Move sony.4 from i386 to MD man page directory
2007-12-23 17:39:19 +00:00
jmcneill
087888e1dd
Add sony* at acpi?
2007-12-23 17:33:57 +00:00
jmcneill
9f7f6d9be0
Move Sony Notebook Controller (sony(4)) driver from MD to MI directory,
...
as it can be used on amd64 as well.
2007-12-23 17:29:26 +00:00
jmcneill
8f31e2d8cd
Remove wskbd attachment, it never worked right anyway. Instead, deliver
...
hotkey events to powerd.
2007-12-23 17:25:45 +00:00
wiz
4cbd5a3a50
+ DRY: don't repeat yourself
2007-12-23 16:03:28 +00:00
jmmv
5d2f326e93
Register the directories and files related to the addition of the test
...
programs for connect(2) and listen(2).
2007-12-23 13:51:16 +00:00
jmmv
98c2eca191
Register the /usr/tests/net/sys subtree.
2007-12-23 13:50:50 +00:00
jmmv
e44ee884d0
Add regression tests for low-port allocation in connect and listen, which
...
was broken and fixed recently in:
http://mail-index.netbsd.org/source-changes/2007/12/16/0011.html
Test-case code provided by elad@.
2007-12-23 13:50:22 +00:00
apb
bb3a1dfc42
Remove note about the first track being reserved for the BIOS (it's
...
not), and replace it with a note about the first partition traditionally
beginning in the second track of the first cylinder.
2007-12-23 10:47:42 +00:00
apb
ca6bb6217d
Track zero is not strictly reserved for the BIOS, that's just a
...
convention, so don't make it an error in check_overlap(). Sector 0 is
reserved for the MBR, so make that an error in check_overlap().
2007-12-23 10:43:57 +00:00
rjs
4cec9c5ce2
Fix prototype.
2007-12-23 10:28:39 +00:00
hannken
f20fe37f57
Fix include order: netbsd32_syscallargs.h needs svr4_32_types.h.
2007-12-23 10:18:48 +00:00
apb
49b1fa58d7
Report the first active partition.
2007-12-23 08:58:34 +00:00
apb
29a92a49d4
If the partition is unused, then attempting to decode the PBR would
...
actually decode the MBR from sector 0 of the disk. Don't do it if
v_flag < 3.
2007-12-23 08:14:28 +00:00
ad
c41ceea6c9
Update status for vmlocking2.
2007-12-23 03:52:44 +00:00
tsutsui
0cbdb8cc76
Use __arraycount().
2007-12-23 03:04:57 +00:00
mrg
97e461c633
- provide 32 bit versions of the sparc v9 atomic ops.
...
- use them on sparc64 32 bit kernels.
fixes issues on 32 bit sparc64 kernels that were using sparc v8 ops.
tested by rjs@.
2007-12-22 23:19:40 +00:00
jmcneill
1247e31569
Add example hotkey_button script
2007-12-22 19:04:10 +00:00
jmcneill
941ceb8768
Note addition of hotkey_button scripts.
2007-12-22 18:40:21 +00:00
jmcneill
8fce0f055c
Move display switching out of the kernel; deliver this (and other) events
...
to sysmon so a powerd script can handle them.
2007-12-22 18:38:13 +00:00