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 (12m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 21:40:46 UTC Now

2015-09-03 04:05:38 UTC MAIN commitmail json YAML

PR/49641 - Henning Petersen -- wordo

(jnemeth)

2015-09-03 03:47:25 UTC MAIN commitmail json YAML

2015-09-03 03:31:54 UTC netbsd-7 commitmail json YAML

2015-09-03 03:31:15 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #968):
usr.sbin/postinstall/postinstall: revision 1.201
handle blacklistd properly.

(riz)

2015-09-03 02:46:04 UTC MAIN commitmail json YAML

2015-09-03 02:45:24 UTC MAIN commitmail json YAML

In `-S' mode, create symlinks from outside of $S to build directory, for
files that are placed outside of $S, so that `Makefile.kern.inc' can see all
files under either $S or build directory.

(uebayasi)

2015-09-03 02:04:31 UTC MAIN commitmail json YAML

Add refcnt constraint checks for debugging

It's useful to know where the constraint is violated (by extra rtfree).
It's enabled only if DEBUG because it's heavy (O(n)).

(ozaki-r)

2015-09-03 01:40:07 UTC MAIN commitmail json YAML

Simplify.  Wrap long lines.

(uebayasi)

2015-09-03 01:30:18 UTC MAIN commitmail json YAML

Stop ordering objects alphabetically now that I am sure I can fix fallouts.

(uebayasi)

2015-09-03 01:09:38 UTC MAIN commitmail json YAML

2015-09-03 00:54:39 UTC MAIN commitmail json YAML

Fix rtfree in nd6_output

We have to check and avoid to rtfree the original rtentry passed to
nd6_output even when manipulating gateway routes.

This fixes panic on assertion "ro->_ro_rt ==NULL || ro->_ro_rt->rt_refcnt > 0"
failure and probably PR kern/50161.

(ozaki-r)

2015-09-02 23:03:41 UTC MAIN commitmail json YAML

Fix link of kernels whose name don't start with "netbsd*".

(uebayasi)

2015-09-02 22:45:47 UTC MAIN commitmail json YAML

2015-09-02 22:43:17 UTC MAIN commitmail json YAML

Add $ARFE$, $NetBSD$, and licenses at the top of various files.

Factor the hexadecimal parser out of dt.c.  Put it in hex.[ch].  Start
an IPv4 parser.

Write an IPv4 parser in dt/ipv4.[ch] and start using it.  Reorganize
#includes in dt.c and free the hex parser after it's used.  Update the
expected test results for the IPv4 parser.

In the READMEs, describe the hexadecimal data detection and functions.
Describe how IPv4 addresses are treated.

(dyoung)

2015-09-02 18:53:30 UTC MAIN commitmail json YAML

note addition of Tegra K1 and Jetson TK1 support back in July

(jmcneill)

2015-09-02 16:29:44 UTC MAIN commitmail json YAML

2015-09-02 15:35:52 UTC MAIN commitmail json YAML

Build param.c under conf/ using suffix rules in `-S' mode.

(uebayasi)

2015-09-02 15:29:23 UTC MAIN commitmail json YAML

Clean up `swap<kernel>.o' handling.

(uebayasi)

2015-09-02 14:17:03 UTC MAIN commitmail json YAML

Define ${OBJS} in `Makefile.kern.inc'.  Relative paths are not truncated
(a/b/c/x.c -> x.c) in `-S' mode.  Don't provide some explicit rules for `-S'
mode for safety.

(uebayasi)

2015-09-02 13:42:14 UTC MAIN commitmail json YAML

Output relative path for ${CFILES} and ${SFILES} in generated `Makefile'.
`Makefile.kern.inc' knows how to deal with $S prefix, so don't bother it in
config(1).

(uebayasi)

2015-09-02 13:06:06 UTC MAIN commitmail json YAML

Simplify generated `Makefile' by calculating ${OBJS} from merging ${CFILES},
${SFILES}, and ${OFILES} except swap<kernel>.o excluded.

(uebayasi)

2015-09-02 12:38:48 UTC MAIN commitmail json YAML

Add swap<kernel>.o to common ${SYSTEM_LD} as it is always linked.

(uebayasi)

2015-09-02 11:35:12 UTC MAIN commitmail json YAML

Do rt_refcnt++ when set a rtentry to another rtentry's rt_gwroute

And also do rtfree when deref a rtentry from rt_gwroute.

(ozaki-r)

2015-09-02 11:33:30 UTC MAIN commitmail json YAML

Make kernels build without options M68030.

(tsutsui)

2015-09-02 09:28:13 UTC MAIN commitmail json YAML

XXX: Disable KASSERT for now since locking is broken for interface removals.

(christos)

2015-09-02 08:03:10 UTC MAIN commitmail json YAML

Use KASSERT to check programming errors

(ozaki-r)

2015-09-02 05:09:25 UTC MAIN commitmail json YAML

2015-09-02 03:22:41 UTC MAIN commitmail json YAML

Clean up some rules and make them less error prone.

(uebayasi)

2015-09-01 23:04:35 UTC MAIN commitmail json YAML

Define suffix rules at the end to override system definitions.  Provide them
only if ___USE_SUFFIX_RULES___ is defined (config -S).

(uebayasi)

2015-09-01 20:18:41 UTC MAIN commitmail json YAML

2015-09-01 19:58:57 UTC MAIN commitmail json YAML

mark a rump library as such

(christos)

2015-09-01 19:39:57 UTC MAIN commitmail json YAML

ANSIfy getopt(3) - this is the REPLACE_GETOPT version from getopt_long(3)

For the reference, this version still passes the current set of ATF tests
for the getopt(3) function.

This version is by default unused.

(kamil)

2015-09-01 19:25:32 UTC MAIN commitmail json YAML

i2c_acquire_bus() should return 0 on success.
Fixed bug in gpioiic_bb_set_bits(), which was introduced with the SDA/SCL-
reverse feature.
Now the driver is confirmed to work. Tested with Raspberry Pi GPIO.

(phx)

2015-09-01 16:04:04 UTC MAIN commitmail json YAML

Experimental suffix-rules build (disabled by default).

(uebayasi)

2015-09-01 16:01:23 UTC MAIN commitmail json YAML

2015-09-01 15:16:31 UTC MAIN commitmail json YAML

we go to the lengths of calculating the prefix length for the progress bar,
so we might as well use it when printing out the progress bar. Missed from
previous changes from ken@freebsd.org.

(agc)

2015-09-01 14:32:20 UTC MAIN commitmail json YAML

Prepare to build subdirectories.  Not enabled yet.

(uebayasi)

2015-09-01 14:03:00 UTC MAIN commitmail json YAML

kern/50185: dwctwo attach failure

Another hunk went walkabout during the import - reapply with a little
update

(skrll)

2015-09-01 13:55:26 UTC MAIN commitmail json YAML

Use the default boot device if a kernel name without device is specificed.

(tsutsui)

2015-09-01 13:46:50 UTC MAIN commitmail json YAML

2015-09-01 13:46:29 UTC MAIN commitmail json YAML

Use "prefix" to specify path out of $S.

(uebayasi)

2015-09-01 13:46:14 UTC MAIN commitmail json YAML

Allow NetBSD/luna68k kernel work with 8kB/page (PGSHIFT==13) settings.

Tested on both LUNA (68030) and LUNA-II (68040).

(tsutsui)

2015-09-01 13:45:52 UTC MAIN commitmail json YAML

Bump version for "buildprefix".

(uebayasi)

2015-09-01 13:42:48 UTC MAIN commitmail json YAML

Introduce a new syntax, "buildprefix", to specify prefix of files under kernel
build subdirectory.  This is not used now that everything is built at the
top of kernel build directory.  It will become mandatory for source/object
files put out of kernel source tree to specify corresponding build subdirectory.
Only ``no dots''  relative path is accepted as "buildprefix".

(uebayasi)

2015-09-01 12:46:20 UTC MAIN commitmail json YAML

Keep track of directory of files internally.

(uebayasi)

2015-09-01 12:32:26 UTC MAIN commitmail json YAML

Clean up struct files.

(uebayasi)

2015-09-01 12:10:56 UTC MAIN commitmail json YAML

2015-09-01 11:35:47 UTC MAIN commitmail json YAML

Abstract struct filetype is no longer needed.

(uebayasi)

2015-09-01 11:22:59 UTC MAIN commitmail json YAML

2015-09-01 10:37:48 UTC MAIN commitmail json YAML

Start merging struct files and struct objects.

(uebayasi)

2015-09-01 09:54:34 UTC MAIN commitmail json YAML

Fix rump.ndp -I options by rump-ifying if_nametoindex(3)

From s-yamaguchi@IIJ

(ozaki-r)

2015-09-01 08:52:02 UTC MAIN commitmail json YAML

Move a rtentry definition to reduce its scope

No functional change.

(ozaki-r)

2015-09-01 08:46:27 UTC MAIN commitmail json YAML

Cleanup nd6_nud_hint

The deleted rtfree was never called.

(ozaki-r)

2015-09-01 06:24:21 UTC MAIN commitmail json YAML

Re-apply hunk that got lost in the recent import.  CVS is fun!

(skrll)

2015-09-01 06:16:59 UTC MAIN commitmail json YAML

2015-09-01 06:16:03 UTC MAIN commitmail json YAML

Pull over comments on struct direct's type/reclen byte swapping from LFS.

(dholland)

2015-09-01 06:15:46 UTC MAIN commitmail json YAML

Comments on directories.

This includes a description of the struct direct byteswap horrors that
ought to be propagated to ufs/ufs.

(dholland)

2015-09-01 06:15:16 UTC MAIN commitmail json YAML

Remove ulfs_daddr_t.

(dholland)

2015-09-01 06:15:02 UTC MAIN commitmail json YAML

2015-09-01 06:13:57 UTC MAIN commitmail json YAML

Use daddr_t, not ulfs_daddr_t, as the latter's 32 bits wide.
Don't use either for on-disk items.
Part 2 of 3.

(dholland)

2015-09-01 06:13:34 UTC MAIN commitmail json YAML

Use daddr_t, not ulfs_daddr_t, as the latter's 32 bits wide.
Don't use either for on-disk items.
Part 1 of 3.

(dholland)

2015-09-01 06:13:09 UTC MAIN commitmail json YAML

Fix up indirect block handling in truncate to be 32/64 clean.

(dholland)

2015-09-01 06:12:33 UTC MAIN commitmail json YAML

2015-09-01 06:12:04 UTC MAIN commitmail json YAML

The ifile's inode number is constant. (it is always 1)

Therefore, storing the value in the superblock and reading it out
again is silly and offers the opportunity for it to become corrupted.
So, don't do that (most of the code already didn't) and use the
existing constant instead. Initialize new 32-bit superblocks with
the value for the sake of old userland programs, but don't keep the
value in the 64-bit superblock at all.

