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 (5h)  netbsd-10 (17d)  netbsd-9 (17d)  netbsd-8 (22d) 

2024-06-03 01:47:59 UTC Now

2010-03-08 10:57:25 UTC MAIN commitmail json YAML

2010-03-08 10:56:12 UTC MAIN commitmail json YAML

need -Irumpkern for RUMP_COMPONENT

(pooka)

2010-03-08 10:54:22 UTC MAIN commitmail json YAML

2010-03-08 10:53:03 UTC MAIN commitmail json YAML

Add a detachment routine.

(jruoho)

2010-03-08 10:36:10 UTC MAIN commitmail json YAML

Update minimum to make compile.  i don't have the hardware anymore,
so i can't test other changes.

(pooka)

2010-03-08 10:30:17 UTC MAIN commitmail json YAML

2010-03-08 10:24:37 UTC MAIN commitmail json YAML

2010-03-08 10:19:15 UTC MAIN commitmail json YAML

Add a highly experimental pseudo-root feature to be used in conjuction
with the also-experimental ioconf keyword.  pseudo-root allows to
specify a root at any point in the device tree without having
attachments from the actual root.

For example, instead of having a config file like this:
mainbus0 at root
bus_a? at mainbus0
bus_b? at bus_a*
device7 at bus_b?

You can have one like this:
pseudo-root bus_b*
device7 at bus_b?

This will produce the relevant ioconf.c glue for device number 7
only instead of the whole 9 yards from root.  Perhaps needless to
say, this can be used to generate snippets of config glue for
modules and, let's not deny that my main motivation for doing this,
rump components.

This is part 2/3 of my modifications to config (the last part is
autogenerating source file lists and component Makefiles).

No strong objection from cube (after a little pressuring ;), but
like he said, the implementation will most likely need some more
tweaking and may not work correctly under all pseudo-root uses yet.

(pooka)

2010-03-08 09:32:18 UTC MAIN commitmail json YAML

Fix the setting of MKZFS for amd64 and i386, so that the set lists
match up again, and it matches with the comment a few lines above.

(he)

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

blast_dcache() SMP friendly:

- blast_dcache() becomes sp_blast_dcache(dcache_size, dcache_line_size)
- new smp_blast_dcache(sparc64_cpuset_t) that blasts the D$ on this cpuset
- sparc64_ipi_blast_dcache() to support the above
- in pmap_remove_all(), when freeing mmu contexts for this pmap, mark
  the set of cpus to blast the d$ on as well and convert the
  blast_dcache() call into smp_blast_dcache() on the cpus who ran this
  pmap, or, sp_blast_dcache(dcache_size, dcache_line_size)
- convert the remaining blast_dcache() in machdep.c to sp_blast_dcache()
- in pmap_destroy()/pmap_remove_all() take the pmap_lock() always since
  we assert it is held always.

with these changes, NFS builds on the U60 seem to be stable now, and
the USIII machines also can often complete a single build.sh run now,
diskful or diskless.

reviewed by mlelstv and partially by martin, tested by martin and myself,
with some ideas from chuq as well.

(mrg)

2010-03-08 08:56:03 UTC MAIN commitmail json YAML

ensure that we have an element in the array before we try to store a value
in it.

(agc)

2010-03-08 07:42:47 UTC MAIN commitmail json YAML

2010-03-08 07:37:24 UTC MAIN commitmail json YAML

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

openldap updated to 2.4.21

(lukem)

2010-03-08 06:45:13 UTC MAIN commitmail json YAML

openldap 2.4.21

(lukem)

2010-03-08 06:43:18 UTC MAIN commitmail json YAML

fixed rcsids on 2.4.21 import

(lukem)

2010-03-08 06:42:31 UTC MAIN commitmail json YAML

openldap2netbsd - script to munge rcsids, and otherwise prepare for import

(lukem)

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

2010-03-08 05:45:24 UTC MAIN commitmail json YAML

2010-03-08 05:25:00 UTC MAIN commitmail json YAML

2010-03-08 05:24:33 UTC MAIN commitmail json YAML

2010-03-08 05:23:41 UTC MAIN commitmail json YAML

support building without common.c (for ldapurl)

(lukem)

2010-03-08 05:19:10 UTC MAIN commitmail json YAML

2010-03-08 05:18:17 UTC MAIN commitmail json YAML

2010-03-08 05:17:25 UTC MAIN commitmail json YAML

2010-03-08 05:11:20 UTC MAIN commitmail json YAML

2010-03-08 05:08:41 UTC MAIN commitmail json YAML

2010-03-08 05:07:40 UTC MAIN commitmail json YAML

2010-03-08 05:07:16 UTC MAIN commitmail json YAML

Disable HAVE_TLS here; we'll conditionally enable it in the Makefiles.
Disable HAVE_FETCH; API appears to be incompatible

(lukem)

2010-03-08 05:00:51 UTC MAIN commitmail json YAML

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

2010-03-08 04:18:48 UTC MAIN commitmail json YAML

