Commit Graph

99968 Commits

Author SHA1 Message Date
rmind
440e5485e0 - Rearrange pg_delete() and pg_remove() (renamed pg_free), thus
proc_enterpgrp() with proc_leavepgrp() to free process group and/or
  session without proc_lock held.
- Rename SESSHOLD() and SESSRELE() to  to proc_sesshold() and
  proc_sessrele().  The later releases proc_lock now.

Quick OK by <ad>.
2009-04-25 15:06:31 +00:00
sborrill
71d4bf3caa Fix random 'filesystem full' messages by trapping a couple of 32-bit
overflow areas missed in rev 1.110 and switching cgbase().

Kudos to rump_ffs!
2009-04-25 08:32:32 +00:00
tsutsui
90c44cfe77 Remove suffix "B" from rtk_name of PCI_PRODUCT_REALTEK_RT8168 devices.
All 8168/8111 variants (8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP)
have the same PCI device ID.
2009-04-25 06:16:12 +00:00
ad
97a4cbf1a7 .long -> .quad 2009-04-24 18:26:51 +00:00
ad
9b7896c50a A workaround for a bug with some Opteron revisions where locked operations
sometimes do not serve as memory barriers, allowing memory references to
bleed outside of critical sections.  It's possible that this is the
reason for pkgbuild's longstanding crashiness.

For rwlocks, always enable the explicit membars. They were disabled only
on x86, and since they are not in the fast-path it's not a big deal.
TODO: convert these to an atomic_membar_foo() or similar that does ordering
between regular data references and atomic references.
2009-04-24 17:53:06 +00:00
ad
fbfeb4f2a9 A workaround for a bug with some Opteron revisions where locked operations
sometimes do not serve as memory barriers, allowing memory references to
bleed outside of critical sections.  It's possible that this is the
reason for pkgbuild's longstanding crashiness.
2009-04-24 17:49:51 +00:00
ad
c28dc6f757 A workaround for a bug with some Opteron revisions where locked operations
sometimes do not serve as memory barriers, allowing memory references to
bleed outside of critical sections.  It's possible that this is the
reason for pkgbuild's longstanding crashiness.

This is not complete (atomic ops need some work too).
2009-04-24 17:45:40 +00:00
ad
437e4a0d38 - Attach via the kthread so boot is not so slow on some systems with IPMI.
- NOWAIT -> WAITOK
2009-04-24 17:42:03 +00:00
jakllsch
abf7e840eb Add Microchip PICkit 1 to HID blacklist. 2009-04-24 14:16:50 +00:00
jakllsch
e75d76046a regen. 2009-04-24 14:07:36 +00:00
jakllsch
1cdfeda3ef Add Microchip Technology vendor ID and two PICkit device IDs thereof. 2009-04-24 14:06:22 +00:00
pooka
2080685e3d * init pool linksets, makes proplib work. reported by Arnaud Ysmal.
(linksets, sigh)
* reduce #ifdef for RUMP_USE_REAL_ALLOCATORS
2009-04-24 13:27:03 +00:00
macallan
c7d8ba2450 Add wscons support 2009-04-23 20:46:49 +00:00
kefren
02190332dd Add power hooks. Proposed a couple of days ago on tech-kern@, no
objections received. Tested on Dell Inspiron 2200 with BCM4318
2009-04-23 20:24:23 +00:00
njoly
d3dabe1260 Add IPC_64 support for all semctl(2)/msgctl(2). Needed, at least on
i386 for Linux 2.6 emulation.
2009-04-23 17:40:57 +00:00
njoly
c4fb0248d2 Convert si_code value from native to linux. 2009-04-23 17:37:51 +00:00
elad
7f1171f976 - Make kauth(9) call logic match the one in netinet6/in6_pcb.c
- Indent a comment
2009-04-23 17:02:26 +00:00
elad
f2eb9b87ec Some changes to in_pcbbind():
- Extract guts to in_pcbbind_{addr,port}()

  - Put the port auto-assignment logic in in_pcbsetport(), which looks very
    similar to in6_pcbsetport()

  - Fix a bug where "sin" was passed to kauth(9) without being set to
    anything