(approved by Margo Seltzer)

(dholland)

2015-09-01 06:11:06 UTC MAIN commitmail json YAML

Make the inode fields in the 64-bit superblock 64 bits wide.
Reasoning as before.

Note that I am not going through and checking for 64->32 truncations
in inode numbers; I'm sure there are quite a few, but that's a project
for later.

(dholland)

2015-09-01 06:10:16 UTC MAIN commitmail json YAML

Add byteswapping to the dinode accessors.

This prevents regressions in the ulfs code when switching to the new
accessors. Note that while adding byteswapping to the other accessors
is straightforward, I haven't done it yet; and that also is not enough
to make LFS_EI work, because there are places lying around that bypass
the accessors for one reason and another and all of them need to be
updated. That is going to have to wait for a later day as LFS_EI is
not on the critical path right now.

(dholland)

2015-09-01 06:09:23 UTC MAIN commitmail json YAML

Propagate fix from lfs:
For non-devices, have getattr (and thus stat) produce NODEV in the
rdev field, instead of leaking the address of the first direct block.

(dholland)

2015-09-01 06:08:37 UTC MAIN commitmail json YAML

Use the lfs dinode accessors in place of the ufs-derived ones.
(Mostly.)

The ufs-derived ones are fake structure member macros, which are gross
and not very safe. Also, it seems that a lot of places in the lfs code
were using the ffsv1 branch of them unconditionally, and this way it's
guaranteed all those places have been updated.

