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

2024-05-10 08:56:57 UTC Now

2009-11-17 08:34:16 UTC MAIN commitmail json YAML

2009-11-17 08:34:02 UTC MAIN commitmail json YAML

New sentence, new line.

(wiz)

2009-11-17 07:56:27 UTC matt-nb5-mips64 commitmail json YAML

Appease the extent routines and pass a u_long instead of a bus_addr_t.
(slightly bogus but then we really should kill extent and switch to vmem)

(matt)

2009-11-17 07:35:24 UTC matt-nb5-mips64 commitmail json YAML

2009-11-17 07:34:38 UTC matt-nb5-mips64 commitmail json YAML

Made mfcr/mtcf dependent on MIPS64

(matt)

2009-11-16 23:59:19 UTC matt-nb5-mips64 commitmail json YAML

2009-11-16 23:57:26 UTC matt-nb5-mips64 commitmail json YAML

set up some Processor Control registers at start of mach_init():
- disable all threads except #0
- disable Unaligned Access
- set single MMU Thread Mode, single TLB partition

(cliff)

2009-11-16 22:53:09 UTC matt-nb5-mips64 commitmail json YAML

Build P5064-64 if doing 64-bit builds

(matt)

2009-11-16 22:52:27 UTC matt-nb5-mips64 commitmail json YAML

2009-11-16 22:28:43 UTC MAIN commitmail json YAML

Update for mdocml-1.9.14.

(joerg)

2009-11-16 22:26:53 UTC MAIN commitmail json YAML

2009-11-16 19:40:17 UTC MAIN commitmail json YAML

kill a stray semicolon which made that the "-p <cmd>" option in
POSIX mode didn't work as expected

(drochner)

2009-11-16 17:21:26 UTC MAIN commitmail json YAML

Add RTLD_LAZY to dlopen call, to make it work on Linux hosts.

ok by pooka.

(njoly)

2009-11-16 13:32:40 UTC MAIN commitmail json YAML

Follow up commit to fix breakage that somehow passed by the compiler.

(joerg)

2009-11-16 13:11:51 UTC MAIN commitmail json YAML

Merge changes between revision 1.16 and 1.19 of OpenBSD with
shutdownhook_establish(9) to pmf(9) conversion:

- LOMlite seems to get wedged from time to time; add some code to unwedge it.

- Make sure we don't insert and entry into the list of pending commends twice.

- Establish a shutdown hook to disable the watchdog timer to prevent watchdog
  triggers after the kernel has been halted.

- Handle LOMlite2 in an interrupt-driven way; avoids using delay(9) once the
  machine is up and running.

(nakayama)

2009-11-16 08:49:32 UTC MAIN commitmail json YAML

2009-11-16 08:44:21 UTC MAIN commitmail json YAML

Make sure to never leak padding space before copyout or copyin
uninitialized fields by explicitly using memset in the conversion
routines.

(joerg)

2009-11-16 07:45:50 UTC MAIN commitmail json YAML

Note briefly that new amd64 kernels don't build with old binutils.

(dholland)

2009-11-16 07:39:54 UTC MAIN commitmail json YAML

fix typo in previous

(dholland)

2009-11-16 07:22:17 UTC MAIN commitmail json YAML

2009-11-15 23:29:18 UTC matt-nb5-mips64 commitmail json YAML

2009-11-15 23:11:32 UTC matt-nb5-mips64 commitmail json YAML

- use new obio bus space
- add bus space stuff for PCIe CFG and ECFG spaces

(cliff)

2009-11-15 23:11:06 UTC matt-nb5-mips64 commitmail json YAML

- abandon XKPHYS mapping for access PCIe CFG and ECFG space, useless for N32
- rmixl_pcie_conf_read() and rmixl_pcie_conf_write() now use
rmixl_pcie_conf_setup() to establish bus space mappings for
access to PCIe CFG, ECFG space.  The mappings are "lazy"
to allow successive accesses to the same (bus) in CFG space,
or to the same (bus, device) in ECFG space, to reuse the mapping.

(cliff)

2009-11-15 23:10:22 UTC matt-nb5-mips64 commitmail json YAML

- use PRIxPADDR and PRIxPSIZE as needed when printing
bus address and size following change in typedef
- use new obio bus space

(cliff)

2009-11-15 23:10:04 UTC matt-nb5-mips64 commitmail json YAML

2009-11-15 23:09:45 UTC matt-nb5-mips64 commitmail json YAML

- use (intptr_t) as needed to make int to pointer casts work for N32 and N64
- in BS(map), when not _LP64, if the bus address cannot "fit"
in KSEG0/KSEG1, then use uvm_km_alloc() and pmap_kenter_pa()
to make page table mappings.

(cliff)

2009-11-15 23:09:18 UTC matt-nb5-mips64 commitmail json YAML

- need to be able to handle >32 bit bus addrs in N32 kernel
- bus_addr_t is now paddr_t
- bus_size_t is now psize_t
- bus_space_handle_t is now  intptr_t
- this will impact other MIPS ports, TBD

(cliff)

2009-11-15 23:00:00 UTC matt-nb5-mips64 commitmail json YAML