- when given "boot -1", apply the !MULTIPROCESSOR cpu_match() criteria.

- don't print cache sizes * associativity.  this has been wrong for years.

(mrg)

2010-03-08 03:47:40 UTC MAIN commitmail json YAML

2010-03-08 02:35:50 UTC MAIN commitmail json YAML

These functions are going to first appear in 5.1, not 6.0.

(snj)

2010-03-08 02:34:54 UTC MAIN commitmail json YAML

2010-03-08 01:05:20 UTC MAIN commitmail json YAML

2010-03-07 23:49:14 UTC MAIN commitmail json YAML

indentation/whitespace

(dholland)

2010-03-07 23:45:23 UTC MAIN commitmail json YAML

remove stray semicolon

(dholland)

2010-03-07 23:28:14 UTC MAIN commitmail json YAML

Add a simple tty server which attaches to /dev/ttyU in the rump
kernel and provides the same device on the host with pud(4).  I
can succesfully talk to my u3g device using tip(1) against the
server's devices.  Some characters are lost here and there, though
(probably a problem with interrupt pipes in ugenhc).  Once that
issues is solved, there is no reason why e.g. pppd (chat) could
not be used against the server.

Now, why would anyone want to do this instead of using the kernel
driver directly?  Well, for one, on my laptop I run netbsd-5 which
doesn't have a u3g driver which supports the u3g hardware I have.

As anyone with half an eye can see, this is quite copypasted from
umserv and there is plenty of opportunity for uncopypasting for
the eager vi-wielder.

(pooka)

2010-03-07 23:18:17 UTC MAIN commitmail json YAML

Pause after probe here too, so that you can amuse yourself by
unplugging and replugging devices and looking at the detach/attach
feedback messages.

(pooka)

2010-03-07 19:10:10 UTC MAIN commitmail json YAML

Fix build on Solaris. "seems reasonable" by joerg.

(hans)

2010-03-07 17:44:40 UTC MAIN commitmail json YAML

Make rump devfs expose ttyU1 and dtyU1 as well.

(pooka)

2010-03-07 17:34:25 UTC MAIN commitmail json YAML

Make build.sh work again with /usr/xpg4/bin/sh on Solaris. Ok by pooka.

(hans)

2010-03-07 16:57:41 UTC MAIN commitmail json YAML

* detect missing libraries (such as -lrumpfs_msdosfs)
* fix spelling of -lrumpfs_msdos
* update linklists

(pooka)

2010-03-07 16:55:44 UTC MAIN commitmail json YAML

tweak previous to actually work

(pooka)

2010-03-07 16:46:10 UTC MAIN commitmail json YAML

pmf wants buf_syncwait() which is a part of optional vfs

(pooka)

2010-03-07 16:27:18 UTC MAIN commitmail json YAML

Install PCC cpp as libexec/pcpp to avoid name conflicts with other
compilers (eg GCC), and to match the manpage which is already installed
as pcpp.1

(Gregory McGarry: "I think it's a good idea")

(plunky)

2010-03-07 12:05:09 UTC MAIN commitmail json YAML

2010-03-07 11:28:46 UTC MAIN commitmail json YAML

s/delay/need_delay/ to get rid of shadowed variable warning (some
ports define delay in machine/param.h).

(jdc)

2010-03-07 11:07:02 UTC MAIN commitmail json YAML

Add forgotten commit (IGP3_KMRN_DIAG_PCS_LOCK_LOSS).

(msaitoh)

2010-03-07 10:58:40 UTC MAIN commitmail json YAML

2010-03-07 10:11:04 UTC MAIN commitmail json YAML

Fix the type of sc_ss. That is not bus_space_handle_t but bus_size_t.
Reported by jdc.

(msaitoh)

2010-03-07 09:39:44 UTC MAIN commitmail json YAML

2010-03-07 09:29:26 UTC MAIN commitmail json YAML

2010-03-07 09:18:51 UTC MAIN commitmail json YAML

Add options GUMSTIX_NETBSD_ARGS_CONSOLE and GUMSTIX_NETBSD_ARGS_BUSHEADER.
  Can specify arg 'console='(*new*) and 'busheader=' from u-boot.  These args
  use dynamically configuration.
Also change function name.  s/_line/_liner/.

(kiyohara)

2010-03-07 09:05:19 UTC MAIN commitmail json YAML

- Add code for WOL, ASF, IPMI and Intel AMT.
    - wm_enable_wakeup() is disabled by default. If you want to use WOL with
      the Magic Packet, define WM_WOL.
    - Add the following flags:
        WM_F_ASF_FIRMWARE_PRESENT
        WM_F_ARC_SUBSYSTEM_VALID
        WM_F_HAS_AMT
        WM_F_HAS_MANAGE
        WM_F_WOL
    - Add wm_suspend() and wm_resume(). Give/get the control to/from the
      firmware.
    - Need more work for PCH. See wm_enable_phy_wakeup().