Found while doing this: for non-devices, have getattr produce NODEV
in the rdev field instead of leaking the address of the first direct
block.

(dholland)

2015-09-01 03:47:50 UTC MAIN commitmail json YAML

2015-09-01 03:47:28 UTC MAIN commitmail json YAML

Update from Ken@freebsd.org for the progress meter code, from FreeBSD r286965,
mucked around by me. This fixes a bug in the progress display code:

"When the user's filename is too big, or his terminal width is too
small, the progress code could wind up using a negative number for
the length of the "stars" that it uses to indicate progress.

This negative value was assigned to an unsigned variable, resulting
in a very large positive value.

The result is that we wound up writing garbage from memory to the
user's terminal.

With an 80 column terminal, a file name length of more than 35
characters would generate this problem.

To address this, we now set a minimum progress bar length, and
truncate the user's file name as needed.

This has been tested with large filenames and small terminals, and
at least produces reasonable results. If the terminal is too
narrow, the progress display takes up an additional line with each
update, but this is more user friendly than writing garbage to the
tty."

(agc)

2015-09-01 03:44:36 UTC MAIN commitmail json YAML

2015-09-01 03:26:09 UTC MAIN commitmail json YAML

Define NETHER in rumpkernel

This fixes failures of ATF tests running on rump_server.