- make infop work for N32 or N64; firmware gives us a
non-sign-extended 32 bit pointer in a 64 bit variable
- in rmixlfw_init(), when PSB version not found,
fix rc_io_pbase initialization, and add the missing return MEMSIZE.
- use PRIx64 format to make some printfs work for N32 or N64
- use (intptr_t) as needed to make int to pointer casts work for N32 and N64
- init rc_obio_memt replaces init of rc_eb_memt, rc_el_memt

(cliff)

2009-11-15 22:59:36 UTC matt-nb5-mips64 commitmail json YAML

- make infop work for N32 or N64; firmware gives us a
non-sign-extended 32 bit pointer in a 64 bit variable
- in rmixlfw_init(), when PSB version not found,
fix rc_io_pbase initialization, and add the missing return MEMSIZE.
- use PRIx64 format to make some printfs work for N32 or N64
- use (intptr_t) as needed to make int to pointer casts work for N32 and N64
- init rc_obio_memt replaces init of rc_eb_memt, rc_el_memt

(cliff)

2009-11-15 22:59:06 UTC matt-nb5-mips64 commitmail json YAML

- delete un-needed makeoptions CPUFLAGS, AFLAGS ("-mips64")
- delete un-needed no options MIPS32

(cliff)

2009-11-15 22:58:39 UTC matt-nb5-mips64 commitmail json YAML

- delete un-needed options MIPS32

(cliff)

2009-11-15 22:58:15 UTC matt-nb5-mips64 commitmail json YAML

- we don't need -el bus space for obio, get rid of it and clean up the naming
- delete rmixl_eb_space.c, rmixl_el_space.c
- add mixl_obio_space.c, provides -eb bus space for obio devices

(cliff)

2009-11-15 22:21:03 UTC MAIN commitmail json YAML

Don't define wchar_t for c++; it is native in the language. From Alexander
Nasonov

(christos)

2009-11-15 22:17:03 UTC MAIN commitmail json YAML

Pull in fixes from upstream revision 1.146 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.

(snj)

2009-11-15 21:57:49 UTC MAIN commitmail json YAML

Pull in fixes from upstream revision 1.406 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.

(snj)

2009-11-15 21:56:06 UTC MAIN commitmail json YAML

PR/42320: Alexander Nasonov: According to:
http://www.opengroup.org/onlinepubs/7990989775/xcu/awk.html
the LC_NUMERIC decimal point recognized is always period. Make it so.

(christos)

2009-11-15 21:19:35 UTC MAIN commitmail json YAML

Fix unbalanced parentheses to make this build again.

(snj)

2009-11-15 20:56:40 UTC MAIN commitmail json YAML

Pull in fixes from upstream revision 1.108 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.

(snj)

2009-11-15 20:48:35 UTC MAIN commitmail json YAML

Argh.  Missed another now-unnecessary mhitch@ acknowledgement.

(snj)

2009-11-15 20:45:36 UTC MAIN commitmail json YAML

Three ad clauses down: one for mhitch@ && is@, and two for mhitch@.

(snj)

2009-11-15 20:38:36 UTC MAIN commitmail json YAML

Drop 3rd and 4th clauses (except in one case, where copyright is shared
with UCB and only the 3rd clause is dropped).  Approved by mhitch@ and is@
(copyright holders).

(snj)

2009-11-15 20:16:41 UTC MAIN commitmail json YAML

mDNSResponder-214 out.

(wiz)

2009-11-15 20:10:11 UTC MAIN commitmail json YAML

Pull in fixes from upstream revision 1.362 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.

(snj)

2009-11-15 19:51:50 UTC MAIN commitmail json YAML

Pull in fixes from upstream revision 1.83 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.

(snj)

2009-11-15 18:43:28 UTC MAIN commitmail json YAML

2009-11-15 18:41:32 UTC MAIN commitmail json YAML

Declare trap name array as extern const char *const [] to match how
it's defined in trap.c. (Should really be in a header, of course.)
Compile-tested.

(dholland)

2009-11-15 18:41:08 UTC MAIN commitmail json YAML

2009-11-15 18:27:41 UTC MAIN commitmail json YAML

Remove PROTO(), which is like _P() only spelled differently.

The change causes gcc to harmlessly permute two instructions in the output
for some reason, but otherwise has no effect on the generated code.

(dholland)

2009-11-15 18:24:23 UTC MAIN commitmail json YAML

Since this is a host program, fix some 64-bit cleanliness issues.

(dholland)

2009-11-15 18:23:08 UTC MAIN commitmail json YAML

Need %zu for size_t

(dsl)

2009-11-15 18:17:18 UTC MAIN commitmail json YAML

Declare trap name array as extern const char *[] to match how it's defined
in trap.c. (Should really be in a header, of course.) Compile-tested.

(dholland)

2009-11-15 17:42:24 UTC MAIN commitmail json YAML

Reserve WSDISPLAY_TYPE for DisplayLink DL-1x0/DL-1x5 USB LCDs and
USB-VGA adaptors (which may require a new ioctl for DUMBFB ops). From
FUKAUMI Naoki.

(tsutsui)

2009-11-15 17:34:32 UTC MAIN commitmail json YAML

Regen from usbdevs rev 1.537:
> Add IDs for DisplayLink DL-1x0/1x5 based USB LCDs and USB-VGA adaptors.
> Info from FUKAUMI Naoki's udl(4) driver patch.

(tsutsui)