- Enable wm_get_hw_control() for 82574 and 82583.
- Add Yet another workaround for ICH8.
    - Add wm_igp3_phy_powerdown_workaround_ich8lan() for power down problem
      on D3.

(msaitoh)

2010-03-07 08:56:07 UTC MAIN commitmail json YAML

Shut astro up if DEBUG defined.

(skrll)

2010-03-07 08:44:28 UTC MAIN commitmail json YAML

2010-03-07 07:53:38 UTC MAIN commitmail json YAML

Add two workarounds for ICH8 with igp3.
- Workaround for 82566 Kumeran PCS lock loss.
- WOL from S5 stops working.

(msaitoh)

2010-03-07 07:33:30 UTC MAIN commitmail json YAML

Assorted spelling/capitalization fixes from Igor Sobrado in PR kern/22595.

(kiyohara)

2010-03-07 07:09:00 UTC MAIN commitmail json YAML

Add the detach code.

(msaitoh)

2010-03-07 05:37:25 UTC MAIN commitmail json YAML

Use .Bx to write 4.4BSD.

(jruoho)

2010-03-07 01:52:44 UTC MAIN commitmail json YAML

need _ALIGN in locore.h as well, for DEBUG kernels.

(mrg)

2010-03-07 00:42:58 UTC MAIN commitmail json YAML

gas has supported SPARC ".empty" for a long while; get rid of an
ancient workaround.

(mrg)

2010-03-07 00:42:08 UTC MAIN commitmail json YAML

gas has supported SPARC ".empty" for a long while; get rid of an
ancient workaround.

(mrg)

2010-03-06 23:45:40 UTC MAIN commitmail json YAML

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

move the memcpy/memset implementations out into their own file, with the
block copy versions as well.  move some of the definitions in locore.s
into a new locore.h.

locore.s is almost 2000 lines shorter with this change.

(mrg)

2010-03-06 22:02:31 UTC MAIN commitmail json YAML

Fix typos and sort SEE ALSO.

(wiz)

2010-03-06 22:02:15 UTC MAIN commitmail json YAML

Fix Xr and sort SEE ALSO.

(wiz)

2010-03-06 22:00:22 UTC MAIN commitmail json YAML

Sort list of supported hardware.

(wiz)

2010-03-06 21:33:20 UTC MAIN commitmail json YAML

include ttyHS0 in usbs target [for uhso(4)]

(plunky)

2010-03-06 21:31:52 UTC MAIN commitmail json YAML

2010-03-06 21:22:43 UTC MAIN commitmail json YAML

2010-03-06 21:15:17 UTC MAIN commitmail json YAML

add uhso(4) driver for Option N.V. Wireless WAN modems

(plunky)

2010-03-06 21:12:04 UTC MAIN commitmail json YAML

2010-03-06 21:07:47 UTC MAIN commitmail json YAML

add UHSO_DEBUG for uhso(4) driver

(plunky)

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

2010-03-06 21:00:07 UTC MAIN commitmail json YAML

2010-03-06 20:59:07 UTC MAIN commitmail json YAML

add details of Option N.V. Wireless WAN modems for uhso(4) driver

(plunky)

2010-03-06 19:53:33 UTC MAIN commitmail json YAML

make the acpi resource management paragraph more accurate

(cnst)

2010-03-06 19:36:33 UTC MAIN commitmail json YAML

2010-03-06 16:57:00 UTC MAIN commitmail json YAML

Improved version detection/reporting. From OpenBSD.

(skrll)

2010-03-06 16:42:56 UTC MAIN commitmail json YAML

Since someone (hi ahoka) added a reference to non-existant sched_m2(9),
add at least a stub now.

(dsieger)

2010-03-06 11:31:40 UTC MAIN commitmail json YAML

When clearing a log on failure, not only ask the kernel to ignore an
existing log but to remove it on next mount.

(mlelstv)

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

clean up a bunch of MULTIPROCESSOR:

- always include ci_ipi_evcnt[] in cpuinfo
- #define sparc_ncpus 1 for !MULTIPROCESSOR
- make struct pmap::pm_list an pm_ctx always be an array, and simplify
  several functions and lookups to always be the same

tested on U60 and SB2500 before and after with one and two cpus in an
MP kernel, and UP kernels, and i can't find anything besides noise for
benchmark issues.  (infact, i can't really tell the difference between
GENERIC and GENERIC.MP on these systems...)

(mrg)

2010-03-06 06:25:52 UTC MAIN commitmail json YAML

Refer to sysctl(8) instead of sysctl(7) when appropriate.

(jruoho)

2010-03-06 05:58:56 UTC MAIN commitmail json YAML

add acpismbus(4), aibs(4), uthum(4) and wbsio(4) to DEVNAMES

(cnst)

2010-03-06 04:39:16 UTC MAIN commitmail json YAML

fix the relative humidity sensor

(cnst)

2010-03-06 04:33:24 UTC MAIN commitmail json YAML

no reason to be excluding aibs(4) from i386 XEN3_DOM0 if we include it in amd64;  ok pgoyette

(cnst)