(ozaki-r)

2015-09-01 01:50:14 UTC MAIN commitmail json YAML

Allow redefinition of options (with only a warning message).  Removal
of non-included options was already only a warning.

This also affects redefinition and removal of file-system and makeoption
entries.

Reviewed and OKd by uebayasi@

(pgoyette)

2015-09-01 01:28:17 UTC MAIN commitmail json YAML

Constness correction for the getopt(3) function under REPLACE_GETOPT

Use the __UNCONST() macro, which is used in the other parts for the same
argument nargv, but under the !REPLACE_GETOPT namespace.

(kamil)

2015-09-01 01:17:57 UTC MAIN commitmail json YAML

Properly handle absolute prefix.

(uebayasi)

2015-09-01 00:56:17 UTC MAIN commitmail json YAML

If we're going to note the USSR shooting down civilian airliners,
we should be fair and pick on the USA as well.

(jnemeth)

2015-09-01 00:38:30 UTC MAIN commitmail json YAML

Refactor emit file functions.  No functional changes.

(uebayasi)

2015-08-31 16:46:14 UTC MAIN commitmail json YAML

2015-08-31 12:57:45 UTC MAIN commitmail json YAML

#if __NetBSD__ -> #if defined(__NetBSD__)

(pooka)

2015-08-31 12:00:12 UTC MAIN commitmail json YAML

Need to read closer - there was another occurrence of the same tyepo

(pgoyette)

2015-08-31 11:52:37 UTC MAIN commitmail json YAML

2015-08-31 10:41:22 UTC MAIN commitmail json YAML

Improve error handling in attach code. From t-hash.

(skrll)

2015-08-31 09:34:07 UTC MAIN commitmail json YAML

2015-08-31 09:21:56 UTC MAIN commitmail json YAML

Fix building kernels w/o DIAGNOSTIC

(ozaki-r)

2015-08-31 08:33:03 UTC nick-nhusb commitmail json YAML

Various improvements from t-hash (very very slightly tweaked by me)

    + Use usbd_xfer_isread().
    + Change mutex to be initialized at IPL_USB.
    + Add vendor init/portsc hook.
    + Modify xhci_trb_put() to take host byte order arguments and
      convert them to little endian byte order.
    + Return PCI vendor ID of xhci instead of NetBSD(0x0) as a root hub
      vendor ID like other HCs do.
    + Move sc_ih in struct xhci_softc to struct xhci_pci_softc.
    + Improve debug message.

(skrll)

2015-08-31 08:08:20 UTC MAIN commitmail json YAML

Reflect the current ARP cache implementation in tests

net.inet.arp.prune and net.inet.arp.refresh were obsoleted.

(ozaki-r)

2015-08-31 08:06:30 UTC MAIN commitmail json YAML

Remove obsolete global variables and sysctl MIBs

(ozaki-r)

2015-08-31 08:05:20 UTC MAIN commitmail json YAML

Replace ARP cache (llinfo) with lltable/llentry

Highlights of the change are:
- Use llentry instead of llinfo to manage ARP caches
  - ARP specific data are stored in the hashed list
    of an interface instead of the global list (llinfo_arp)
- Fine-grain locking on llentry
- arptimer (callout) per ARP cache
  - the global timer callout with the big locks can be
    removed (though softnet_lock is still required for now)
- net.inet.arp.prune is now obsoleted
  - it was the interval of the global timer callout
- net.inet.arp.refresh is now obsoleted
  - it was a parameter that prevents expiration of active caches
  - Removed to simplify the timer logic, but we may be able to
    restore the feature if really needed

Proposed on tech-kern and tech-net.

(ozaki-r)

2015-08-31 08:02:45 UTC MAIN commitmail json YAML

Hook up lltable/llentry with the kernel (and rumpkernel)

It is built and initialized on bootup, but there is no user for now.

Most codes in in.c are imported from FreeBSD as well as lltable/llentry.

(ozaki-r)

2015-08-31 08:00:44 UTC MAIN commitmail json YAML

Revert previous, not needed after sys/conf/Makefile.kern.inc rev. 1.215.

(martin)

2015-08-31 07:56:58 UTC MAIN commitmail json YAML

Import lltable/llentry from FreeBSD

lltable/llentry is new L2 nexthop cache data structures that
store caches in each interface (struct ifnet). It is imported
to replace the current ARP cache implementation that uses the
global list with the big kernel lock, and provide fine-grain
locking for cache operations. It is also planned to replace
NDP caches.

