Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (2h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 05:36:18 UTC Now

2010-06-10 17:49:32 UTC MAIN commitmail json YAML

.It, not .IT. Noticed by Henning Petersen in PR 43445.

(dholland)

2010-06-10 17:40:20 UTC matt-nb5-mips64 commitmail json YAML

seperate initializing spl is from initizlizing the PIC:
setting ipl_sr_map is moved from sb1250_icu_init to sb1250_ipl_map_init.

(cliff)

2010-06-10 17:35:04 UTC matt-nb5-mips64 commitmail json YAML

2010-06-10 17:33:21 UTC matt-nb5-mips64 commitmail json YAML

2010-06-10 17:06:01 UTC MAIN commitmail json YAML

Wrap a call to tls_level_lookup() in #if USE_TLS to allow
postfix to build with MKCRYPTO=no.

OK tron@

(riz)

2010-06-10 15:44:44 UTC MAIN commitmail json YAML

Catch up with whitespace changes in df.c rev 1.79 from over 2 years ago!

(pooka)

2010-06-10 15:27:03 UTC MAIN commitmail json YAML

Pull up revision 2f7a426c0f4149d59a7f3717ebedd6c55998e8bc from upstream:

----------
Fix detection of crashed test cases

Prevent cross-test-case contamination that occured when a first test case
passed and the second crashed.  The second could pick up the result of the
first test case and not be reported as failed.

Similarly, change the way timed out test cases are reported back to the
caller.  The creation of a temporary results file was just a really stupid
way of passing information around and introduced false positives if the
test case creates a results file before timing out.

Fixes ticket #35.
----------

Problem originally reported by pooka@.

(jmmv)

2010-06-10 14:12:38 UTC MAIN commitmail json YAML

2010-06-10 13:26:46 UTC MAIN commitmail json YAML

Make ioctl(CG14_SET_PIXELMODE) a proper NetBSD ioctl() ( as in use _IOW ),
also fix some bogosity in colour weights and depth.
With this and the kernel changes committed earlier the cg14 in my SS20 works
with the suncg14 driver.
TODO:
- beat some sanity in the order in which the Xserver issues various ioctl()s
  and opens or closes devices to reduce unnecessary flicker and make sure we
  end up in the right colour mode when entering and exiting X
- add hw cursor support
- support 8 bit visuals along with 24 bit or alone for high resolutions

(macallan)

2010-06-10 13:21:13 UTC MAIN commitmail json YAML

Add a couple more hw offset definitions, add an ioctl() to set colour depth
which works like Solaris and Linux, and finally make mmap() behave like an
actual CG14. This should be all we need to get Xorg's suncg14 driver going.

(macallan)

2010-06-10 06:28:33 UTC MAIN commitmail json YAML

2010-06-10 06:17:21 UTC MAIN commitmail json YAML

2010-06-10 06:09:10 UTC MAIN commitmail json YAML

2010-06-10 06:03:20 UTC MAIN commitmail json YAML

2010-06-10 05:45:50 UTC matt-nb5-mips64 commitmail json YAML

Move "space on 256MB sbmips" comment into alternate of #ifdef where it applies.
Matthew Green noticed this one, thanks.

(cliff)

2010-06-10 05:24:56 UTC MAIN commitmail json YAML

After consultation with jdc@, apply the patch from PR 42412 even though
the crash went away -- it's not clear that it went away for any reason
besides by accident.

The change is: use calloc instead of malloc for allocating SCREENs.

(dholland)

2010-06-10 01:11:26 UTC matt-nb5-mips64 commitmail json YAML

- remove rmixl_spl_init_cpu calls from rmixl_intr_init_cpu
  because rmixl_intr_init_cpu only runs on cpu#0.
  rmixl_spl_init_cpu calls are now done in cpu_rmixl_atach (for cpu#0)
  or cpu_rmixl_hatch (for other cpus).
- add cpu_xls616_erratum to avoid count/compare conflict on XLS616
  XXX VERIFY WITH RMI
- rmixl_spl_init_cpu CPU#0 in attach, others in hatch
- remove splhi/splx for non-cpu#0 work in attach
  interrupts arent enabled yet anyway

(cliff)

2010-06-10 00:43:06 UTC matt-nb5-mips64 commitmail json YAML

- in findroot(), add "sd" to search for root
we are kind of lying about 'booted_device' here,
until we figure out how to get booted dev info from the firmware.

(cliff)

2010-06-10 00:42:16 UTC matt-nb5-mips64 commitmail json YAML

- in setroot(), in the `root on <dev> ...' case, if the lookup failed
and we have no rootdev, then we have to ASK.

(cliff)

2010-06-10 00:41:43 UTC matt-nb5-mips64 commitmail json YAML

- remove rmixl_spl_init_cpu calls from rmixl_intr_init_cpu
because rmixl_intr_init_cpu only runs on cpu#0.
rmixl_spl_init_cpu calls are now done in cpu_rmixl_atach (for cpu#0)
or cpu_rmixl_hatch (for other cpus).
- in evbmips_iointr, be sure to mask out count/compare interrupt
along with softints (these are handled elsewhere)
and improve coments
- fix bug in rmixl_send_ipi: 'cpus_running' is bit-indexed
by ci_index, not ci_cpuid

(cliff)

2010-06-10 00:38:11 UTC matt-nb5-mips64 commitmail json YAML

2010-06-10 00:37:58 UTC matt-nb5-mips64 commitmail json YAML

in pmap_bootstrap:
- increase Sysmapsize to allow mapping all memory (e.g. for big tmpfs)
- when calculating mips_virtual_end, cast Sysmapsize to vaddr_t
before multiplying by NBPG to avoid overflow

(cliff)

2010-06-10 00:37:12 UTC matt-nb5-mips64 commitmail json YAML

in MIPSX(kern_intr), before "Call the interrupt handler",
store s1 to TF_BASE+TF_REG_SR(sp) to save STATUS there.
no big deal, it seems to be unused;  at least now it is unused correctly.

(cliff)

2010-06-10 00:35:18 UTC matt-nb5-mips64 commitmail json YAML

- set mips_locoresw.lsw_bus_error = sibyte_bus_watch_check
- call sb1250_ipl_map_init() to set the ipl_sr_map for sbmips.

(cliff)

2010-06-10 00:33:51 UTC matt-nb5-mips64 commitmail json YAML

- in trap(), if traptype is bus error, call chip-specific bus error
handler in locoresw: (*mips_locoresw.lsw_bus_error)(cause)

(cliff)

2010-06-10 00:32:11 UTC matt-nb5-mips64 commitmail json YAML

- add lsw_bus_error to struct locoresw, provides hook to call
for chip-specific bus error handling/decode from e.g. trap()

(cliff)

2010-06-10 00:30:02 UTC matt-nb5-mips64 commitmail json YAML

2010-06-09 23:02:44 UTC MAIN commitmail json YAML

we can have ldap without crypto

(christos)

2010-06-09 21:55:42 UTC MAIN commitmail json YAML

Allow syslogd to compile when MKCRYPTO=no.  No promises as to whether
it works or not, as this has been broken since late 2008, when the
"encrypted connections" support was added to syslogd.

(riz)

2010-06-09 21:54:21 UTC MAIN commitmail json YAML

Take responsability for Postfix.

(tron)

2010-06-09 21:49:41 UTC MAIN commitmail json YAML

2010-06-09 21:36:45 UTC MAIN commitmail json YAML

Add missing .debug extension.

(njoly)

2010-06-09 19:20:18 UTC MAIN commitmail json YAML

If the definition of a static function is #if DES, the declaration
of it should be too.  Fixes build of ed where MKCRYPTO=no.

(riz)

2010-06-09 19:06:32 UTC MAIN commitmail json YAML

Tag some manpages with "complex" so a build with "MKCOMPLEX=no" completes
successfully.

(riz)

2010-06-09 18:16:27 UTC matt-nb5-mips64 commitmail json YAML

only copy PK_32, left rest of p_flag along.

(matt)

2010-06-09 18:13:46 UTC matt-nb5-mips64 commitmail json YAML

Fix socket passing in netbsd32 compat.  unfdpasses and incoming ssh
interactive session now work.

(matt)

2010-06-09 17:37:24 UTC MAIN commitmail json YAML

2010-06-09 17:34:33 UTC MAIN commitmail json YAML

The sandpoint port is now focussed on 824x based NAS boxes.
Replaced GENERIC by GENERIC.NAS.
Added INSTALL_KURO for KuroBox.
GENERIC.NAS and RAMDISK are no longer needed.

(phx)

2010-06-09 17:29:15 UTC MAIN commitmail json YAML

minor clarification

(dholland)

2010-06-09 16:58:23 UTC MAIN commitmail json YAML

Explain variable expansion better. Requested by Aleksey Cheusov

(christos)

2010-06-09 15:29:58 UTC uebayasi-xip commitmail json YAML

Fix build with DIAGNOSTIC.

(uebayasi)

2010-06-09 14:25:30 UTC matt-nb5-mips64 commitmail json YAML

Don't clear SOFT_INT bits in spl0.

(matt)

2010-06-09 14:24:12 UTC matt-nb5-mips64 commitmail json YAML

Add a _IPL_NAMES(pfx) which is a list of strings corresponding to the
IPL names.

(matt)

2010-06-09 14:22:17 UTC matt-nb5-mips64 commitmail json YAML

2010-06-09 14:20:00 UTC matt-nb5-mips64 commitmail json YAML

Add support for setting/clearing PK_32 on _LP64 kernels.  Make cpu_proc_fork
a real function and add it to vm_machdep.c and let it copy PK_32 on fork.
Properly clear/set PK_32 depending on ABI in setregs.  Lack of PX_32 use
tracked down by Cliff Neighbors.  [Ya! ps now works!]

(matt)

2010-06-09 14:08:17 UTC MAIN commitmail json YAML

2010-06-09 13:51:02 UTC MAIN commitmail json YAML

initialize specificdata for lwp0 too

(pooka)

2010-06-09 13:44:24 UTC MAIN commitmail json YAML

Reference aps(4) and thinkpad(4) with each other.

In aps(4) note that sensor values are refreshed every 0.5 seconds, which may
have a negative effect on battery life.

(Since the sensors are purely descriptive and no time-sensitive protective
measures are being carried out, it would probably be a good idea to remove
the whole callout(9) from the driver and let the sysmon's poll cycle take
over.)

(jruoho)

2010-06-09 13:44:22 UTC MAIN commitmail json YAML

take care of the usual pastos invisible to the human eye

(pooka)

2010-06-09 13:33:13 UTC MAIN commitmail json YAML

Revert previous - it was committed unintentionally along with other changes.

(pgoyette)

2010-06-09 12:40:49 UTC MAIN commitmail json YAML

2010-06-09 12:38:15 UTC MAIN commitmail json YAML

arbor days are here again

(pooka)

2010-06-09 12:35:46 UTC MAIN commitmail json YAML

Add a test which checks autoloading modules from the host's
/stand/arch/vers/kmods works in rump (and that the result is usable ;).

On i386 this "just works".  For amd64, due to -mcmodel=kernel,
things are a little more complicated.  We must have the entire rump
kernel loaded in the lower 2GB.  Currently, this can be done either
by using the non-PIC version for the rump kernel compiled with
-mcmodel=small, or, as njoly pointed out, using netbsd32, which
causes vm_default_addr() to give something in the lower 2GB and
therefore shared libs "magically" getting loaded there.  I guess
it would be possible to put a suggested vaddr into the rump kernel
libs and make ld.elf_so map memory from the suggested address if
present ... but that's another show.

Also thanks to tron for access to an amd64 so that I could verify
the test works.

(pooka)

2010-06-09 12:02:37 UTC MAIN commitmail json YAML

On amd64, allocate module_map memory from the lowest 2GB.

(pooka)

2010-06-09 11:35:36 UTC MAIN commitmail json YAML

Add the ability to specify a preferred address the "map anon memory"
hypercall.

(pooka)

2010-06-09 08:37:16 UTC MAIN commitmail json YAML

``twistymount'' regression test for scenario described in PR kern/43439

(pooka)

2010-06-09 07:54:13 UTC MAIN commitmail json YAML

Similarly to cv_wait, fail if trying to cv_wait_sig() without threads.

(pooka)

2010-06-09 05:00:25 UTC MAIN commitmail json YAML

ofppc: Support Gigabit Ethernet Controller for MV64361 on PegasosII by mvgbe@gt.

(kiyohara)

2010-06-09 04:51:53 UTC MAIN commitmail json YAML

Remove _PATH_NOLOGIN before reboot, as well as before exit(), to prevent
a root file system which has been marked read-only in fstab from continuing
to prevent logins after reboot.  From Ian D. Leroux in PR#43390.

(riz)

2010-06-09 04:48:02 UTC MAIN commitmail json YAML

Add mvgbe and gtpci.
Change gt devices to MI from evbppc.

(kiyohara)

2010-06-09 04:44:01 UTC MAIN commitmail json YAML

2010-06-09 04:41:43 UTC MAIN commitmail json YAML

2010-06-09 04:20:10 UTC MAIN commitmail json YAML

pci_chipset_tag_t is opaque - don't compare it to NULL, just use it.
shouldn't be a problem because "acpi_softc" variable isn't setup until
the "sc_pc" member is set.

fixes ia64 build.  tested on amd64.  ok jruoho.

(mrg)

2010-06-09 02:48:52 UTC MAIN commitmail json YAML

2010-06-09 02:39:32 UTC MAIN commitmail json YAML

declare 'struct pci_attach_args' before it is used.  fixes ia64 build.

(mrg)

2010-06-09 02:19:51 UTC MAIN commitmail json YAML

Fix debug messages.
  - s/DEBUG/GT_DEBUG/.
  - Indent.
  - The old one is 20 bits in the mask of the address register, and the
    new one is 16 bits.

(kiyohara)

2010-06-08 22:22:25 UTC MAIN commitmail json YAML

Note that MKZFS is actually "yes" on i386/amd64.

(riz)

2010-06-08 21:57:50 UTC MAIN commitmail json YAML

The previous revision worked brilliantly if all you wanted to test
was autoload *not* working with an alternate path.  This revision
make the code double as good in the sense that it now works also
in case you *do* want it to work.

(pooka)

2010-06-08 21:47:27 UTC MAIN commitmail json YAML

Only check the parent's power state if the parent has power management
capabilities. Based on a short DSDT survey, not all systems adhere to the
model noted in the comment.

(jruoho)

2010-06-08 20:40:07 UTC MAIN commitmail json YAML

Add quirks for Creative Nomad MuVo, it chokes when told to prevent
media removal or synchronize cache.  Should fix PR#30389.

(jakllsch)

2010-06-08 19:44:28 UTC MAIN commitmail json YAML

Add FUNCTIONS. List only complete prototypes in SYNOPSIS. Sort SYNOPSIS
according to the appearance in FUNCTIONS. Fix typo; cnm_trap() -> cn_trap().
Remove the .Va typedef struct cnm_state cnm_state_t; in SYNOPSIS. And some
miscellaneous markup improvements.

(jruoho)

2010-06-08 19:28:56 UTC MAIN commitmail json YAML

Offset indent the example.

(jruoho)

2010-06-08 18:38:18 UTC MAIN commitmail json YAML

Fix a comment and some debug printing.

(jruoho)

2010-06-08 18:29:11 UTC matt-nb5-mips64 commitmail json YAML

pulled fix from -current (1.207) back to setroot():
when there is a rootspec, but it's a disk, don't say it's "not configured"
just on the basis of finddevice() returning NULL -- that will always happen
when e.g. rootspec is "sd0a" and the device xname is "sd0".

(cliff)

2010-06-08 18:18:25 UTC MAIN commitmail json YAML

Error out if we try to set power to a higher-power state than the parent's
state. This follows the "bus power state" -logic noted in the spec:

        bus: D1
                device A : D1 -> D0 -> error
                device B : D1 -> D2 -> success

                -> bus must remain in D1 due device A

Following this scheme, it is easy to derive the "bus power state" now that
we have the device nodes in a tree-like structure. If required, separate
acpi_power_get_bus() and acpi_power_set_bus() can be added in the future.

(jruoho)

2010-06-08 18:04:17 UTC MAIN commitmail json YAML

use modulo instead of logical and. from pooka

(christos)

2010-06-08 17:17:33 UTC MAIN commitmail json YAML

Allow to set a non-standard module_base for host kernel module loading.

(pooka)

2010-06-08 17:12:32 UTC MAIN commitmail json YAML

fix build breakage by multiple definition of __mb_cur_max.

(tnozaki)

2010-06-08 17:04:49 UTC MAIN commitmail json YAML

Add PNP0C33, "a hardware error device". Part of APEI.

(jruoho)

2010-06-08 16:55:02 UTC MAIN commitmail json YAML

Add and organize some comments. Add also ACPI_DEVICE_EJECT constant to
indicate "ejectable" devices such as docking stations.

(jruoho)

2010-06-08 16:49:53 UTC MAIN commitmail json YAML

Use the same notation with the PNP identifiers. Specifically note that
PNP0C80 is the device that is required for memory hot-plug on x86.

(jruoho)

2010-06-08 15:32:55 UTC MAIN commitmail json YAML

Allow loading the symbols from objects which are not directly mapped
into memory, namely the main object (i.e. map->l_addr is NULL).

(pooka)

2010-06-08 13:48:58 UTC MAIN commitmail json YAML

explain why this code is there.

(christos)

2010-06-08 13:36:35 UTC MAIN commitmail json YAML

2010-06-08 13:22:04 UTC MAIN commitmail json YAML

Add a couple entries for ATI Radeon 4250 HD

(pgoyette)

2010-06-08 12:52:51 UTC MAIN commitmail json YAML

GDT, IDT, ISR, IST, IVT, LDT, LTR, MSI, SCI, SMI, TR, TSS.

(jruoho)

2010-06-08 10:43:40 UTC MAIN commitmail json YAML

Use rump component libs on all platforms.  I'll add kernel module
autoloading as a separate test later.

(pooka)

2010-06-08 09:02:55 UTC MAIN commitmail json YAML

Remove the unnecessary example.

(jruoho)

2010-06-08 09:00:53 UTC MAIN commitmail json YAML

Put also powerof2(9) to SEE ALSO.

(jruoho)

2010-06-08 09:00:22 UTC MAIN commitmail json YAML

Xref ilog2(3) and imax(9).

(jruoho)

2010-06-08 08:55:46 UTC MAIN commitmail json YAML

2010-06-08 08:51:09 UTC MAIN commitmail json YAML

2010-06-08 08:24:16 UTC MAIN commitmail json YAML

Procfs_lookup() does not lookup directory descriptors in the fd/
subdirectory.  There is no need for recursive vnode locking here.

Ok: Christos Zoulas <christos@netbsd.org>

(hannken)

2010-06-08 08:20:38 UTC MAIN commitmail json YAML

Three small markup improvements.

(jruoho)

2010-06-08 07:20:20 UTC MAIN commitmail json YAML

2010-06-08 06:30:42 UTC MAIN commitmail json YAML

get rid of the cg3/cg8 'emulation' kludge since we have the xf86-video-suncg14
driver now
this will probably need some work in cgfourteenmmap() to match what the
driver expects from a cg14

(macallan)

2010-06-08 06:14:58 UTC MAIN commitmail json YAML

properly document alpha ddb "mach" commands.  PR#38303.

(mrg)

2010-06-08 06:11:05 UTC MAIN commitmail json YAML

2010-06-08 05:56:59 UTC MAIN commitmail json YAML

2010-06-08 05:50:02 UTC MAIN commitmail json YAML

2010-06-08 05:40:28 UTC MAIN commitmail json YAML

Briefly document the bintime_add() family of static inline functions.

(jruoho)

2010-06-08 05:38:32 UTC MAIN commitmail json YAML

2010-06-08 05:20:35 UTC MAIN commitmail json YAML

2010-06-08 05:15:52 UTC MAIN commitmail json YAML

Support big endian machines.

(kiyohara)

2010-06-08 05:06:10 UTC MAIN commitmail json YAML

attach on Sil240 and IXP 300 chips as well, as if they are 3112
variants.  should fix PR#32577, id's found in linux driver.

(mrg)

2010-06-08 04:58:37 UTC MAIN commitmail json YAML

2010-06-08 04:58:03 UTC MAIN commitmail json YAML

add two pciids for the satalink driver, from the linux driver, for PR#32577.

(mrg)

2010-06-08 04:31:43 UTC MAIN commitmail json YAML

2010-06-08 04:31:23 UTC MAIN commitmail json YAML

include a config.h for openchrome as well.  part of PR#43433.

(mrg)

2010-06-08 04:11:07 UTC MAIN commitmail json YAML

Remove SIOCGIFADDR. Noted by Ross Patterson in PR kern/21513.

(jruoho)

2010-06-08 04:08:37 UTC MAIN commitmail json YAML

Grammar, markup.

(jruoho)

2010-06-08 03:30:00 UTC uebayasi-xip commitmail json YAML

2010-06-08 03:08:48 UTC MAIN commitmail json YAML

Fix spelling of "whether", from Ryo HAYASAKA in PR 43432.

(riz)

2010-06-07 18:40:16 UTC MAIN commitmail json YAML

Add a missing word.

(jruoho)

2010-06-07 17:28:17 UTC MAIN commitmail json YAML

Now that we have 1:1 mapping between handles and nodes, use the former for
all power resource operations. Eliminates the wrapper functions.

(jruoho)

2010-06-07 17:13:52 UTC MAIN commitmail json YAML

Use the new ACPICA functions AcpiAttachData() and AcpiGetData() to associate
all "struct acpi_devnodes" to their corresponding ACPI_HANDLEs. Anywhere in
the acpi(4) subtree, the node-structure can be obtained from a handle via
acpi_get_node(). The idea is similar to e.g. device_private().

Benefits: (a) simplifies code, (b) avoids issues with locking as ACPICA does
the serialization for us, (c) avoids the need to access the glocal softc, and
(d) avoids the O(n) loop required to search for a handle from the node queue.

(jruoho)

2010-06-07 16:57:17 UTC uebayasi-xip commitmail json YAML

2010-06-07 16:37:07 UTC MAIN commitmail json YAML

2010-06-07 16:33:45 UTC MAIN commitmail json YAML

Grammar and spacing fixes.

(wiz)

2010-06-07 15:17:24 UTC MAIN commitmail json YAML

2010-06-07 14:12:20 UTC MAIN commitmail json YAML

Fix a bug: the last elements in the _PRW package are direct references to
power resources, not devices. Thus, we can not use the function that sets
the power state of a device.

(jruoho)

2010-06-07 14:07:25 UTC MAIN commitmail json YAML

Refactor slightly: we need to expose the function that turns individual
power resource on or off.

(jruoho)

2010-06-07 13:57:20 UTC MAIN commitmail json YAML

Rump components do not, at least for now, get to tell what's NEEDED.

(pooka)

2010-06-07 13:52:31 UTC MAIN commitmail json YAML

1. MB_LEN_MAX switch MD to MI.
2. unfortunately hppa's MB_LEN_MAX is defined incorrectly 6 instead of 32
  so we have to add more setlocale(3) __RENAME func, __setlocale50.
3. move setlocale1.c and setlocale32.c to lib/libc/compat/locale/*
  prepareing for next libc major crunk.
4. bump libc minor version.

(tnozaki)

2010-06-07 13:33:33 UTC MAIN commitmail json YAML

Now that bus_handle_t is signed, avoid % operations on it. Convert all
% PAGE_SIZE to & PAGE_MASK. We don't expect to support non power of two
page sizes anytime soon ;-)
This makes PCI work again on my au1550.

(martin)

2010-06-07 13:04:31 UTC MAIN commitmail json YAML

Build the power resource queue dynamically. This eliminates the need to call
acpi_power_res_add() in the main scan function, also saving few bytes of
memory.

(jruoho)

2010-06-07 11:23:07 UTC MAIN commitmail json YAML

no need to typecast in pathconf anymore

(pooka)

2010-06-07 11:22:36 UTC MAIN commitmail json YAML

Reenable pathconf now that the retval argument is register_t.

(pooka)

2010-06-07 11:21:31 UTC MAIN commitmail json YAML

Make retval argument for pathconf a register_t to match VOP_PATHCONF.
This makes the size the same on 64bit archs.  Don't bother bumping
any version, since you'd have explicitly had to jump through some
hoops to use pathconf before.

(pooka)

2010-06-07 08:39:04 UTC MAIN commitmail json YAML

Note ACPIVERBOSE. Use lower case letters in .Ss subtitles.

(jruoho)

2010-06-07 07:39:43 UTC MAIN commitmail json YAML

Remove some leftover .\" comments.

The sysctl variables will be described in sysctl(7).

(jruoho)

2010-06-07 07:26:21 UTC MAIN commitmail json YAML

Build links also for mq_timedreceive(3) and mq_timedsend(3).

(jruoho)

2010-06-07 07:21:52 UTC MAIN commitmail json YAML

2010-06-07 07:11:28 UTC MAIN commitmail json YAML

Add mq(3), a manual page for the POSIX message queues. This tries to act as
a short introduction to the rationale and API, noting also some pros and cons.

rmind@: basically ok. Please feel free to adjust, correct, and extend.

(jruoho)

2010-06-07 04:48:47 UTC MAIN commitmail json YAML

Add "optional" keyword to rc.d/xdm and rc.d/xfs. Fixes PR misc/43307.

(jruoho)

2010-06-07 04:36:34 UTC MAIN commitmail json YAML

Improve wording describing the behavior of the attributes argument, and
add reference to pthread_attr(3), as requested in PR 42871. The text
added is different from but based on a suggestion by Matthew Mondor.

(dholland)

2010-06-07 04:08:26 UTC MAIN commitmail json YAML

Instead of disabling all GPEs for non-wakedevs, set both runtime and wake
GPEs, but unset only wake GPEs. The old behavior was questionable, as the
intention was only to disable a device's ability to wake the system.
Maintaining the runtime GPE generation is more important now as ACPICA
supports sharing a single GPE across multiple devices.

Discussed with jmcneill@.

(jruoho)

2010-06-07 03:43:51 UTC MAIN commitmail json YAML

Remove a test (that a created directory had a predictable inode number)
that no longer makes sense since the vmlocking2 branch was merged.

(riz)

2010-06-07 03:39:41 UTC MAIN commitmail json YAML

Use atf_check to su in a couple cases, to make the test failure
easier to understand when the unprivileged user has /sbin/nologin
for a shell.

(riz)

2010-06-07 01:56:51 UTC MAIN commitmail json YAML

Four more quirky umass(4)es.
These include the Philips SA235, and iRiver iFP-series audio players.
Mostly from PR#25440 and PR#43264.

(jakllsch)

2010-06-07 01:45:28 UTC MAIN commitmail json YAML

Update acpiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.

(pgoyette)

2010-06-07 01:41:40 UTC MAIN commitmail json YAML

Update scsiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.

(pgoyette)

2010-06-06 23:11:05 UTC MAIN commitmail json YAML

Actually, disable pathconf for a while longer: the retval needs a
little finetuning (not that everyone is jumping right to using it,
but fixing will have to wait until tomorrow, and who knows what
i'll forget during the night and how long it will eventually take).

(pooka)

2010-06-06 23:02:32 UTC MAIN commitmail json YAML

2010-06-06 23:01:05 UTC MAIN commitmail json YAML

Add Philips SA235 Digital Audio Player.

This USB Mass Storage Class device stops responding after a
SCSI PREVENT ALLOW MEDIUM REMOVAL command.

(jakllsch)

2010-06-06 22:56:48 UTC MAIN commitmail json YAML

Sort Sigmatel products.

(jakllsch)

2010-06-06 22:46:17 UTC MAIN commitmail json YAML

Pass VOP_PATHCONF to backend file server.  inspired by njoly.

(pooka)

2010-06-06 22:44:54 UTC MAIN commitmail json YAML

signal pathconf in the vector of supported ops

(pooka)

2010-06-06 20:10:03 UTC MAIN commitmail json YAML

2010-06-06 20:09:38 UTC MAIN commitmail json YAML

Make vers.c depend on sys/param.h too, to ensure that this file is
regenerated for on kernel version bump. Avoids __NetBSD_Version__ and
osrelease out of sync problem for mkupdate builds.

ok from pooka@.

(njoly)

2010-06-06 19:42:16 UTC MAIN commitmail json YAML

Fix a build failure.

Apparently upstream does not bother to test-build their own releases.

(jruoho)

2010-06-06 19:35:39 UTC MAIN commitmail json YAML

Add missing files required for iASL from ACPICA 20100528.

(jruoho)

2010-06-06 19:19:58 UTC MAIN commitmail json YAML

Note the ACPICA update to 20100528.

(jruoho)

2010-06-06 18:58:26 UTC MAIN commitmail json YAML

Update usbverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.

(pgoyette)

2010-06-06 18:58:24 UTC MAIN commitmail json YAML

Update pciverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.

(pgoyette)

2010-06-06 18:58:22 UTC MAIN commitmail json YAML

Update miiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.

(pgoyette)

2010-06-06 18:56:10 UTC MAIN commitmail json YAML

We can no longer explicitly clear a GPE by calling AcpiClearGpe() in the
interrupt handler. However, all edge-triggered GPEs should already be
cleared before our GPE handler has a chance to run.

The reason can be found from the changes in the locking primitives of
ACPICA. All GPE operations now use a spin mutex on AcpiGbl_GpeLock, acquired
via AcpiOsAcquireLock(). This same lock is now acquired unconditionally in
the AcpiClearGpe() function. This causes a deadlock of the following form:

  ...

  AcpiEvGpeDetect() : acquire AcpiGbl_GpeLock;

  -> AcpiEvGpeDispatch();

  -> acpiec_gpe_handler();

  -> AcpiClearGpe() : acquire AcpiGbl_GpeLock;

  -> panic.

(jruoho)

2010-06-06 18:40:51 UTC MAIN commitmail json YAML

ACPICA 20100331:

Completed a major update for the GPE support in order to improve
support for shared GPEs and to simplify both host OS and ACPICA
code. Added a reference count mechanism to support shared GPEs that
require multiple device drivers.  Several external interfaces have
changed. One external interface has been removed. One new external
interface was added. Most of the GPE external interfaces now use the
GPE spinlock instead of the events mutex (and the Flags parameter
for many GPE interfaces has been removed.) See the updated ACPICA
Programmer Reference for details. Matthew Garrett, Bob Moore, Rafael
Wysocki. ACPICA BZ 831.

Changed:
    AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
Removed:
    AcpiSetGpeType
New:
    AcpiSetGpe

(jruoho)

2010-06-06 18:34:45 UTC MAIN commitmail json YAML

Add new files from ACPICA 20100528.

(jruoho)

2010-06-06 18:33:15 UTC MAIN commitmail json YAML

2010-06-06 18:28:36 UTC MAIN commitmail json YAML

src/sys/external/intel-public/acpica/dist/common/dmtbinfo.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/debugger/dbcmds.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/debugger/dbexec.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/debugger/dbinput.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/debugger/dbutils.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/disassembler/dmresrc.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/dispatcher/dsopcode.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/events/evrgnini.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/executer/exdump.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/include/acdisasm.h@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/include/acglobal.h@1.3 / diff / nxr@1.3
src/sys/external/intel-public/acpica/dist/include/acinterp.h@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/include/aclocal.h@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/include/acnamesp.h@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/include/acpiosxf.h@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/include/acpixf.h@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/include/actables.h@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/include/actypes.h@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/namespace/nsaccess.c@1.4 / diff / nxr@1.4
src/sys/external/intel-public/acpica/dist/namespace/nsdump.c@1.4 / diff / nxr@1.4
      :
(more 11 files)
Merge ACPICA 20100528

(jruoho)

2010-06-06 18:18:09 UTC MAIN commitmail json YAML

Import ACPICA 20100528.


Status:

Vendor Tag: intel
Release Tags: acpica-20100528

(jruoho)

2010-06-06 17:28:48 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2010-06-06 12:37:57 UTC MAIN commitmail json YAML

fix conditional, from dholland.

(christos)

2010-06-06 12:13:36 UTC MAIN commitmail json YAML

MULTIPROCESSOR fixes

- provide curcpu in a control register instead of curlwp
- define {GET,SET}_CURLWP and GET_CURCPU and use whereever possible.
- define a cpu count and use it in CPU_INFO_FOREACH

XXX hppa_ncpus isn't valid yet.

(skrll)

2010-06-06 11:41:06 UTC MAIN commitmail json YAML

Only include opt_m68k_arch.h if _KERNEL_OPT is defined, so that librump
builds again.  OK'ed by mrg@.

(he)

2010-06-06 10:44:41 UTC MAIN commitmail json YAML

Although sysmon_pswitch_unregister(9) does not currently do anything, in
order to be ready for possible future API changes, call it if we failed to
install the fixed event handlers. Also small ACPI_DEBUG_PRINT clarifications.

(jruoho)

2010-06-06 10:22:43 UTC MAIN commitmail json YAML

Fix CPU_INFO_FOREACH in previous.

(skrll)

2010-06-06 10:15:51 UTC MAIN commitmail json YAML

2010-06-06 09:12:39 UTC MAIN commitmail json YAML

Pullup across/adapt fix from OpenBSD:

Properly initialize the members of `struct mdproc' that deal with
single-stepping when we fork and reset them upon exec.

(skrll)

2010-06-06 08:01:32 UTC MAIN commitmail json YAML

2010-06-06 07:46:18 UTC MAIN commitmail json YAML

Follow the correct locking protocol when creating an LWP and the process
is stopping.

Problem found by running the gdb testsuite (gdb didn't have pthreads
support)

Thanks to rmind for help with this.

(skrll)

2010-06-06 06:20:16 UTC MAIN commitmail json YAML

Improve previous: there were two printfs and I'd only noticed and fixed
one of them. PR 43217.

(dholland)

2010-06-06 06:12:49 UTC MAIN commitmail json YAML

Add missing backslash in macro definition in apparently-disused #if branch.
(has been this way since 2001)
From Henning Petersen in PR 42525.

(dholland)

2010-06-06 06:10:03 UTC MAIN commitmail json YAML

Add missing close-parenthesis; reported by Henning Petersen in PR 42526.
(HI CEGGER!)

(dholland)

2010-06-06 04:52:17 UTC MAIN commitmail json YAML

2010-06-06 04:52:01 UTC MAIN commitmail json YAML

fix PR 6724 - convert m68k options to defflag's.  this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC

(mrg)

2010-06-06 04:51:33 UTC MAIN commitmail json YAML

fix PR 6724 - convert m68k options to defflag's.  this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC

(mrg)

2010-06-06 04:51:13 UTC MAIN commitmail json YAML

Document the changes in the previous version of this file. If we're
going to whitewash the test failures, we should at least keep track of
what the "real" correct behavior/output is. Especially since a large
portion of the tests in here were added specifically to illuminate
points at issue in prior discussions.

(dholland)

2010-06-06 04:50:08 UTC MAIN commitmail json YAML

fix PR 6724 - convert m68k options to defflag's.  this means that
M680[12346] are now available from opt_m68k_arch.h.  FPSP meantioned
in the PR has already been fixed, and i could not find any more.

i built these kernels to ensure i did not break their builds:

amiga: GENERIC DRACO
atari: HADES FALCON MILAN-PCIIDE
mac68k: GENERIC
sun2: GENERIC
sun3: GENERIC GENERIC3X
cesfic: attempted GENERIC, does not build due to lack of machine/bus.h
hp300: GENERIC
luna68k: GENERIC
mvme68k: GENERIC
news68k: GENERIC
next68k: GENERIC
x68k: GENERIC

(mrg)

2010-06-06 03:34:14 UTC MAIN commitmail json YAML

2010-06-06 03:26:57 UTC MAIN commitmail json YAML

note that sun2 has the same ddb mach commands as sun3/sun3x.  part of PR#38310

(mrg)

2010-06-06 02:51:46 UTC MAIN commitmail json YAML

fix some errors in debug code, found by henning petersen in PR#42529.

(mrg)

2010-06-06 01:13:12 UTC MAIN commitmail json YAML

Add .export-env which tells make to export a variable to the environment
but not to track it - as is done for .export
This allows the variable to be updated without affecting what was put
into the environment.
Older versions of make will simply treat this as .export

(sjg)

2010-06-06 00:00:33 UTC MAIN commitmail json YAML

Fix typo in comment.

(wiz)

2010-06-05 22:39:19 UTC MAIN commitmail json YAML

2010-06-05 22:38:39 UTC MAIN commitmail json YAML

Add a very basic test and some tests for the problem in PR 43358.

XXX: the sort tests in src/regress should be folded into this

(dholland)

2010-06-05 20:53:44 UTC MAIN commitmail json YAML

The US formally left the Gold Standard in 1971, not 1933.  See:
http://en.wikipedia.org/wiki/Nixon_Shock

(jnemeth)

2010-06-05 17:46:08 UTC MAIN commitmail json YAML

Rework previous change to fixit() to not trip on option arguments. (Noticed
by wiz.) Clarify the loop logic involved.

(dholland)

2010-06-05 17:44:51 UTC MAIN commitmail json YAML

fixit() needs to know the getopt options list to do its thing correctly.

(dholland)

2010-06-05 16:57:48 UTC MAIN commitmail json YAML

Remove also the debug-printf in case of long Stall() requests;

      /*
* sleep(9) isn't safe because AcpiOsStall may be called
* with interrupt-disabled. (eg. by AcpiEnterSleepState)
* we should watch out for long stall requests.
*/

ACPICA has long printed a similar warning by itself. Moreover, this message
was never reached as the interpreter does not invoke AcpiOsStall() when a
delay longer than 255 usec is requested.

(jruoho)

2010-06-05 16:47:49 UTC MAIN commitmail json YAML

Remove the recently added warning about long Sleep() requests.

This is now in ACPICA (20100528):

Added support to limit the maximum time for the ASL Sleep()
operator. To prevent accidental deep sleeps, limit the maximum time
that Sleep() will actually sleep. Configurable, the default maximum
is two seconds. ACPICA bugzilla 854.

(jruoho)

2010-06-05 16:37:13 UTC MAIN commitmail json YAML

2010-06-05 15:47:59 UTC MAIN commitmail json YAML

Switch the third argument to the _DSW method from 3 to 0. This means that
devices should be placed in the D0 state ("fully on") after resume. We were
not prepared to handle the previous value as it implied that devices could
be placed in an arbitrary power state once in S0.

Minimal functional change, given that the _DSW is seldom seen in the field.

(jruoho)

2010-06-05 15:31:22 UTC MAIN commitmail json YAML

Complete the support for wakeup devices. As imposed by the standard, all
power resources should be turned on for wakeup devices. This follows common
sense: a device cannot wake if the power of it is turned off.

ok jmcneill@

(jruoho)

2010-06-05 13:59:39 UTC MAIN commitmail json YAML

In ftpvis(), prevent incomplete escape sequences at end of dst,
and ensure NUL-termination of dst.  Also tweak for readibility.
Fix from Uwe Stuehler and Stefan Sperling, via Marc Balmer.

(lukem)

2010-06-05 07:59:13 UTC MAIN commitmail json YAML

Convert an aprint_error_dev() to ACPI_DEBUG_PRINT in acpi_power_set().

This "fixes" the issue observed by dyoung@. Since the AML may not keep any
state by itself, it is possible that the firmware tries to continuously put
a device into a power state where the device already is (e.g. D3 -> D3).

XXX: The code (like the old power resource code) rests on the assumption
    that it is possible to reliably obtain the power state of a device
    either directly via _PSC or indirectly via _STA. However, because there
    is some evidence that few broken systems implement these methods
    incorrectly (e.g. always returns D0 as a constant, even if the state
    would be D3 in reality), we may need to revisit this by always setting
    the power state, even if it is impossible to get the power state.

(jruoho)

2010-06-05 06:07:12 UTC MAIN commitmail json YAML

2010-06-05 03:24:02 UTC MAIN commitmail json YAML

Avoid SIGSEGV on out-of-range time_t.

(dholland)

2010-06-05 03:02:37 UTC MAIN commitmail json YAML

PR: 39604
Reviewed by:

add_glob:
Do not stop scanning if we see '$' as it does more harm than good.
For $HOME/tm we should return $HOME/tm*

(sjg)