2009-11-15 17:33:28 UTC MAIN commitmail json YAML

Add IDs for DisplayLink DL-1x0/1x5 based USB LCDs and USB-VGA adaptors.
Info from FUKAUMI Naoki's udl(4) driver patch.

(tsutsui)

2009-11-15 15:53:05 UTC MAIN commitmail json YAML

2009-11-15 14:59:47 UTC MAIN commitmail json YAML

Add a period at the end of a sentence.

(pgoyette)

2009-11-15 14:40:18 UTC MAIN commitmail json YAML

Get patch part of version from comment.

(dsl)

2009-11-15 13:39:00 UTC MAIN commitmail json YAML

Use shell builtins instead of awk and sed.
Avoids problems with awk processing floating point numbers when LC_NUMERIC
give a decimal point of ','.
Fixes PR/42321

(dsl)

2009-11-15 12:26:02 UTC MAIN commitmail json YAML

Put PMAP_NOCACHE in the MD space.

(skrll)

2009-11-15 10:25:17 UTC MAIN commitmail json YAML

2009-11-15 10:16:04 UTC MAIN commitmail json YAML

sync to NetBSD-ftp 20090915

(lukem)

2009-11-15 10:12:38 UTC MAIN commitmail json YAML

2009-11-15 10:08:25 UTC MAIN commitmail json YAML

Sync to 20090915:
* rename getline() to get_line() to avoid libc conflict with latter
* avoid NULL deref in error message

Status:

Vendor Tag: TNF
Release Tags: NetBSD-20090915

(lukem)

2009-11-15 10:03:16 UTC MAIN commitmail json YAML

Crank version to 20090915:
* rename internal getline() to get_line() to avoid conflict with libc
* avoid NULL deref in verbose output in an error path
* improve man page markup

(lukem)

2009-11-15 07:43:14 UTC MAIN commitmail json YAML

Add a commented out "encoding us.swapctrlcaps" line as a popular example.

(tsutsui)

2009-11-15 06:11:11 UTC netbsd-5 commitmail json YAML

Tickets 1134-1138, 1142, 1144, and 1146.

(snj)

2009-11-15 06:08:45 UTC netbsd-5-0 commitmail json YAML

2009-11-15 06:05:52 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1146):
etc/rc.d/named: revision 1.20
PR/41273: Martin Mersberger: missing '/' in /etc/rc.d/named in section
named_migrate

(snj)

2009-11-15 06:03:59 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mbalmer in ticket #1144):
sys/dev/pckbport/wskbdmap_mfii.c: revision 1.18
Add support for Swiss german kezboard to wskbd.
Contributed by Marc Balmer.

(snj)

2009-11-15 06:01:49 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1142):
sys/netkey/keysock.c: revision 1.53
Replace splsoftnet() with proper mutexes as suggested by ad@.
Fixes PR kren/40940.

(snj)

2009-11-15 05:58:38 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jdc in ticket #1138):
sys/arch/sparc/sparc/pmap.c: revision 1.336
Avoid unused variable warnings on Sun4c-only kernels.
Fix applied from PR#42249 -- thanks!

(snj)

2009-11-15 05:55:00 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by mhitch in ticket #1137):
sys/arch/alpha/alpha/pmap.c: revision 1.250
The tlb shootdown IPI can interrupt the pool_cache_get() in places that
can cause a deadlock or pool cache corruption.  Take the shootdown job
queue mutex before calling pool_cache_get(), which will block the IPI
interrupts and seems to fix the remaining tlb shootdown deadlocks and
pool cache corruption I've been seeing.  Should address both
PR port-alpha/38335 and PR port-alpha/42174.

(snj)

2009-11-15 05:54:38 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mhitch in ticket #1137):
sys/arch/alpha/alpha/pmap.c: revision 1.250
The tlb shootdown IPI can interrupt the pool_cache_get() in places that
can cause a deadlock or pool cache corruption.  Take the shootdown job
queue mutex before calling pool_cache_get(), which will block the IPI
interrupts and seems to fix the remaining tlb shootdown deadlocks and
pool cache corruption I've been seeing.  Should address both
PR port-alpha/38335 and PR port-alpha/42174.

(snj)

2009-11-15 05:52:08 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mhitch in ticket #1136):
distrib/alpha/instkernel/cd-hd-tape/Makefile: revision 1.20
The tarfs image in cdhdinstall used to get padded out to an 18KB boundary
(the size of the read used to read it) with the alpha-specific image
creation.  This got lost when moved to using common routines, so that
burning the cdhdinstall image onto a CDROM resulted in a failure to read
the last block of the tarfs image.  Use the provided option to have the
image padded out to the full image size.  It's more than actually needed,
but extra isn't likely to cause any problems.

(snj)

2009-11-15 05:49:30 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by mhitch in ticket #1135):
sys/arch/alpha/conf/Makefile.alpha: revision 1.82
Loading the kernel at 0xfffffc0000300000 doesn't work on my ES40 when I've
got raid drives configured on the iop(4) adapter and the mlx(4) adapter.
Change the kernel text to 0xfffffc0000430000 (which is where Tru64 has its
kernel).

(snj)

2009-11-15 05:46:53 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #1135):
sys/dev/rnd.c: revision 1.77
rnd_sample_allocate_isr: pass correct flag to pool_get().
Should fix PR/39325.