The code is based on FreeBSD's lltable/llentry as of r286629
and tweaked for NetBSD.

(ozaki-r)

2015-08-31 07:38:48 UTC MAIN commitmail json YAML

2015-08-31 06:25:15 UTC MAIN commitmail json YAML

2015-08-31 06:16:08 UTC MAIN commitmail json YAML

2015-08-31 06:12:55 UTC MAIN commitmail json YAML

2015-08-31 06:08:07 UTC MAIN commitmail json YAML

Exclude duplicate kernel config names in set generation.  Suppress warnings
of defining duplicate make(1) targets.

(uebayasi)

2015-08-31 05:46:41 UTC MAIN commitmail json YAML

2015-08-31 03:26:53 UTC MAIN commitmail json YAML

Remove leading whitespaces

(ozaki-r)

2015-08-31 02:58:25 UTC MAIN commitmail json YAML

Restore the old behavior of "maxusers" to allow the value to be overriden.
Problem reported by John D. Baker.

(uebayasi)

2015-08-31 01:59:37 UTC netbsd-7 commitmail json YAML

2015-08-31 01:58:23 UTC MAIN commitmail json YAML

In the READMEs, describe the hexadecimal data detection and functions.

Update $ARFE$ in dt.c.

(dyoung)

2015-08-31 01:53:54 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #958):
sys/dev/ic/dwc_gmac.c: revision 1.34
No need to BUS_DMASYNC_PREREAD the transmit data buffer. Fixes "NFS writes
being corrupted?" issue on ODROID-C1 as seen on port-arm.

(snj)

2015-08-30 21:58:19 UTC MAIN commitmail json YAML

Revert "Accept only relative paths ...".  This will be redone in much better,
stricter way.

(uebayasi)

2015-08-30 21:16:10 UTC MAIN commitmail json YAML

Fix "Define compile rules in sys/conf/Makefile.kern.inc ...".

Use `.if !commands(xxx)' to check if `xxx' has a defined, overriden rule,
instead of `.if !targets(xxx)'.  The latter evaluates as true even when `xxx'
has an empty rule to define a dependency.

(uebayasi)

2015-08-30 18:27:26 UTC MAIN commitmail json YAML

2015-08-30 18:20:27 UTC MAIN commitmail json YAML

We preprocess .s files, so add ${INCLUDES} to AFLAGS

(martin)

2015-08-30 14:06:17 UTC MAIN commitmail json YAML