2010-03-06 04:28:54 UTC MAIN commitmail json YAML

remove aiboost(4) from GENERICs, since it cannot win in autoconf(9) over aibs(4);  ok pgoyette

(cnst)

2010-03-06 00:30:54 UTC MAIN commitmail json YAML

- use warn/err properly
- wrap long lines

(christos)

2010-03-05 23:08:18 UTC MAIN commitmail json YAML

Minor wording correction.

(dsieger)

2010-03-05 23:06:49 UTC MAIN commitmail json YAML

Use 'a && b && ...' contructs for running multiple commands on a single line
in Makefiles, to properly detect/report failures.

(njoly)

2010-03-05 22:47:03 UTC MAIN commitmail json YAML

Remove dead code (it is commented out).

Delete the detach routine, it's obviously not finished.

(dyoung)

2010-03-05 22:18:33 UTC MAIN commitmail json YAML

2010-03-05 22:00:11 UTC MAIN commitmail json YAML

Add the _COMPONENT definition and missing prototypes. Some related cosmetics.

(jruoho)

2010-03-05 21:01:44 UTC MAIN commitmail json YAML

Preparing a device for wakeup involves:

  (a) turning on all power resources required by the device; and
  (b) executing _DSW (or _PSW) control method.

This implements (b). Ok jmcneill@.

(jruoho)

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

Make module_{lookup,enqueue}() static now that it's possible again
(effectively reverts my kern_module rev. 1.53 from some months ago)

(pooka)

2010-03-05 19:58:39 UTC MAIN commitmail json YAML

2010-03-05 19:53:37 UTC MAIN commitmail json YAML

2010-03-05 19:37:42 UTC MAIN commitmail json YAML

Set env vars before returning from fsu_mount

(stacktic)

2010-03-05 18:51:23 UTC MAIN commitmail json YAML

2010-03-05 18:49:30 UTC MAIN commitmail json YAML

Update to use newstyle rump_module interfaces.

(pooka)

2010-03-05 18:47:50 UTC MAIN commitmail json YAML

During bootstrap, process all modinfos in a DSO in one go.  Get
rid of dependency tricks, since they are no longer necessary.

(pooka)

2010-03-05 18:43:59 UTC MAIN commitmail json YAML

2010-03-05 18:41:46 UTC MAIN commitmail json YAML

Use improved kernel module interfaces: instead of adding + loading
modules in bootstrap, just add them.  Load them later the same way
as the kernel does: module_init_class().

Change the signature of rump_module_init() to take a vector instead
of just one module.  All modules in a DSO should be init'd at the
same time because they might depend on each other, and code outside
the rump kernel cannot know which way.  (binary kernel modules are
still loaded with rump_sys_modctl() the usual way).

(pooka)

2010-03-05 18:41:29 UTC MAIN commitmail json YAML

2010-03-05 18:35:02 UTC MAIN commitmail json YAML

Move builtin modules to a list in init and load them from there
instead of using linksets directly.  This has two implications:

1) It is now possible to "unload" a builtin module provided it is
  not busy.  This is useful e.g. to disable a kernel feature as
  an immediate workaround to a security problem.  To re-initialize
  the module, modload -f <name> is required.
2) It is possible to use builtin modules which were linked at
  runtime with an external linker (dlopen + rump).

(pooka)

2010-03-05 17:58:15 UTC MAIN commitmail json YAML

Link the kernel with -q option to be able to relocate it with the boot loader.

(phx)

2010-03-05 17:56:46 UTC MAIN commitmail json YAML

2010-03-05 17:55:42 UTC MAIN commitmail json YAML

2010-03-05 17:47:10 UTC MAIN commitmail json YAML

Do not match on the elroy family. From OpenBSD.

(skrll)

2010-03-05 17:04:26 UTC MAIN commitmail json YAML

2010-03-05 16:55:57 UTC MAIN commitmail json YAML

Reset sendsig_sigcontext_vec at fini to avoid having it point at
garbage and to allow re-init of the module (if DIAGNOSTIC).

(pooka)

2010-03-05 16:30:05 UTC MAIN commitmail json YAML

2010-03-05 16:01:10 UTC MAIN commitmail json YAML