(snj)

2009-11-15 05:46:23 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #1135):
sys/dev/rnd.c: revision 1.77
rnd_sample_allocate_isr: pass correct flag to pool_get().
Should fix PR/39325.

(snj)

2009-11-15 02:37:14 UTC MAIN commitmail json YAML

Include miscfs/specfs/specdev.h for spec_init().

(elad)

2009-11-15 00:42:17 UTC matt-nb5-mips64 commitmail json YAML

2009-11-14 23:40:11 UTC MAIN commitmail json YAML

2009-11-14 23:31:37 UTC MAIN commitmail json YAML

2009-11-14 21:59:15 UTC matt-nb5-mips64 commitmail json YAML

- rmixls_subr.S is replaced by rmixl_subr.S

(cliff)

2009-11-14 21:52:08 UTC matt-nb5-mips64 commitmail json YAML

Switch from fu*/su* to ufetch_*/ustore_*.  This make netbsd32 compat root
on a LP64 BE kernel.

(matt)

2009-11-14 21:50:51 UTC matt-nb5-mips64 commitmail json YAML

2009-11-14 21:49:34 UTC matt-nb5-mips64 commitmail json YAML

2009-11-14 21:49:05 UTC matt-nb5-mips64 commitmail json YAML

2009-11-14 20:01:20 UTC MAIN commitmail json YAML

fix format string bug, filename may contain % character, don't use it as format string.

(tnozaki)

2009-11-14 19:06:55 UTC MAIN commitmail json YAML

kpsignal2: do not make the signal pending twice when tracing the process,
also update a comment and add an assert.  Fixes PR/42309 by Nicolas Joly.

(rmind)

2009-11-14 18:36:57 UTC MAIN commitmail json YAML

- Move kauth_init() a little bit higher.

- Add spec_init() to authorize special device actions (and passthru too for
  the time being). Move policy out of secmodel_suser.

(elad)

2009-11-14 17:06:12 UTC MAIN commitmail json YAML

2009-11-14 13:31:44 UTC MAIN commitmail json YAML

Update a couple of comments.

(skrll)

2009-11-14 13:18:41 UTC MAIN commitmail json YAML

Christos was worried about clrbits() being called with a length of zero.
This can't happen, but rework so it doesn't matter.
Remove 'optimisation' for length 1, that doesn't happen often enough.

(dsl)

2009-11-14 11:55:16 UTC MAIN commitmail json YAML

2009-11-14 10:43:56 UTC netbsd-4-0 commitmail json YAML

2009-11-14 10:43:35 UTC netbsd-4-0 commitmail json YAML