A makeoptions `DEFWARNINGS', forcibly disabling all ${CC} warnings, is only
used by hpcmips's NULLCONF, which doesn't even build for other causes.

If some source doen't build and needs a workaround, that should be deal with
by modifying per-file ${CC} options (e.g. COPTS.foo.c+=-fno-xxx).  Let's not
use DEFWARNINGS any longer.

(uebayasi)

2015-08-30 13:09:48 UTC MAIN commitmail json YAML

loadfirmware is not NetBSD function. Fix error message.

(ryoon)

2015-08-30 13:03:00 UTC MAIN commitmail json YAML

Note where we're tracking dwc2 from now.

(skrll)

2015-08-30 13:02:42 UTC MAIN commitmail json YAML

2015-08-30 12:59:59 UTC MAIN commitmail json YAML

2015-08-30 12:26:29 UTC MAIN commitmail json YAML

2015-08-30 10:49:57 UTC MAIN commitmail json YAML

update client OS version as well

(jnemeth)

2015-08-30 10:48:15 UTC MAIN commitmail json YAML

2015-08-30 10:46:53 UTC MAIN commitmail json YAML

PR/49616 - Andreas Gustafsson -- bring modload example into era of MODULAR

(jnemeth)

2015-08-30 09:59:10 UTC netbsd-7 commitmail json YAML

2015-08-30 09:56:19 UTC netbsd-7 commitmail json YAML

Pull up the following revision, requested by snj in #961:

src/distrib/utils/embedded/conf/armv7.conf r1.6

Properly escape the $ when trying to pass the u-boot env var $kernel.
From Rin Okuyama.

(martin)

2015-08-30 09:46:57 UTC MAIN commitmail json YAML

Remove double spl(x), found by brainy.

(martin)

2015-08-30 08:46:44 UTC MAIN commitmail json YAML

wishful thinking?

(mlelstv)

2015-08-30 08:33:29 UTC MAIN commitmail json YAML

2015-08-30 07:55:45 UTC MAIN commitmail json YAML

2015-08-30 07:52:30 UTC MAIN commitmail json YAML

Generate opt_diagnostic.h for DIAGNOSTIC; define unused _DIAGNOSTIC until
thoroughly populated.

(uebayasi)

2015-08-30 07:50:34 UTC MAIN commitmail json YAML

print the configuration information early so that it does not get intermingled
with possible error prints.

(christos)

2015-08-30 07:35:11 UTC MAIN commitmail json YAML

2015-08-30 07:33:53 UTC MAIN commitmail json YAML

Move splash logic, keep Makefile.kern.inc clean.

(uebayasi)

2015-08-30 06:57:51 UTC MAIN commitmail json YAML

Fix a macro usage. Add more markup.

(wiz)

2015-08-30 05:24:04 UTC MAIN commitmail json YAML

Put back MEMORY_DISK_IMAGE logic, but use generated opt_memory_root_image.h
and don't polute Makefile.kern.inc.

(uebayasi)

2015-08-30 05:23:17 UTC MAIN commitmail json YAML

Calculate sector size from superblock and use that instead of DEV_BSIZE.

(mlelstv)

2015-08-30 05:12:00 UTC MAIN commitmail json YAML

Define compile rules in sys/conf/Makefile.kern.inc except those overriden by
"file ... compile-with ...".  As rules are still explicit, be careful to not
override by checking .if !target(xxx.o).

(uebayasi)

2015-08-30 05:09:16 UTC MAIN commitmail json YAML

add attribution, no functional change.
from Michael McConville

(macallan)

2015-08-30 04:27:03 UTC MAIN commitmail json YAML

Restore interrupts on error path.

Also, on another path, avoid splx()'ing twice. While calling splx() a
second time with the same value has no further effect, it looks to me
like the first one of these calls is too early and some of the
subsequent operations are potential races. Not actually tested, I'm
afraid.

From maxv's brainy list.

(dholland)

2015-08-30 04:17:48 UTC MAIN commitmail json YAML

Restore interrupts on error path. From maxv's brainy list.

(dholland)

2015-08-30 04:16:18 UTC MAIN commitmail json YAML

Restore interrupts on error paths. From maxv's brainy list.

(dholland)

2015-08-30 04:11:40 UTC MAIN commitmail json YAML

Even if the "card went away", don't return from smc91cxx_init without
restoring interrupts. From maxv's brainy list.

(dholland)

2015-08-30 04:09:22 UTC MAIN commitmail json YAML

Turn interrupts back off after sleeping. From maxv's Brainy list.

(dholland)

2015-08-30 04:02:06 UTC MAIN commitmail json YAML

Initialize uninitialized variable; from maxv's brainy list. Fixes slipup
in -r1.30 back in 2007.

(dholland)

2015-08-30 01:46:03 UTC MAIN commitmail json YAML

Use makeoptions_COPY_SYMTAB via opt_copy_symtab.h in sources.  Remove a hack
to set -DCOPY_SYMTAB from sys/conf/Makefile.kern.inc.  Remove unnecessary
dependencies too.

(uebayasi)

2015-08-30 01:33:20 UTC MAIN commitmail json YAML

Define `makeoptions' values as parameters with "makeoptions_" prefix too.
C sources are encouraged to include relevant opt_*.h files rather than relying
on -DXXX passed via makefiles.

(uebayasi)

2015-08-29 21:04:22 UTC MAIN commitmail json YAML

Fix IFILE pointer calculation when scanning freelist.

(mlelstv)

2015-08-29 19:19:43 UTC MAIN commitmail json YAML

Fix glaringly wrong indent.

(dholland)

2015-08-29 17:42:05 UTC MAIN commitmail json YAML

No need to define swap<kernel>.o build rule.

(uebayasi)

2015-08-29 17:35:23 UTC MAIN commitmail json YAML

Define ``normal'' .c/.S rules as .for loops.  Still explicit and ugly, but
these will be eventually replaced with suffix rules.  Tested x68k where .c/.S
rules are overriden with "compile-with".

(uebayasi)

2015-08-29 17:18:36 UTC MAIN commitmail json YAML

gdb-7.10 is available.

(wiz)

2015-08-29 16:27:07 UTC MAIN commitmail json YAML

2015-08-29 16:10:01 UTC MAIN commitmail json YAML

Revert a mistakenly added file.

(uebayasi)

2015-08-29 16:07:07 UTC MAIN commitmail json YAML