src/crypto/external/bsd/netpgp/dist/TODO@1.32 / diff / nxr@1.32
src/crypto/external/bsd/netpgp/dist/configure@1.24 / diff / nxr@1.24
src/crypto/external/bsd/netpgp/dist/configure.ac@1.25 / diff / nxr@1.25
src/crypto/external/bsd/netpgp/dist/include/netpgp.h@1.16 / diff / nxr@1.16
src/crypto/external/bsd/netpgp/dist/src/lib/compress.c@1.15 / diff / nxr@1.15
src/crypto/external/bsd/netpgp/dist/src/lib/create.c@1.23 / diff / nxr@1.23
src/crypto/external/bsd/netpgp/dist/src/lib/create.h@1.9 / diff / nxr@1.9
src/crypto/external/bsd/netpgp/dist/src/lib/crypto.c@1.21 / diff / nxr@1.21
src/crypto/external/bsd/netpgp/dist/src/lib/crypto.h@1.17 / diff / nxr@1.17
src/crypto/external/bsd/netpgp/dist/src/lib/fastctype.c@1.2 / diff / nxr@1.2
src/crypto/external/bsd/netpgp/dist/src/lib/fastctype.h@1.2 / diff / nxr@1.2
src/crypto/external/bsd/netpgp/dist/src/lib/keyring.c@1.28 / diff / nxr@1.28
src/crypto/external/bsd/netpgp/dist/src/lib/keyring.h@1.22 / diff / nxr@1.22
src/crypto/external/bsd/netpgp/dist/src/lib/memory.h@1.6 / diff / nxr@1.6
src/crypto/external/bsd/netpgp/dist/src/lib/misc.c@1.27 / diff / nxr@1.27
src/crypto/external/bsd/netpgp/dist/src/lib/netpgp.c@1.41 / diff / nxr@1.41
src/crypto/external/bsd/netpgp/dist/src/lib/netpgpdefs.h@1.8 / diff / nxr@1.8
src/crypto/external/bsd/netpgp/dist/src/lib/netpgpsdk.h@1.9 / diff / nxr@1.9
src/crypto/external/bsd/netpgp/dist/src/lib/openssl_crypto.c@1.20 / diff / nxr@1.20
src/crypto/external/bsd/netpgp/dist/src/lib/packet-parse.c@1.30 / diff / nxr@1.30
      :
(more 23 files)
Update netpgp to version 1.99.20/20100304 - portability improvements, and bug fixes:

Changes to 1.99.20/20100304

+ move args to some functions around to be consistent
+ use uint*_t where appropriate
+ fix bug in verify memory
+ add documentation to manual pages to show how to do combined
  signing/encryption and decryption/verification
+ make verification of ascii-armoured memory work the same as binary
+ eliminate use of strdup(3), strcasecmp(3), and strptime(3). NetBSD/pkgsrc
  PR 42922 applies - need to define _XOPEN_SOURCE and _BSD_SOURCE for
  newer linux platforms with glibc 2.10.1. solved a bit differently, by
  implementing strdup(3) and strcasecmp(3) independently, and using regexps
  to avoid calling strptime(3).

(agc)

2010-03-05 14:00:17 UTC MAIN commitmail json YAML

Remove <dev/acpi/acpica.h> from all files. It is included from
<dev/acpi/acpivar.h>. Ditto for <dev/sysmon/sysmonvar.h>, <sys/bus.h>,
<dev/pci/pcivar.h>, and <dev/isa/isavar.h>.

Also nuke a lot of unused and invalid headers. Some of these are audibly
provided by standard headers (namely <sys/param.h> and <sys/device.h>), some
have nothing to do with ACPI devices (e.g. <sys/syslog.h>), and some are
nonexistent local includes (e.g. "mpu_ym.h"). Moreoever, try to group the
includes into their respective blocks.

Tested with GENERIC and ALL (i386). No functional change.

(jruoho)

2010-03-05 12:44:16 UTC MAIN commitmail json YAML

As pointed out by Rhialto, "degrees Kelvin" is redundant.  So fix a
couple of comments related to converstion between Kelvin and degC.

(pgoyette)

2010-03-05 10:27:16 UTC MAIN commitmail json YAML

Use 8k buffer, since 4k is too short for the default list (might
save one round of modctl()).

(pooka)

2010-03-05 09:00:26 UTC MAIN commitmail json YAML

2010-03-05 08:30:48 UTC MAIN commitmail json YAML

2010-03-05 07:45:41 UTC MAIN commitmail json YAML

ftp 20100305: fix http date parsing

(lukem)

2010-03-05 07:41:10 UTC MAIN commitmail json YAML

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

2010-03-05 02:21:41 UTC MAIN commitmail json YAML

DTrace: add a dependency on the dtrace module.

(darran)

2010-03-05 01:53:15 UTC MAIN commitmail json YAML

DTrace: fix the curthread and mutex data types.

(darran)

2010-03-05 01:34:36 UTC MAIN commitmail json YAML

2010-03-05 00:54:01 UTC MAIN commitmail json YAML

Simplify this a bit (and reduce differences with if_rtw_pci.c): we
don't have to save the base address or write it to the BAR.

(dyoung)

2010-03-05 00:36:06 UTC MAIN commitmail json YAML

This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

Make a few changes of this kind:

- ih = cardbus_intr_establish(cc, cf, ...);
+ ih = Cardbus_intr_establish(ct, ...);

- cardbus_intr_disestablish(cc, cf, ih);
+ Cardbus_intr_disestablish(ct, ih);

Tested by plugging a Syba CardBus to FireWire adapter into an HP
Pavilion N3270, adding an address (169.254.0.7/16) to fwip0, attaching
and pinging a MacBook Pro.

(dyoung)

2010-03-04 23:25:07 UTC MAIN commitmail json YAML