No objections on tech-net@.
2009-04-23 16:42:56 +00:00
tsutsui
f120aa8526 Make sure to remove all generated files on cleandir. 2009-04-23 16:37:44 +00:00
tsutsui
ded7297540 Use <bsd.klinks.mk> to create machine and ${MACHINE_ARCH} symlinks. 2009-04-23 16:35:20 +00:00
cegger
7c3843a362 pool uses signed int for flags.
undo the int -> u_int change for pmap_pdp_alloc to unbreak the PAE build.
2009-04-23 12:18:41 +00:00
msaitoh
e447a613d9 use proplib 2009-04-23 10:47:43 +00:00
msaitoh
278d80cb78 remove obsolete code. 2009-04-23 10:43:31 +00:00
kefren
62e6076ccd Add pmf hooks. Proposed two days ago on tech-kern@, no objections.
Tested on amd64 with Asus P5Q-E mainboard with onboard Yukon Lite
2009-04-23 09:18:25 +00:00
cegger
e3735e2a6b use top-most bits for PMAP_MD_MASK instead something in the middle.
per request from christos@
2009-04-23 06:22:00 +00:00
elad
f68b0219b0 Per discussion on tech-kern@:
- Replace use of label/goto with returns

  - Rename, change prototype of, and move functions from vfs_subr.c to
    genfs_vnops.c
2009-04-22 22:57:08 +00:00
ad
a19f73310c Always write REDHI before REDLO, since REDLO contains the mask bit. 2009-04-22 22:31:26 +00:00
ad
c1cc516b61 Route all interrupts back to the BP again, for the time being.
Distributing them is causing strange problems on some systems.
2009-04-22 21:20:52 +00:00
ad
3a8f4acadc Make xen kernels build again. 2009-04-22 21:16:40 +00:00
elad
3a272cca86 Only check if the port is used if it was specified.
Should fix problem reported in

    http://mail-index.netbsd.org/current-users/2009/04/22/msg009130.html
2009-04-22 18:35:01 +00:00
christos
2c97c53223 Cast the argument of the __BIT to an unsigned type, since it does not make
sense for it to be signed and gcc complains if it is.
2009-04-22 18:04:02 +00:00
tsutsui
5734d43cbb Build and install bootxx_ustarfs. 2009-04-22 17:20:08 +00:00
tsutsui
8b99674610 Add ustarfs boot support.
This will be useful for disk size independent bootstrap installation image.
2009-04-22 17:13:36 +00:00
cegger
88b0eacb84 change pmap flags argument from int to u_int.
forgot to commit this.
2009-04-22 10:17:48 +00:00
nonaka
e4decce5b3 Add SD/MMC related devices. 2009-04-21 22:47:55 +00:00
cegger
1d89a182fb change pmap flags argument from int to u_int.
discussed with christos@ on source-changes-d@
2009-04-21 21:29:58 +00:00
cube
418489f555 Regen. 2009-04-21 16:36:06 +00:00
cube
25c5d062fb Add a number of products that use Realtek's RTL8187 802.11 chip. 2009-04-21 16:34:41 +00:00
taca
aa7979227e Add support for USB serial adapter REX-USB60F which I tested. 2009-04-21 16:26:01 +00:00
taca
90b2a1c26b Regen. 2009-04-21 16:24:37 +00:00
taca
663028896a Add product id for RATOC USB serial adapter REX-USB60F. 2009-04-21 16:23:36 +00:00
reinoud
91d6e78060 Fix endian related bug when using discs with a meta-data partition on
big-endian machines.
2009-04-21 16:19:00 +00:00
tsutsui
f866ee08fd Add UFS2 boot support. Tested on gxemul. 2009-04-21 16:08:39 +00:00
tsutsui
6bdfd94ab7 Add UFS2 boot support. Tested on lantank. 2009-04-21 15:17:58 +00:00
elad
78fa90b2d3 Remove extra ')'. 2009-04-21 14:51:49 +00:00
tsutsui
34ef135b8c Fix wrong arguments of bus_dmamem_free(9).
XXX: not all resouces are freed properly on error path in age_dma_alloc().
2009-04-21 13:16:36 +00:00
nonaka
1674ba203e Add SH7706 2009-04-21 12:57:41 +00:00
nonaka
e1c4491975 regen 2009-04-21 03:10:41 +00:00
nonaka
e0297d1ead Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.
2009-04-21 03:00:29 +00:00
rafal
a566e67fbe Rework scatter / gather page allocation inspired by r186295 of FreeBSD SVN:
rework drm_scatter.c which allocates scatter / gather pages for use by
    ati pci gart to use bus_dma to handle the allocations.  This fixes
    a garbled screen issue on at least some radeons (X1400 tested).  It is
    also likely that this is the correct fix for PR# 119324, though that
    is not confirmed yet.

Fixes similar issues on a Radeon Mobility X300, non-Mobility X800 (including
a hard-lock of the machine).

With feedback from ad@, ok mrg@
2009-04-21 01:15:37 +00:00