Define two suffix rules, .c -> .o and .S -> .o, using ${NORMAL_C} and
${NORMAL_S} respectively.  Use the .c rule to build devsw.c, ioconf.c, and
param.c.  Other .c/.S files have explicit rules in the generated `Makefile',
and unaffected.

(uebayasi)

2015-08-29 15:58:38 UTC MAIN commitmail json YAML

Now that MAXUSERS is in opt_param.h, param.o doesn't depend on Makefile.

(uebayasi)

2015-08-29 15:51:53 UTC MAIN commitmail json YAML

According to nxr.netbsd.org, nothing uses MEMORY_DISK_IMAGE.  Retire it.
Premature design and its build rule bloats Makefile.kern.inc.  There are
other ways like MEMORY_DISK_DYNAMIC.

(When kernel will be built as relocatable, embedding binary data will be much
easier, and md(4), splash(4), and ksyms(4) will all benefit.)

(uebayasi)

2015-08-29 15:37:18 UTC MAIN commitmail json YAML

genassym.cf and machdep.c are _KERNEL_OPT'ed, don't depend on Makefile.

(uebayasi)

2015-08-29 15:06:35 UTC MAIN commitmail json YAML

conf.c doesn't exist.

autoconf.c exists, but it's just a C file, no need to depend on Makefile.

(uebayasi)

2015-08-29 14:43:38 UTC MAIN commitmail json YAML

I don't see how uipc_proto.c can change its content by Makefile, don't depend
on Makefile.  vfs_conf.c doesn't even exist, remove it too.

(uebayasi)

2015-08-29 14:07:46 UTC MAIN commitmail json YAML

Convert MAXUSERS, take 2.

Define MAXUSERS in opt_param.h and include it from sys/param.h, for more
accurate dependency.  Don't define -DMAXUSERS and add it to ${CPPFLAGS}.
config(5)'s "maxusers" syntax doesn't change.

(The version just before revert was OK, but I had something bad in my obj
dirs.)

(uebayasi)

2015-08-29 13:34:21 UTC MAIN commitmail json YAML

Revert MAXUSERS.  CVS is hard.

(uebayasi)

2015-08-29 12:24:00 UTC MAIN commitmail json YAML

Don't decrement the number of offline cpus if we fail to shut down one.

ok christos@, via tech-kern@

(maxv)

2015-08-29 10:00:19 UTC MAIN commitmail json YAML

when querying randomness sources from position 'start' then skip 'start'
entries and not one less.

(mlelstv)

2015-08-29 07:33:18 UTC MAIN commitmail json YAML

2015-08-29 07:24:49 UTC MAIN commitmail json YAML

2015-08-29 07:08:38 UTC MAIN commitmail json YAML

2015-08-29 05:33:20 UTC MAIN commitmail json YAML

Bypass the ifile's double indirect block if the ifile size in blocks
is less than or equal to NDADDR + NINDIR, the number of blocks mapped
without getting to the double indirect block.

The code here was instead using NINDIR * ifpb (ifile entries per
block); this gives the number of ifile entries the indirect block can
map, but that isn't a useful number.

Caught by mlelstv.

(dholland)

2015-08-29 05:03:36 UTC MAIN commitmail json YAML

2015-08-29 05:02:43 UTC MAIN commitmail json YAML

Define some suffix rules.  Not used and harmless, because all rules are
explicit now.

(uebayasi)

2015-08-29 04:46:27 UTC MAIN commitmail json YAML

Specify explicit output (-o) to ${LINT} too.

(uebayasi)

2015-08-29 04:43:05 UTC MAIN commitmail json YAML

Specifiy explicit output (-o) to ${CC}.

(uebayasi)

2015-08-29 02:54:07 UTC MAIN commitmail json YAML

2015-08-28 21:44:43 UTC MAIN commitmail json YAML

2015-08-28 21:39:00 UTC MAIN commitmail json YAML

Identify hexadecimal numbers that do NOT begin with 0x.

When one hexadecimal number in all capitals matches another all-caps hex
number, print the result in all capitals, too, so that inputs like
this netstat -s output,

        0 packets with ECN CE bit

do not turn to this:

        0 packets with ECN ce bit

TBD: repair expected test results.

(dyoung)

2015-08-28 21:38:33 UTC MAIN commitmail json YAML

Ignore VIM temporary files, .*.swp.

(dyoung)

2015-08-28 17:41:49 UTC MAIN commitmail json YAML

2015-08-28 14:23:18 UTC MAIN commitmail json YAML

Don't set M_PROTO1 in mbuf flags.

This was left over from the old usage of gif(4) with bridges.

(rjs)

2015-08-28 14:06:01 UTC MAIN commitmail json YAML

Cast to uint64_t first in case the input is negative.

(joerg)

2015-08-28 13:20:46 UTC MAIN commitmail json YAML

Add support for Realtek RTL8168H/8111H variant.

(nonaka)

2015-08-28 13:10:43 UTC MAIN commitmail json YAML

2015-08-28 13:09:48 UTC MAIN commitmail json YAML

Add Intel Dual Band Wireless AC 3165.

(nonaka)

2015-08-28 13:05:13 UTC MAIN commitmail json YAML

2015-08-28 13:04:48 UTC MAIN commitmail json YAML

2015-08-28 13:04:29 UTC MAIN commitmail json YAML

Don't left-shift negative numbers by making them unsigned.

(joerg)

2015-08-28 13:03:36 UTC MAIN commitmail json YAML

Add parenthesis for a macro to prevent surprises when it is negated.

(joerg)

2015-08-28 12:17:41 UTC MAIN commitmail json YAML

Fix obviously broken condition.

(joerg)

2015-08-28 12:04:08 UTC MAIN commitmail json YAML

2015-08-28 11:45:02 UTC MAIN commitmail json YAML

Don't unconditionally pass MLIBDIR via CPPFLAGS. Drop now dead branch.

(joerg)

2015-08-28 11:38:57 UTC MAIN commitmail json YAML

Fix check for non-positive timestamps.

(joerg)

2015-08-28 11:29:48 UTC MAIN commitmail json YAML

Be explicit about what is negated.

(joerg)

2015-08-28 11:20:55 UTC MAIN commitmail json YAML

Simplify to avoid negation-only-applies-to-LHS warning.

(joerg)

2015-08-28 09:42:07 UTC MAIN commitmail json YAML

~0 and -1 are the same for two-complement machines. ISO C says left
shifts of negative values are UB, so do the shift for the unsigned
equivalent and cast to int afterwards.

(joerg)

2015-08-28 09:30:01 UTC MAIN commitmail json YAML

Convert to __cpu_simple_lock_nv_t.  Somehow missed alpha in the earlier
commit.  Thanks to uebs for pointing it out.

(pooka)

2015-08-28 09:16:29 UTC MAIN commitmail json YAML

2015-08-28 09:06:45 UTC MAIN commitmail json YAML

Add ifconfig.if(5) to SEE ALSO.

(nonaka)

2015-08-28 09:04:02 UTC MAIN commitmail json YAML

Retire optional `rule' argument of `file' command.