Remove ACPI_BUG_DEBUG by using ACPI_DEBUG_PRINT(x) instead.

(jruoho)

2010-03-04 23:06:36 UTC MAIN commitmail json YAML

Add missing semicolon.

(jruoho)

2010-03-04 22:57:37 UTC MAIN commitmail json YAML

Make cosmetic changes in order to reduce differences with
sys/dev/cardbus/if_rtw_cardbus.c: remove an unnecessary #include.
Change a few cut & paste instances of ADM8211 to RTL8180.  Make the
suspend & resume functions static, add declarations for them at the top
of the file, and move the functions themselves to the bottom.

(dyoung)

2010-03-04 22:55:20 UTC MAIN commitmail json YAML

Extract both instances of the code that prints the PCI Secondary Status
Register into a subroutine.  Use terminology similar to that which
PCI System Architecture (4th Edition) uses.  For comparison with PCI
reference books, specify flags and fields with __BIT(n) and __BITS(m, n)
instead of hexadecimal constants.

(dyoung)

2010-03-04 22:48:31 UTC MAIN commitmail json YAML

Fix race condition on reallocation of huge category.

We need to remove the old region before mremap() since if it relesae the
old region, other thread may map it for the same huge category allocation
and insert it to the tree before we acquire a lock after mremap().

Fixes PR/42876.

(enami)

2010-03-04 22:42:22 UTC MAIN commitmail json YAML

This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

(dyoung)

2010-03-04 22:37:38 UTC MAIN commitmail json YAML

Get rid of the #if 1 surrounding #include <dev/cardbus/rbus.h>.

This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

ath, atw, and rtw work fine after this change.

(dyoung)

2010-03-04 22:34:37 UTC MAIN commitmail json YAML

This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

(dyoung)

2010-03-04 22:33:12 UTC MAIN commitmail json YAML

Remove unnecessary #ifdef INET-enclosed #includes.

This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

(dyoung)

2010-03-04 22:30:57 UTC MAIN commitmail json YAML

Remove ACPI_BUT_DEBUG.

(jruoho)

2010-03-04 22:29:47 UTC MAIN commitmail json YAML

Cleanup:

  * Semantics.
  * No need for <dev/acpi/acpica.h>.
  * Reduce the amount of error reporting.
  * Remove ACPI_BUT_DEBUG and ACPIBUT_F_VERBOSE.

No functional change.

(jruoho)

2010-03-04 21:55:32 UTC MAIN commitmail json YAML

VALD_ACPI_DEBUG is dead.

(jruoho)

2010-03-04 21:54:35 UTC MAIN commitmail json YAML

Remove VALD_ACPI_DEBUG and AVALD_F_VERBOSE. No functional change.

(jruoho)

2010-03-04 21:47:59 UTC MAIN commitmail json YAML

Enable (uncomment) ACPI_DEBUG, ACPI_DEBUG_ALLOC, and ACPI_MUTEX_DEBUG.

(jruoho)

2010-03-04 21:40:53 UTC MAIN commitmail json YAML