Pull up the following revisions(s) (requested by joerg in ticket #1366):
sys/netinet6/ip6_forward.c: revision 1.67

Clear cksum flags before any further processing like ip_forward does.
Many drivers set the UDP/TCP v4 flags even for v6 traffic and if the
packet is encapsulated with gif, the IPv6 header would get corrupted by
ip_output.

(sborrill)

2009-11-14 10:40:43 UTC netbsd-4 commitmail json YAML

2009-11-14 10:40:12 UTC netbsd-4 commitmail json YAML

Pull up the following revisions(s) (requested by joerg in ticket #1366):
sys/netinet6/ip6_forward.c: revision 1.67

Clear cksum flags before any further processing like ip_forward does.
Many drivers set the UDP/TCP v4 flags even for v6 traffic and if the
packet is encapsulated with gif, the IPv6 header would get corrupted by
ip_output.

(sborrill)

2009-11-14 10:37:27 UTC MAIN commitmail json YAML

Use __packed, not __attribute__((__packed__)).

(njoly)

2009-11-14 09:54:11 UTC MAIN commitmail json YAML

2009-11-14 09:49:16 UTC netbsd-5-0 commitmail json YAML

2009-11-14 09:48:57 UTC netbsd-5-0 commitmail json YAML

Pull up the following revisions(s) (requested by joerg in ticket #1139):
sys/netinet6/ip6_forward.c: revision 1.67

Clear cksum flags before any further processing like ip_forward does.
Many drivers set the UDP/TCP v4 flags even for v6 traffic and if the
packet is encapsulated with gif, the IPv6 header would get corrupted by
ip_output.

(sborrill)

2009-11-14 09:46:25 UTC netbsd-5 commitmail json YAML

2009-11-14 09:45:54 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by joerg in ticket #1139):
sys/netinet6/ip6_forward.c: revision 1.67

Clear cksum flags before any further processing like ip_forward does.
Many drivers set the UDP/TCP v4 flags even for v6 traffic and if the
packet is encapsulated with gif, the IPv6 header would get corrupted by
ip_output.

(sborrill)

2009-11-14 09:42:50 UTC MAIN commitmail json YAML

include <sys/device_if.h> for device_t. There is no use of struct device.

(cegger)

2009-11-14 09:19:41 UTC MAIN commitmail json YAML

Fix a wrong index value for edid_products[] inside #ifdef EDIDVERBOSE in
edid_findproduct(). From Yasushi Oshima via FUKAUMI Naoki in udl(4) patch.

(tsutsui)

2009-11-14 09:18:49 UTC MAIN commitmail json YAML

2009-11-14 09:14:23 UTC MAIN commitmail json YAML

Preserve wscons(4) device numbers for forthcoming udl(4) USB display.

(tsutsui)

2009-11-14 08:32:43 UTC MAIN commitmail json YAML

2009-11-14 04:47:03 UTC MAIN commitmail json YAML

Fix pppd for ipv6 link-local addresses. Change the prefix length to 72 bits.
Thanks to Nagae Hidetake for providing patches and testing.

(christos)

2009-11-14 03:43:52 UTC MAIN commitmail json YAML

comcons in dev/ic/com.c is now declared as static, so don't peek it
directly but use it via cn_tab.

Tested on my Netra X1.

(nakayama)

2009-11-14 01:56:23 UTC MAIN commitmail json YAML

2009-11-13 23:11:08 UTC MAIN commitmail json YAML

Simplify ifreq_setaddr:
- Drop the INET6 block. The commands are never given to this function
  and truncating the sockaddr is arguably not the desired result anyway.
- Clear the address before copying. This fixes SIOCGIFNETMASK and possible
  other ioctls for users that don't check sa_len. This includes
  COMPAT_43 and Linux emulation.

OK dyoung@

(joerg)

2009-11-13 22:49:47 UTC MAIN commitmail json YAML

tlbstate is 'int', so use 'cmpl' not 'cmpq'.
Fixes gprof on amd64 PR/40960.

(dsl)

2009-11-13 22:39:35 UTC MAIN commitmail json YAML

2009-11-13 21:45:03 UTC MAIN commitmail json YAML

2009-11-13 20:58:23 UTC netbsd-5 commitmail json YAML

2009-11-13 20:57:27 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by jakllsch in ticket #1133):
sys/dev/ic/hme.c: revision 1.84 via patch

Use hme_init() to provide a non-NULL ifp->if_init.

(sborrill)

2009-11-13 20:51:04 UTC netbsd-5 commitmail json YAML

Ticket #1132.
Fix grammar error in previous ticket.

(sborrill)

2009-11-13 20:49:08 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by mrg in ticket #1132):
external/mit/xorg/lib/dri/i915/Makefile: revision 1.4
external/mit/xorg/lib/dri/i965/Makefile: revision 1.5

Link in -ldrm_intel on i915 and i965 drivers.
Build i915 driver with -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP.

(sborrill)

2009-11-13 20:43:07 UTC netbsd-5-0 commitmail json YAML

2009-11-13 20:42:49 UTC netbsd-5-0 commitmail json YAML

Pull up the following revisions(s) (requested by cube in ticket #1140):
sys/arch/amd64/include/Makefile.inc: revision 1.1

Build kernel modules with -mno-red-zone like kernel is build. This fixes
frequent panics in amd64 zfs module, plus other reported problems.

(sborrill)

2009-11-13 20:39:33 UTC netbsd-5 commitmail json YAML

2009-11-13 20:38:48 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by cube in ticket #1140):
sys/arch/amd64/include/Makefile.inc: revision 1.1

Build kernel modules with -mno-red-zone like kernel is build. This fixes
frequent panics in amd64 zfs module, plus other reported problems.

(sborrill)

2009-11-13 20:34:29 UTC netbsd-5 commitmail json YAML

2009-11-13 20:34:03 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by bouyer in ticket #1128):
sys/nfs/nfs_socket.c: revision 1.182

Handle EWOULDBLOCK the same way as EPIPE. It seems the TCP socket layer
can return EWOULDBLOCK on some occasion when the connection is broken.

(sborrill)

2009-11-13 20:23:47 UTC MAIN commitmail json YAML

2009-11-13 19:15:24 UTC MAIN commitmail json YAML

Fix clrbits() so that it doesn't mask no bits out of the byte after the
range (when the last bit to be cleared is the msb of a byte).
Fixes PR/42312 in a slightly better way than proposed.

(dsl)

2009-11-13 19:00:15 UTC MAIN commitmail json YAML

Change args to clrbits() to be unsigned for efficiency.

(dsl)

2009-11-13 13:49:09 UTC MAIN commitmail json YAML

Removed return statement in parser action that caused a memory leak with
the new yacc, making "sh MAKEDEV -MM init" consume 27 MB of virtual memory
with the result that NetBSD could no longer be installed on a 32 MB system.

(gson)

2009-11-13 09:51:14 UTC MAIN commitmail json YAML

The ippool(5) manpage mentions ippool.conf (which is also more common
name for config files) - add it to distribution. Per <hubertf> suggestion.

(mishka)

2009-11-13 08:20:30 UTC MAIN commitmail json YAML

Remove reference to now-moved binutils src directory, it's not needed
anymore since strings is commented out and has been for a long time.
... and remove the commented-out strings as well.

(he)

2009-11-13 08:14:53 UTC MAIN commitmail json YAML

Point to the new ncdcs directory.

(he)

2009-11-13 05:27:30 UTC matt-nb5-mips64 commitmail json YAML

- add inline to simplify recognizing RMI Company ID
- add inlines to simplify use of RMI company specific flags in pridtab entry

(cliff)

2009-11-13 05:27:09 UTC matt-nb5-mips64 commitmail json YAML

- KASSERT this interrupt code being used on XLS family CPU

(cliff)

2009-11-13 05:26:42 UTC matt-nb5-mips64 commitmail json YAML

- define used to prevent recursive include gets renamed according to convention

(cliff)

2009-11-13 05:25:50 UTC matt-nb5-mips64 commitmail json YAML

- pridtab definition is removed to cpu.h
- pritab entries now initialize cpu_cp0flags and cpu_cidflags
except for RMI XLS entries, these are all 0 for now.
- pridtab entries for RMI XLS use those new fields and CPU_MIPS_HAVE_MxCR

(cliff)

2009-11-13 05:25:16 UTC matt-nb5-mips64 commitmail json YAML

- KSEG and XK labels, useful for address representation in ddb,
moved here from RMI specific code
- replace .word XXX with proper mnemonics for mfcr ops in cacheException
now that binutils knows these ops

(cliff)

2009-11-13 05:24:43 UTC matt-nb5-mips64 commitmail json YAML

- in SHOW64 macro remove extraneous 'x' in printf format
- in MIPS64_SHOW32 macro add push and pop directives
- use mycpu->cpu_cp0flags to determine whether various CP0 regs exist
- use CPU_MIPS_HAVE_MxCR to determine whether mfcr, mtcr insns are available
- use asm() to inline mfcr, mtcr ops instead of calling
MIPS-implementation-specific subroutines

(cliff)

2009-11-13 05:23:23 UTC matt-nb5-mips64 commitmail json YAML

- move #ifndef LOCORE up a few lines to wrap more XSEG, XKSEG stuff

(cliff)

2009-11-13 05:22:50 UTC matt-nb5-mips64 commitmail json YAML

- struct pridtab definition is moved here from mips_machdep.c
- 'mycpu' is now global (was static); uh, a name change might be nice?
- new bit for cpu_flags 'CPU_MIPS_HAVE_MxCR' denotes
mfcr, mtcr instructions are available on this CPU
- new field 'cpu_cp0flags' in pridtab tracks whether (some) CP0 regs exist
- define bits in cpu_cp0flags, including a "USE" bit that,
if clear means cpu_cp0flags can be ignored. common CP0 regs do not
need to be represented here, only newer optional ones are.
- new field 'cpu_cidflags' in pridtab allows defining company-specific flags
- some RMI company specific flags are defined to track chip family

(cliff)

2009-11-13 05:22:19 UTC matt-nb5-mips64 commitmail json YAML

- rmixls_subr.S is replaced by rmixl_subr.S
- those subroutine names changed accordingly

(cliff)

2009-11-13 05:19:22 UTC matt-nb5-mips64 commitmail json YAML

- (re-) configure ksyms
- SYMTAB_SPACE can now shrink by almost 10x now that local symbols
are properly stripped  (!)

(cliff)

2009-11-13 02:04:49 UTC itohy-usb1 commitmail json YAML

Reduce the diff a little.

(uebayasi)

2009-11-13 01:14:35 UTC MAIN commitmail json YAML

Don't use com_activate(), it's gone away.  Thanks to Andreas Wrede
for pointing out that these drivers still used com_activate().

Use device_private().  Join some lines.

Remove superfluous activation hooks.

Add child-detachment hooks (not used, yet).

TBD: device_t/softc split.

(dyoung)

2009-11-12 23:16:28 UTC MAIN commitmail json YAML

Use TAILQ_FOREACH() instead of open-coding it.

I applied this patch with Coccinelle's semantic patch tool, spatch(1).
I installed Coccinelle from pkgsrc: devel/coccinelle/.  I wrote
tailq.spatch and kdefs.h (see below) and ran this command,

spatch -debug -macro_file_builtins ./kdefs.h -outplace \
    -sp_file sys/kern/tailq.spatch sys/kern/subr_autoconf.c

which wrote the transformed source file to /tmp/subr_autoconf.c.  Then I
used indent(1) to fix the indentation.

::::::::::::::::::::
::: tailq.spatch :::
::::::::::::::::::::

@@
identifier I, N;
expression H;
statement S;
iterator name TAILQ_FOREACH;
@@

- for (I = TAILQ_FIRST(H); I != NULL; I = TAILQ_NEXT(I, N)) S
+ TAILQ_FOREACH(I, H, N) S

:::::::::::::::
::: kdefs.h :::
:::::::::::::::

#define MAXUSERS 64
#define _KERNEL
#define _KERNEL_OPT
#define i386

/*
* Tail queue definitions.
*/
#define _TAILQ_HEAD(name, type, qual) \
struct name { \
qual type *tqh_first; /* first element */ \
qual type *qual *tqh_last; /* addr of last next element */ \
}
#define TAILQ_HEAD(name, type) _TAILQ_HEAD(name, struct type,)

#define TAILQ_HEAD_INITIALIZER(head) \
{ NULL, &(head).tqh_first }

#define _TAILQ_ENTRY(type, qual) \
struct { \
qual type *tqe_next; /* next element */ \
qual type *qual *tqe_prev; /* address of previous next element */\
}
#define TAILQ_ENTRY(type) _TAILQ_ENTRY(struct type,)

#define PMF_FN_PROTO1 pmf_qual_t
#define PMF_FN_ARGS1 pmf_qual_t qual
#define PMF_FN_CALL1 qual

#define PMF_FN_PROTO , pmf_qual_t
#define PMF_FN_ARGS , pmf_qual_t qual
#define PMF_FN_CALL , qual

#define __KERNEL_RCSID(a, b)

(dyoung)

2009-11-12 22:46:47 UTC MAIN commitmail json YAML

Don't use com_activate(), it's gone away.  Delete superfluous
activation hook, pcmcom_activate().

Add a child-detachment hook and use it.

Use device_private().

Cosmetic: use __arraycount().  Join a couple of lines.  Delete a
set of superfluous parentheses.

(dyoung)

2009-11-12 21:40:05 UTC MAIN commitmail json YAML

2009-11-12 20:38:35 UTC MAIN commitmail json YAML

Remove some dead code.

(dyoung)

2009-11-12 20:37:44 UTC MAIN commitmail json YAML

Delete definition of com_activate(), it's been removed.

(dyoung)

2009-11-12 20:37:09 UTC MAIN commitmail json YAML

Move the code in com_activate() to com_detach(), where it always
belonged.  Remove com_activate().

Consolidate information about the console on com(4) in a new struct
comcons_info.

Support detachment & re-attachment of a system console on com(4).
Re-attachment is somehow incomplete.  Ideally, if some other device
could take over as console, it would, but we're not quite there,
yet.

(dyoung)

2009-11-12 20:30:29 UTC MAIN commitmail json YAML

Don't use com_activate(), it's going away.

(dyoung)

2009-11-12 20:30:10 UTC MAIN commitmail json YAML

Don't use com_activate(), it's going away.

(dyoung)

2009-11-12 20:29:30 UTC MAIN commitmail json YAML

Call com_detach() before doing any bus-specific detachment.

Don't use com_activate(), it's going away.

(dyoung)

2009-11-12 20:28:32 UTC MAIN commitmail json YAML

Call the common detach routine, com_detach(), and get out on error,
before starting the bus-specific detachment.

com_activate() is going away, so don't use it any more.

(dyoung)

2009-11-12 20:15:02 UTC MAIN commitmail json YAML

Remove definition of spc_activate(), it has gone away.

(dyoung)

2009-11-12 20:14:04 UTC MAIN commitmail json YAML

Remove superfluous activation hook.

Add a child-detachment hook.

(dyoung)

2009-11-12 20:11:35 UTC MAIN commitmail json YAML

Re-order operations in usb_detach() so that if a usb(4) instance's
children will not detach, the instance is not left in an inconsistent
state.

If uhub(4) port is disconnected, forcefully detach the children on
that port.

Simplify detachment hooks.  (sc_dying must die!)

Pass along and respect detachment flags, esp. DETACH_FORCE,
throughout.

(dyoung)

2009-11-12 20:01:15 UTC MAIN commitmail json YAML

2009-11-12 19:58:27 UTC MAIN commitmail json YAML

2009-11-12 19:53:56 UTC MAIN commitmail json YAML

Simplify activation hook.  (sc_dying must die!)

unifdef -D__NetBSD__ -U__FreeBSD__ -U__OpenBSD__.

(dyoung)

2009-11-12 19:53:15 UTC MAIN commitmail json YAML

Simplify activation hook.  (sc_dying must die!)

(dyoung)

2009-11-12 19:52:14 UTC MAIN commitmail json YAML

Remove superfluous activation hook.

(dyoung)

2009-11-12 19:51:45 UTC MAIN commitmail json YAML

2009-11-12 19:50:01 UTC MAIN commitmail json YAML

Simplify activation hook.  (sc_dying must die!)

s/device_ptr_t/device_t/.

(dyoung)

2009-11-12 19:49:03 UTC MAIN commitmail json YAML

Simplify activation hook.  (sc_dying must die!)

unifdef -D__NetBSD__ -U__FreeBSD__ -U__OpenBSD__.

(dyoung)

2009-11-12 19:46:01 UTC MAIN commitmail json YAML

Simplify activation hook.

(sc_dying must die!)

(dyoung)

2009-11-12 19:44:17 UTC MAIN commitmail json YAML

2009-11-12 19:41:05 UTC MAIN commitmail json YAML

Remove superfluous activation hook.

(dyoung)

2009-11-12 19:40:19 UTC MAIN commitmail json YAML

Remove superfluous activation hook.

(dyoung)

2009-11-12 19:39:26 UTC MAIN commitmail json YAML

Remove superfluous activation hook.

(dyoung)

2009-11-12 19:38:35 UTC MAIN commitmail json YAML

Simplify activation hook.

(dyoung)

2009-11-12 19:37:17 UTC MAIN commitmail json YAML

2009-11-12 19:35:59 UTC MAIN commitmail json YAML

Simplify activation hook.

(dyoung)

2009-11-12 19:32:14 UTC MAIN commitmail json YAML

Simplify activation hook.  Replace each use of sc_invalid by either
calling config_deactivate(9) or device_is_active(9).

(dyoung)

2009-11-12 19:30:49 UTC MAIN commitmail json YAML

Simplify activation hook.

(dyoung)

2009-11-12 19:29:00 UTC MAIN commitmail json YAML

Simplify activation hook.  Replace each use of sc_invalid by either
calling config_deactivate(9) or device_is_active(9).

(dyoung)

2009-11-12 19:25:08 UTC MAIN commitmail json YAML

Remove superfluous activation hook.

(dyoung)

2009-11-12 19:24:06 UTC MAIN commitmail json YAML

Don't use the superfluous activation hook.

Cosmetic: while I'm here, join two lines.

(dyoung)

2009-11-12 19:22:08 UTC MAIN commitmail json YAML

Simplify activation hook.

(dyoung)

2009-11-12 19:21:04 UTC MAIN commitmail json YAML

Remove superfluous activation hook.

(dyoung)

2009-11-12 19:20:08 UTC MAIN commitmail json YAML

Remove superfluous activation hook.

(dyoung)

2009-11-12 19:18:56 UTC MAIN commitmail json YAML

Simplify activation hook.

(dyoung)

2009-11-12 19:10:31 UTC MAIN commitmail json YAML

Move a device-deactivation pattern that is replicated throughout
the system into config_deactivate(dev): deactivate dev and all of
its descendants.  Block all interrupts while calling each device's
activation hook, ca_activate.  Now it is possible to simplify or
to delete several device-activation hooks throughout the system.

Do not deactivate a driver while detaching it!  If the driver was
already deactivated (because of accidental/emergency removal), let
the driver cope with the knowledge that DVF_ACTIVE has been cleared.
Otherwise, let the driver access the underlying hardware (so that
it can flush caches, restore original register settings, et cetera)
until it exits its device-detachment hook.

Let multiple readers and writers simultaneously access the system's
device_t list, alldevs, from either interrupt or thread context:
postpone changing alldevs linkages and freeing autoconf device
structures until a garbage-collection phase that runs after all
readers & writers have left the list.

Give device iterators (deviter(9)) a consistent view of alldevs no
matter whether device_t's are added and deleted during iteration:
keep a global alldevs generation number.  When an iterator enters
alldevs, record the current generation number in the iterator and
increase the global number.  When a device_t is created, label it
with the current global generation number.  When a device_t is
deleted, add a second label, the current global generation number.
During iteration, compare a device_t's added- and deleted-generation
with the iterator's generation and skip a device_t that was deleted
before the iterator entered the list or added after the iterator
entered the list.

The alldevs generation number is never 0.  The garbage collector
reaps device_t's whose delete-generation number is non-zero.

Make alldevs private to sys/kern/subr_autoconf.c.  Use deviter(9)
to access it.

(dyoung)

2009-11-12 18:37:10 UTC MAIN commitmail json YAML

igsfb needs videomode.

(snj)

2009-11-12 14:58:09 UTC MAIN commitmail json YAML

Turn on Stack Smash Protection (SSP) for the "ALL" kernel to get at least
compile time coverage during a full release build.

Suggested by Mindaugas Rasiukevicius.

(tron)

2009-11-12 14:46:37 UTC MAIN commitmail json YAML

Remove "USE_SSP_DEFAULT".

(tron)

2009-11-12 14:30:34 UTC MAIN commitmail json YAML

Revert SSP changes because at least rmind@, pooka@ and haad@ consider
5% more performance more important than the gain in security.

(tron)

2009-11-12 13:22:34 UTC MAIN commitmail json YAML

Invent a new flag "USE_SSP_DEFAULT" which defines whether we want to use
SSP for building the whole source tree. Set this to "yes" for
NetBSD/amd64 and NetBSD/i386. It is now possible to get the old
behavior (build libs and certain programs with SSP) by setting
"USE_SSP_DEFAULT" to "no".

(tron)

2009-11-12 13:17:46 UTC MAIN commitmail json YAML

Use proper tag ".man" for man files.

(nakayama)

2009-11-12 10:10:49 UTC MAIN commitmail json YAML

Don't assume that "id_t", "gid_t" and "uid_t" use the same underlying type
and use the appropriate types instead. Tested under NetBSD 5.99.22
and Darwin 10.2.0.

This should fix one of the cross-builds under FreeBSD as reported by
Rhialto on the "current-users" mailing list.

(tron)

2009-11-12 09:04:30 UTC itohy-usb1 commitmail json YAML

Sort struct usbd_bus_methods member initializers.

(uebayasi)

2009-11-12 09:04:11 UTC itohy-usb1 commitmail json YAML

Sort struct usbd_bus_methods member initializers.

(uebayasi)

2009-11-12 08:59:08 UTC itohy-usb1 commitmail json YAML

Sort struct usbd_bus_methods member initializers.

(uebayasi)

2009-11-12 08:54:00 UTC MAIN commitmail json YAML

Comment & whitespace.

(uebayasi)

2009-11-12 08:51:50 UTC MAIN commitmail json YAML

Fix broken conditional to get manual builds (not using "build.sh")
working again.

(tron)

2009-11-12 08:50:26 UTC itohy-usb1 commitmail json YAML

2009-11-12 08:41:49 UTC MAIN commitmail json YAML

2009-11-12 08:32:57 UTC MAIN commitmail json YAML

2009-11-12 08:30:16 UTC itohy-usb1 commitmail json YAML

_USBI_UTIL_H_ -> _USBDI_UTIL_H_

(uebayasi)

2009-11-12 08:28:31 UTC MAIN commitmail json YAML

usbd_do_request_flags(..., 0, 0, USBD_CONFIG_TIMEOUT) is equivalent to
usbd_do_request(...).  Remove an unneeded cast.  No functional changes.

(uebayasi)