This has existed since Rev. 1.1 of Torek's config(8) [1], but probably has
never been used by anyone.

(I can not imagine how a `file' like look like if `rule' is specified.)

[1] http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/config.new/Attic/files.c?rev=1.1

(uebayasi)

2015-08-28 08:56:39 UTC MAIN commitmail json YAML

Error out if a given path is absolute.

(uebayasi)

2015-08-28 08:31:28 UTC MAIN commitmail json YAML

Accept only relative paths (from $S) for `file' and `object'.  Simplify code.
config(1) does not need to be super-smart about path handling, because it is
usually used with make(1), that is much smarter.

Pre-compiled object files, specified using `object', are regarded as read-only
input, thus they should be put under $S (or $S/..), as part of a source tree.

(uebayasi)

2015-08-28 08:01:15 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2015-08-28 08:00:32 UTC MAIN commitmail json YAML

Remove reference to non-existing hostname.if(5).

(wiz)

2015-08-28 07:18:40 UTC MAIN commitmail json YAML

fix interrupt_* stubs. reported by skrll@n.o

(knakahara)

2015-08-28 06:04:43 UTC MAIN commitmail json YAML

remove unused include sys/rndsource.h

(mlelstv)

2015-08-28 05:49:31 UTC MAIN commitmail json YAML

Prevent race condition where two threads can defer a buffer.

(mlelstv)

2015-08-28 03:55:15 UTC MAIN commitmail json YAML

Global paths looked up at output stage (mk*()) are relative to `srcdir'.
Ignore "prefix" by not calling sourcepath().

(uebayasi)

2015-08-28 02:59:10 UTC MAIN commitmail json YAML

Paths given to "file" and "object" are relative from "prefix" if defined.

(uebayasi)

2015-08-28 02:33:59 UTC MAIN commitmail json YAML

Try config(5) "prefix" to shorten lines.

(uebayasi)

2015-08-28 01:01:57 UTC MAIN commitmail json YAML

2015-08-27 17:18:58 UTC MAIN commitmail json YAML

Cosmetic fix for VAXstation 4000/90, 90a, 96 dmesg output from Felix
Deichmann.

(jklos)