Parse HTTP 'Date' entries in the `C' locale rather than the user's.
Fix from [bin/42917] (with minor changes), from KAMADA Ken'ichi.

(lukem)

2010-03-04 20:46:18 UTC MAIN commitmail json YAML

Fix two memory leaks.

(jruoho)

2010-03-04 20:17:30 UTC MAIN commitmail json YAML

Fix ACPI_DEBUG build failures reported by Greg A. Woods.

(jruoho)

2010-03-04 18:49:14 UTC MAIN commitmail json YAML

It turns out that ppb at cardbus was not even in ALL.  It has probably
not been compiled in a very long time.  With some minor changes, it was
possible to make it compile:

Use kmem_zalloc()/kmem_free() instead of alloca()/memset().

Use %zu and %zx for printf'ing bus_size_t.

Delete the declaration of an unused local variable.

(dyoung)

2010-03-04 18:31:57 UTC MAIN commitmail json YAML

Delete unfinished and unreachable code: ppb_cardbus_setup(),
ppb_cardbus_enable(), ppb_cardbus_disable().

(dyoung)

2010-03-04 17:57:26 UTC MAIN commitmail json YAML

binutils-2.20.1 out.

(wiz)

2010-03-04 16:40:54 UTC MAIN commitmail json YAML

Simplify interrupt (dis)establishment by two source transformations:

-      cardbus_intr_disestablish(cc, cf, ih);
+      Cardbus_intr_disestablish(ct, ih);

-      ih = cardbus_intr_establish(cc, cf, ...);
+      ih = Cardbus_intr_establish(ct, ...);

Tested by kiyohara@.

(dyoung)

2010-03-04 15:47:12 UTC MAIN commitmail json YAML

Note about proper support for NE2000 8 bit mode.

(tsutsui)

2010-03-04 15:35:26 UTC MAIN commitmail json YAML

Convert padding for unknown capabilities as well.

(roy)

2010-03-04 15:16:39 UTC MAIN commitmail json YAML

Convert padding and give terminfo some default assumptions about termcap.

(roy)

2010-03-04 15:13:53 UTC MAIN commitmail json YAML

From Pierre POMES: fixed admin port initialization

(vanhu)

2010-03-04 13:11:15 UTC MAIN commitmail json YAML

This really should be ACPI_BUS_COMPONENT

Maybe I should stay out the acpi stuff?  :)

(pgoyette)

2010-03-04 13:07:01 UTC MAIN commitmail json YAML

Fix this correctly.  Thanks jruoho@

(pgoyette)

2010-03-04 09:57:12 UTC MAIN commitmail json YAML

Instead of "int hz", use "extern int hz".

(jruoho)

2010-03-04 08:44:55 UTC MAIN commitmail json YAML

Provide the _COMPONENT definition and use ACPI_FREE(x) instead of
AcpiOsFree(). If the memory tracking of ACPICA is enabled, the latter is
guaranteed to leak memory, possibly also corrupting kernel memory.

(jruoho)

2010-03-04 08:13:29 UTC MAIN commitmail json YAML

2010-03-04 08:11:42 UTC MAIN commitmail json YAML

avoid a build error in the previous for !DEBUG kernels.

(mrg)

2010-03-04 08:09:52 UTC MAIN commitmail json YAML

Document the counting and rounding macros from <sys/param.h>.

(jruoho)

2010-03-04 08:01:35 UTC MAIN commitmail json YAML

- in _bus_dmamap_unload(), pmap_page_protect() and pmap_clear_reference()
  switch the dcache_flush_page() into a dcache_flush_page_all()
- in both pmap_kremove()/pmap_remove(), remove the blast_dcache() call
  and replace it with dcache_flush_page_all()
- in pmap_get_page() [used to allocate PTP's], always call pmap_zero_page(pa)
- flush the dcache of the dst page in pmap_{copy,zero}_page() by redirecting
  throught a C function that calls the (renamed) asm.  the old asm code had a
  comment about needing to do this...
- add a couple of membar #Sync's that the USIII manual recommends

based on discussions with chuq@, skrll@ and martin@.

these help my SB2000 / SB2500 with both disk / nfs builds and other tasks,
sometimes lasting for several hours before failing or asserting.

(mrg)

2010-03-04 03:10:18 UTC MAIN commitmail json YAML

Replace ACPI_FREE() with AcpiOsFree() so we no longer need to define
_COMPONENT (we don't have a bit defined for SMBUS anyway).  This was
uncovered by turning on ACPI_DEBUG for the i386 ALL kernel config.

Reported by Greg Woods on current-users@

(pgoyette)

2010-03-03 17:58:37 UTC MAIN commitmail json YAML

Replace unsafe use of TAILQ_FOREACH: as the comment says, the
structures are pulled off the list in the loop and it's anyone's
guess where they go after that.

(pooka)

2010-03-03 17:37:01 UTC MAIN commitmail json YAML

Give usage() a chance.
XXX: UKFS_DEVICE_ARGVPROBE() interface

(pooka)

2010-03-03 16:13:42 UTC MAIN commitmail json YAML

"dtrace,zfs" means "MKDTRACE=yes" *and* "MKZFS=yes" which is not what
we want. Invent a flag "solaris" which is the or of those two flags.

(tron)

2010-03-03 14:43:41 UTC MAIN commitmail json YAML

The directory "modules/solaris" depends on ZFS as well.

(tron)

2010-03-03 14:32:29 UTC MAIN commitmail json YAML

The "solaris" kernel module also gets build if ZFS is enabled.

(tron)

2010-03-03 14:23:27 UTC MAIN commitmail json YAML

Don't attempt to read or write component label stuff from/to 'dead disks'.
Update used spares with the correct parity map bits too.

Addresses PR#42904 by Louis Guillaume.  Fix confirmed by submitter.
Thanks!

(oster)

2010-03-03 13:57:35 UTC MAIN commitmail json YAML

update description of deffs

(pooka)

2010-03-03 13:56:30 UTC MAIN commitmail json YAML

reflect previous change in comment

(pooka)

2010-03-03 13:53:22 UTC MAIN commitmail json YAML

2010-03-03 13:39:58 UTC MAIN commitmail json YAML

Put several fixes to ne(4) driver for better 8 bit mode support,
especially on RTL8019AS which is also used for non-ISA local bus of
embedded controllers and some m68k machines like atari and x68k.

* move RTL8019 probe and attach code from each bus attachment
  to MI ne2000_detect() and ne2000_attach()
* change a method for backend and attachment to specify 8 bit mode
  to use a new sc->sc_quirk member, instead of sc->sc_dmawidth
* handle more NE2000 8 bit mode specific settings, including
  bus_space(9) access width and available size of buffer memory
* add a function to detect NE2000 8 bit mode
  (disabled by default, but enalbed by options NE2000_DETECT_8BIT
    to avoid possible regression on various ISA clones)
* fix ipkdb attachment accordingly (untested)

Tested on two NE2000 ISA variants (RTL8019AS and another clone named UL0001)
in both 8 bit and 16 bit mode on i386. "Looks good" from nonaka@.

See my post on tech-kern for details:
http://mail-index.NetBSD.org/tech-kern/2010/02/26/msg007423.html

(tsutsui)

2010-03-03 12:09:49 UTC MAIN commitmail json YAML

2010-03-03 11:08:00 UTC MAIN commitmail json YAML

2010-03-03 11:07:17 UTC MAIN commitmail json YAML

2010-03-03 11:02:34 UTC MAIN commitmail json YAML

2010-03-03 10:56:47 UTC MAIN commitmail json YAML

Add prototype and forward declarations to make the empty nfs stub compile.

(martin)

2010-03-03 08:20:39 UTC MAIN commitmail json YAML

When implementing "read directory", when there are too many empty entries
in a row, and we need to try to read the next block, and have passed a
non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie
buffer before re-doing VOP_READDIR, so that we don't leak memory.
This fix is similar to nfs_serv.c revisions 1.115 + 1.124.

This should fix the long-standing problem observed by e.g. using Linux-
emulated programs to take backup of servers, which is one of the problems
which were reported in PR#42661.

Thanks to pooka@ for the hints for traversing the VOP* layer.

(he)

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

Remove ACPI_EXTRA_DEBUG.

(jruoho)

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

Convert the single instance of ACPI_EXTRA_DEBUG to ACPIVERBOSE.

(jruoho)

2010-03-03 06:54:25 UTC MAIN commitmail json YAML

Refactor acpi_make_devnode() to make it a little more readable.

No functional change intended.

(jruoho)

2010-03-03 06:53:35 UTC MAIN commitmail json YAML

s/cpu_fork/cpu_lwp_fork/ in comment.

(skrll)

2010-03-03 03:48:40 UTC MAIN commitmail json YAML

make suspend/resume actually work:
- we have to DRM_LOCK()/DRM_UNLOCK(), thus s/rad_dev/dev/ in a variable name
- only call into radeon_cp_{stop,resume}() if the device is active

with this my nforce4 dual core amd system is able to suspend/resume with both
X and drm active.

(mrg)

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

treat the onboard radeon found in Mac Minis like the ones found in iBooks
From Hiroaki Urata via PR 42931

(macallan)

2010-03-03 02:09:51 UTC MAIN commitmail json YAML

Mention support for Gumstix Verdex Pro and SMSC LAN9118 Family Ethernet
driver, which were added by kiyohara@.

(rmind)

2010-03-03 01:55:04 UTC MAIN commitmail json YAML

Add a check for duplicate keys. The check is run once and quadratic in
the hash collision chain length, which is expected to be fairly low.

(joerg)

2010-03-03 01:26:01 UTC MAIN commitmail json YAML

You have found a scroll of genocide --More--
What class of monsters do you wish to genocide? --More--
> fs_foo.h
Wiped out all fs_foo.h

(pooka)

2010-03-03 01:13:26 UTC MAIN commitmail json YAML

Remove #ifdef KERNFS by using weak symbols.  Notably, this approach
won't work when kernfs is a module.  But then again, kernfs as a
module (i.e. current situation) doesn't contain IPSEC support, so
it's not really any worse either.

(pooka)

2010-03-03 00:56:41 UTC MAIN commitmail json YAML

Simplify interrupt (dis)establishment by two source transformations:

-      cardbus_intr_disestablish(cc, cf, ih);
+      Cardbus_intr_disestablish(ct, ih);

-      ih = cardbus_intr_establish(cc, cf, ...);
+      ih = Cardbus_intr_establish(ct, ...);

Compiles.  Untested.  Let me know if you use this hardware with NetBSD
any longer.

(dyoung)

2010-03-03 00:49:39 UTC MAIN commitmail json YAML

Remove fs_lfs now that the syscall is always defined.

(pooka)

2010-03-03 00:47:31 UTC MAIN commitmail json YAML

2010-03-03 00:45:55 UTC MAIN commitmail json YAML

2010-03-03 00:44:52 UTC MAIN commitmail json YAML

2010-03-03 00:30:16 UTC MAIN commitmail json YAML

2010-03-03 00:09:03 UTC MAIN commitmail json YAML

Use roundup2() instead of hardcoding the CACHE_LINE_SIZE rounding
operation.

(jym)

2010-03-03 00:01:21 UTC MAIN commitmail json YAML

-DFFS is no longer necessary

(pooka)

2010-03-02 23:49:11 UTC MAIN commitmail json YAML

don't create unused fs_nfs.h

(pooka)

2010-03-02 23:37:16 UTC MAIN commitmail json YAML

2010-03-02 23:19:09 UTC MAIN commitmail json YAML

Get rid of dependency on fs_nfs.h, i.e. source modules with
conditional content depending on if the NFS client is wanted or
not.  The server can now be made an independent module not depending
on the nfs client.

Tested with rump_nfs (standalone client), rump_nfsd (standalone
nfsd) and a qemu installation with both the client and the server.

(pooka)