svn commit: r202185 - head/lib/libc/gen

2010-01-13 Thread David Xu
Author: davidxu Date: Wed Jan 13 08:53:23 2010 New Revision: 202185 URL: http://svn.freebsd.org/changeset/base/202185 Log: Return SEM_FAILED instead of NULL, though there are same, but the SEM_FAILED is more suitable name. In function, sem_close(), always set errno on error. Modified: hea

svn commit: r202187 - head/sys/fs/tmpfs

2010-01-13 Thread Jaakko Heinonen
Author: jh Date: Wed Jan 13 14:17:21 2010 New Revision: 202187 URL: http://svn.freebsd.org/changeset/base/202187 Log: - Fix some style bugs in tmpfs_mount(). [1] - Remove a stale comment about tmpfs_mem_info() 'total' argument. Reported by: bde [1] Modified: head/sys/fs/tmpfs/tmpfs.h

Re: svn commit: r202187 - head/sys/fs/tmpfs

2010-01-13 Thread Jaakko Heinonen
On 2010-01-13, Jaakko Heinonen wrote: > Author: jh > Date: Wed Jan 13 14:17:21 2010 > New Revision: 202187 > URL: http://svn.freebsd.org/changeset/base/202187 > > Log: > - Fix some style bugs in tmpfs_mount(). [1] > - Remove a stale comment about tmpfs_mem_info() 'total' argument. > > Rep

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread John Baldwin
On Tuesday 12 January 2010 7:15:22 pm Doug Barton wrote: > On 1/10/2010 8:02 PM, M. Warner Losh wrote: > > In message: > > Doug Barton writes: > > : On Sun, 10 Jan 2010, Warner Losh wrote: > > : > > : > Author: imp > > : > Date: Sun Jan 10 17:44:22 2010 > > : > New Revision: 202019 >

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread M. Warner Losh
In message: <201001130844.21241@freebsd.org> John Baldwin writes: : On Tuesday 12 January 2010 7:15:22 pm Doug Barton wrote: : > On 1/10/2010 8:02 PM, M. Warner Losh wrote: : > > In message: : > > Doug Barton writes: : > > : On Sun, 10 Jan 2010, Warner Losh wrote: : >

svn commit: r202188 - in head: include lib/libc/gen lib/libulog

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 17:29:55 2010 New Revision: 202188 URL: http://svn.freebsd.org/changeset/base/202188 Log: Implement . The utmpx interface is the standardized interface of the user accounting database. The standard only defines a subset of the functions that were present in S

svn commit: r202190 - head/bin/csh

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 17:49:35 2010 New Revision: 202190 URL: http://svn.freebsd.org/changeset/base/202190 Log: Let csh(1) use utmpx instead of utmp. csh allows you to monitor the utmp(x) file to monitor certain user logins. Unfortunately it needs to directly stat() this file. I don

svn commit: r202191 - head/usr.bin/finger

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 17:50:58 2010 New Revision: 202191 URL: http://svn.freebsd.org/changeset/base/202191 Log: Migrate finger(1) towards utmpx. It was already ported to use libulog, which makes it simpler now. Be sure to catch the error returned by setutxdb(). Otherwise it may perf

svn commit: r202192 - head/usr.sbin/ppp

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 17:54:32 2010 New Revision: 202192 URL: http://svn.freebsd.org/changeset/base/202192 Log: Port ppp(8) to utmpx. A nice thing about utmpx is that it makes it very easy to log sessions that don't use TTYs. This is because the file is not indexed by TTY slots an

svn commit: r202193 - in head/bin: date pax

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 17:56:54 2010 New Revision: 202193 URL: http://svn.freebsd.org/changeset/base/202193 Log: Port everything in bin/ from utmp to utmpx. date: use libc utmpx routines instead of the ones provided by libulog. pax: don't depend on Modified: head/bin/date/Makefi

svn commit: r202194 - head/sbin/init

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 17:58:49 2010 New Revision: 202194 URL: http://svn.freebsd.org/changeset/base/202194 Log: Migrate init(8) towards utmpx. According to a comment, we cannot safely remove utmpx entries here anymore. This is because the libc routines may block on file locking. In

svn commit: r202195 - head/sbin/reboot

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 17:59:23 2010 New Revision: 202195 URL: http://svn.freebsd.org/changeset/base/202195 Log: Port the remaining apps in sbin/ to utmpx; only reboot(8). Modified: head/sbin/reboot/Makefile head/sbin/reboot/reboot.c Modified: head/sbin/reboot/Makefile ===

svn commit: r202196 - head/lib/libopie

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:02:30 2010 New Revision: 202196 URL: http://svn.freebsd.org/changeset/base/202196 Log: Let libopie use utmpx instead of utmp. Modified: head/lib/libopie/Makefile head/lib/libopie/config.h Modified: head/lib/libopie/Makefile ===

svn commit: r202197 - head/usr.bin/last

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:06:31 2010 New Revision: 202197 URL: http://svn.freebsd.org/changeset/base/202197 Log: Port last(1) to use utmpx. Basically there are three major things I changed about last(1): - It should use ut_type instead of determining by hand what type of recor

svn commit: r202198 - head/usr.bin/getent

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:08:00 2010 New Revision: 202198 URL: http://svn.freebsd.org/changeset/base/202198 Log: Allow getent(1) to display utmpx entries as well. Because getutxent also matches the typical get*ent format of library routines, I thought it would be a good idea to teach

svn commit: r202199 - head/usr.bin/w

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:09:21 2010 New Revision: 202199 URL: http://svn.freebsd.org/changeset/base/202199 Log: Port w(1) to utmpx. Let it print "-" when the TTY string is empty. In this case, it must also make sure it doesn't match processes who also have no controlling TTY. Othe

svn commit: r202200 - in head/usr.bin: systat users wall who write

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:09:54 2010 New Revision: 202200 URL: http://svn.freebsd.org/changeset/base/202200 Log: Perform all trivial ports to utmpx for usr.bin/. They were already converted to use libulog, so it's easy to convert them to utmpx. Modified: head/usr.bin/systat/Makefi

svn commit: r202201 - stable/8/lib/libc/stdtime

2010-01-13 Thread John Baldwin
Author: jhb Date: Wed Jan 13 18:12:21 2010 New Revision: 202201 URL: http://svn.freebsd.org/changeset/base/202201 Log: MFC 199607, 200797, 201270, 201669: Use pthread_once() to initialize the thread-local storage for localtime() and gmtime() and _once() to initialize gmt state rather than ho

svn commit: r202202 - stable/7/lib/libc/stdtime

2010-01-13 Thread John Baldwin
Author: jhb Date: Wed Jan 13 18:12:37 2010 New Revision: 202202 URL: http://svn.freebsd.org/changeset/base/202202 Log: MFC 199607, 200797, 201270, 201669: Use pthread_once() to initialize the thread-local storage for localtime() and gmtime() and _once() to initialize gmt state rather than ho

svn commit: r202203 - head/usr.sbin/ac

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:14:59 2010 New Revision: 202203 URL: http://svn.freebsd.org/changeset/base/202203 Log: Port ac(8) to utmpx. Similar to last(1), it must compare ut_id's instead of TTYs to determine whether a session has been terminated. It must also use ut_type to determin

svn commit: r202204 - head/usr.sbin/timed/timed

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:15:46 2010 New Revision: 202204 URL: http://svn.freebsd.org/changeset/base/202204 Log: Port timed away from logwtmp(3). Let it use utmpx. Modified: head/usr.sbin/timed/timed/master.c head/usr.sbin/timed/timed/slave.c Modified: head/usr.sbin/timed/timed/master

svn commit: r202205 - head/usr.sbin/lastlogin

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:17:12 2010 New Revision: 202205 URL: http://svn.freebsd.org/changeset/base/202205 Log: Port lastlogin(8) to utmpx. While there, fix a bug I introduced previously. We must reopen the database for each username passed on the command line. We must rewind the

svn commit: r202206 - in head/usr.sbin: bsnmpd/modules/snmp_hostres rwhod syslogd

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:17:53 2010 New Revision: 202206 URL: http://svn.freebsd.org/changeset/base/202206 Log: Port all applications in usr.sbin/ from libulog to utmpx. Modified: head/usr.sbin/bsnmpd/modules/snmp_hostres/Makefile head/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scal

svn commit: r202207 - head/libexec/rlogind

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:24:04 2010 New Revision: 202207 URL: http://svn.freebsd.org/changeset/base/202207 Log: Remove `dead code' from rlogind. - It shouldn't call logwtmp(). Applications like login(1) already make sure both login and logout entries are written to the storage.

svn commit: r202208 - head/libexec/comsat

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:25:43 2010 New Revision: 202208 URL: http://svn.freebsd.org/changeset/base/202208 Log: Port comsat to utmpx. It seems comsat stats the utmpx database each 15 seconds to see whether it has been changed. I am changing this behaviour to look at the utmpx data

svn commit: r202209 - head/libexec/ftpd

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:28:41 2010 New Revision: 202209 URL: http://svn.freebsd.org/changeset/base/202209 Log: Port ftpd to utmpx. Unfortunately I have to partially wreck its functionality, though. ftpd used to keep a file descriptor to the wtmp, which allowed it to work from wit

svn commit: r202210 - in head/libexec: rpc.rusersd talkd

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:28:58 2010 New Revision: 202210 URL: http://svn.freebsd.org/changeset/base/202210 Log: Port all apps in libexec/ from libulog to utmpx. Modified: head/libexec/rpc.rusersd/Makefile head/libexec/rpc.rusersd/rusers_proc.c head/libexec/talkd/Makefile head/libe

svn commit: r202211 - head/lib/libpam/modules/pam_lastlog

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:32:31 2010 New Revision: 202211 URL: http://svn.freebsd.org/changeset/base/202211 Log: Let pam_lastlog use utmpx instead of libulog's utmpx interface. It will still use ulog_login(3) and ulog_logout(3), which will remain present. Modified: head/lib/libpam

svn commit: r202212 - head/contrib/telnet/telnetd

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:37:42 2010 New Revision: 202212 URL: http://svn.freebsd.org/changeset/base/202212 Log: Let telnetd build without utmp and logwtmp(3). Just like rlogind, there is no need to change the ownership of the terminal during shutdown anymore. Also don't call logwtmp

svn commit: r202213 - head/crypto/openssh

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:43:32 2010 New Revision: 202213 URL: http://svn.freebsd.org/changeset/base/202213 Log: Make OpenSSH work with utmpx. - Partially revert r184122 (sshd.c). Our ut_host is now big enough to fit proper hostnames. - Change config.h to match reality. -

svn commit: r202214 - head/contrib/telnet/telnetd

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 18:46:50 2010 New Revision: 202214 URL: http://svn.freebsd.org/changeset/base/202214 Log: Forgot a part that was missing in the previous commit. There is no need to call trimdomain() anymore now that ut_host is big enough to fit decent hostnames. Modified: h

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread Doug Barton
On 01/12/10 16:43, M. Warner Losh wrote: > In message: <4b4d109a.5060...@freebsd.org> > Doug Barton writes: > : On 1/10/2010 8:02 PM, M. Warner Losh wrote: > : > In message: > : > Doug Barton writes: > : > : On Sun, 10 Jan 2010, Warner Losh wrote: > : > : > : > : > Autho

svn commit: r202215 - in head: . lib/libulog

2010-01-13 Thread Ed Schouten
2010(r202215) @@ -14,6 +14,14 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20100113: remove utmp.h, replace it by utmpx.h +OLD_FILES+=usr/share/man/man3/ulog_endutxent.3.gz +OLD_FILES+=usr/share/man/man3/ulog_getutxent.3.gz +OLD_FILES+=usr/share/man

svn commit: r202216 - in head: . lib/libutil

2010-01-13 Thread Ed Schouten
== --- head/ObsoleteFiles.inc Wed Jan 13 18:53:06 2010(r202215) +++ head/ObsoleteFiles.inc Wed Jan 13 18:59:51 2010(r202216) @@ -15,6 +15,9 @@ # # 20100113: remove utmp.h, replace it by utmpx.h +OLD_FILES+=usr/share/man/man3/login.3.gz +OLD_FILES+=usr

svn commit: r202217 - in head: . include share/man/man5

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 19:03:48 2010 New Revision: 202217 URL: http://svn.freebsd.org/changeset/base/202217 Log: Remove and its corresponding manual page. Deleted: head/share/man/man5/utmp.5 Modified: head/ObsoleteFiles.inc head/include/utmp.h head/share/man/man5/Makefile Modifie

svn commit: r202218 - in head/etc: . periodic/monthly rc.d

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 19:07:48 2010 New Revision: 202218 URL: http://svn.freebsd.org/changeset/base/202218 Log: Let rc and periodic infrastructure and newsyslog use the utmpx files. Modified: head/etc/newsyslog.conf head/etc/periodic/monthly/200.accounting head/etc/rc.d/cleanvar h

svn commit: r202219 - in head: . sys/sys

2010-01-13 Thread Ed Schouten
+22,23 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 9. machines to maximize performance. (To disable malloc debugging, run ln -s aj /etc/malloc.conf.) +20100113: + The utmp user accounting database has been replaced with utmpx, + the user accounting interface standardized

svn commit: r202221 - in stable/8/sys/sparc64: pci sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 19:55:51 2010 New Revision: 202221 URL: http://svn.freebsd.org/changeset/base/202221 Log: MFC: 197164 Factor out the duplicated macro for the device type used in the OFW device tree for PCI bridges and add a new one for PCI Express. While at it, take adva

svn commit: r202222 - in stable/7/sys/sparc64: pci sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 19:56:02 2010 New Revision: 20 URL: http://svn.freebsd.org/changeset/base/20 Log: MFC: 197164 Factor out the duplicated macro for the device type used in the OFW device tree for PCI bridges and add a new one for PCI Express. While at it, take adva

svn commit: r202223 - in stable/8/sys: dev/auxio sparc64/central sparc64/fhc sparc64/pci sparc64/sbus sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 19:59:13 2010 New Revision: 202223 URL: http://svn.freebsd.org/changeset/base/202223 Log: MFC: r200815, r200816 Provide and consume missing module dependency information. Modified: stable/8/sys/dev/auxio/auxio.c stable/8/sys/sparc64/central/central.c s

svn commit: r202224 - in stable/7/sys: dev/auxio sparc64/central sparc64/fhc sparc64/pci sparc64/sbus sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 19:59:19 2010 New Revision: 202224 URL: http://svn.freebsd.org/changeset/base/202224 Log: MFC: r200815, r200816 Provide and consume missing module dependency information. Modified: stable/7/sys/dev/auxio/auxio.c stable/7/sys/sparc64/central/central.c s

svn commit: r202225 - in stable/8/sys: dev/auxio sparc64/central sparc64/ebus sparc64/fhc sparc64/pci sparc64/sbus sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:03:24 2010 New Revision: 202225 URL: http://svn.freebsd.org/changeset/base/202225 Log: MFC: r200874 Enroll these drivers in multipass probing. The motivation behind this is that the JBus to EBus bridges share the interrupt controller of a sibling JBus

svn commit: r202226 - stable/8/sys/sparc64/include

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:05:32 2010 New Revision: 202226 URL: http://svn.freebsd.org/changeset/base/202226 Log: MFC: r200876 Make these constants unsigned which is more appropriate. Modified: stable/8/sys/sparc64/include/bus_common.h Directory Properties: stable/8/sys/ (pro

svn commit: r202227 - stable/7/sys/sparc64/include

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:05:35 2010 New Revision: 202227 URL: http://svn.freebsd.org/changeset/base/202227 Log: MFC: r200876 Make these constants unsigned which is more appropriate. Modified: stable/7/sys/sparc64/include/bus_common.h Directory Properties: stable/7/sys/ (pro

svn commit: r202228 - stable/8/sys/sparc64/include

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:07:45 2010 New Revision: 202228 URL: http://svn.freebsd.org/changeset/base/202228 Log: MFC: r200878 - Add macros for the states of the interrupt clear registers. - Change INTMAP_VEC() to take an INO as its second argument rather than an INR. The form

svn commit: r202229 - stable/7/sys/sparc64/include

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:07:46 2010 New Revision: 202229 URL: http://svn.freebsd.org/changeset/base/202229 Log: MFC: r200878 - Add macros for the states of the interrupt clear registers. - Change INTMAP_VEC() to take an INO as its second argument rather than an INR. The form

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread John Baldwin
On Wednesday 13 January 2010 1:48:38 pm Doug Barton wrote: > To address the other responses, Tom, sorry, your suggested text doesn't > address my concern. John, I don't think that users would somehow > magically know to look in NOTES for more information about an option > that is already in GENERIC

svn commit: r202231 - head/crypto/openssh

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 20:30:16 2010 New Revision: 202231 URL: http://svn.freebsd.org/changeset/base/202231 Log: Add a missing $FreeBSD$ string. I was requested to add this string to any file that was modified by my commit, which I forgot to do so. Requested by: des Modified:

svn commit: r202232 - stable/8/sys/sparc64/ebus

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:32:54 2010 New Revision: 202232 URL: http://svn.freebsd.org/changeset/base/202232 Log: MFC: r200879 - Add support for the JBus to EBus bridges which hang off of nexus(4) and are found in sun4u and sun4v machines based on the Fire ASIC. - Initialize t

svn commit: r202233 - stable/7/sys/sparc64/ebus

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:33:00 2010 New Revision: 202233 URL: http://svn.freebsd.org/changeset/base/202233 Log: MFC: r200879 - Add support for the JBus to EBus bridges which hang off of nexus(4) and are found in sun4u and sun4v machines based on the Fire ASIC. - Initialize t

svn commit: r202234 - stable/8/sys/sparc64/isa

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:35:27 2010 New Revision: 202234 URL: http://svn.freebsd.org/changeset/base/202234 Log: MFC: r200880 - Correct an off-by-one error when calculating the end of a child range. - Spell the PCI TLA in uppercase. Modified: stable/8/sys/sparc64/isa/ofw_i

svn commit: r202235 - stable/7/sys/sparc64/isa

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:35:37 2010 New Revision: 202235 URL: http://svn.freebsd.org/changeset/base/202235 Log: MFC: r200880 - Correct an off-by-one error when calculating the end of a child range. - Spell the PCI TLA in uppercase. Modified: stable/7/sys/sparc64/isa/ofw_i

svn commit: r202236 - stable/6/sys/sparc64/isa

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:35:43 2010 New Revision: 202236 URL: http://svn.freebsd.org/changeset/base/202236 Log: MFC: r200880 - Correct an off-by-one error when calculating the end of a child range. - Spell the PCI TLA in uppercase. Modified: stable/6/sys/sparc64/isa/ofw_i

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread Doug Barton
On 1/13/2010 12:15 PM, John Baldwin wrote: > On Wednesday 13 January 2010 1:48:38 pm Doug Barton wrote: >> To address the other responses, Tom, sorry, your suggested text doesn't >> address my concern. John, I don't think that users would somehow >> magically know to look in NOTES for more informat

svn commit: r202237 - stable/8/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:40:49 2010 New Revision: 202237 URL: http://svn.freebsd.org/changeset/base/202237 Log: MFC: r200914 Don't use an out register to hold the vector number across the call of the interrupt handler in intr_fast() as the handler might clobber it (no in-tree

svn commit: r202238 - stable/7/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:40:51 2010 New Revision: 202238 URL: http://svn.freebsd.org/changeset/base/202238 Log: MFC: r200914 Don't use an out register to hold the vector number across the call of the interrupt handler in intr_fast() as the handler might clobber it (no in-tree

svn commit: r202239 - stable/6/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:41:27 2010 New Revision: 202239 URL: http://svn.freebsd.org/changeset/base/202239 Log: MFC: r200914 Don't use an out register to hold the vector number across the call of the interrupt handler in intr_fast() as the handler might clobber it (no in-tree

svn commit: r202240 - in stable/6/sys: dev/auxio sparc64/central sparc64/fhc sparc64/pci sparc64/sbus sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:48:42 2010 New Revision: 202240 URL: http://svn.freebsd.org/changeset/base/202240 Log: MFC: r200815, r200816 Provide and consume missing module dependency information. Modified: stable/6/sys/dev/auxio/auxio.c stable/6/sys/sparc64/central/central.c s

svn commit: r202241 - stable/8/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:51:21 2010 New Revision: 202241 URL: http://svn.freebsd.org/changeset/base/202241 Log: MFC: r200915 Don't probe the bq4802 variant found in Ultra 25 and 45 for now as this chip isn't MC146818 compatible and requires different handlers (but which I can'

svn commit: r202242 - stable/7/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:51:23 2010 New Revision: 202242 URL: http://svn.freebsd.org/changeset/base/202242 Log: MFC: r200915 Don't probe the bq4802 variant found in Ultra 25 and 45 for now as this chip isn't MC146818 compatible and requires different handlers (but which I can'

svn commit: r202243 - in head: share/man/man4 sys/dev/usb sys/dev/usb/net

2010-01-13 Thread Andrew Thompson
Author: thompsa Date: Wed Jan 13 20:54:18 2010 New Revision: 202243 URL: http://svn.freebsd.org/changeset/base/202243 Log: Update to Fredrik's latest uhso driver. This changes port detection, adds comments and other code nits. Submitted by: Fredrik Lindberg Modified: head/share/man/ma

svn commit: r202244 - stable/8/sys/sun4v/conf

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:59:36 2010 New Revision: 202244 URL: http://svn.freebsd.org/changeset/base/202244 Log: MFC: r200916 Remove devices which are/were only relevant for sun4u. Modified: stable/8/sys/sun4v/conf/NOTES Directory Properties: stable/8/sys/ (props changed)

svn commit: r202245 - stable/7/sys/sun4v/conf

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 20:59:42 2010 New Revision: 202245 URL: http://svn.freebsd.org/changeset/base/202245 Log: MFC: r200916 Remove devices which are/were only relevant for sun4u. Modified: stable/7/sys/sun4v/conf/NOTES Directory Properties: stable/7/sys/ (props changed)

svn commit: r202246 - in stable/8/sys: conf sun4v/conf

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:03:04 2010 New Revision: 202246 URL: http://svn.freebsd.org/changeset/base/202246 Log: MFC: r200917 Hook ebus(4) and isa(4) up to the sun4v LINT build in order to ensure that their compilation doesn't break as they are expected to work as-is now (but a

svn commit: r202247 - in stable/7/sys: conf sun4v/conf

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:03:06 2010 New Revision: 202247 URL: http://svn.freebsd.org/changeset/base/202247 Log: MFC: r200917 Hook ebus(4) and isa(4) up to the sun4v LINT build in order to ensure that their compilation doesn't break as they are expected to work as-is now (but a

svn commit: r202248 - stable/8/sys/sparc64/pci

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:04:56 2010 New Revision: 202248 URL: http://svn.freebsd.org/changeset/base/202248 Log: MFC: r200918 Add structures for OFW MSI/MSI-X support. These are identical for both sun4u and sun4v. Modified: stable/8/sys/sparc64/pci/ofw_pci.h Directory Properti

svn commit: r202249 - stable/7/sys/sparc64/pci

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:05:01 2010 New Revision: 202249 URL: http://svn.freebsd.org/changeset/base/202249 Log: MFC: r200918 Add structures for OFW MSI/MSI-X support. These are identical for both sun4u and sun4v. Modified: stable/7/sys/sparc64/pci/ofw_pci.h Directory Properti

svn commit: r202250 - stable/7/sys/sparc64/pci

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:08:57 2010 New Revision: 202250 URL: http://svn.freebsd.org/changeset/base/202250 Log: MFC: r200920 - Sort the prototypes. - Add macros to ease the access of device configuration space in ofw_pcibus_setup_device(). Modified: stable/7/sys/sparc64/p

svn commit: r202251 - stable/8/sys/sparc64/pci

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:08:57 2010 New Revision: 202251 URL: http://svn.freebsd.org/changeset/base/202251 Log: MFC: r200920 - Sort the prototypes. - Add macros to ease the access of device configuration space in ofw_pcibus_setup_device(). Modified: stable/8/sys/sparc64/p

svn commit: r202252 - stable/8/sys/sparc64/pci

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:12:27 2010 New Revision: 202252 URL: http://svn.freebsd.org/changeset/base/202252 Log: MFC: r200921 - Add quirk handling for ALi M5229, mainly setting the magic "force enable IDE I/O" bit which prevents data access traps with revision 0xc8 in Fire-

svn commit: r202253 - stable/7/sys/sparc64/pci

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:12:31 2010 New Revision: 202253 URL: http://svn.freebsd.org/changeset/base/202253 Log: MFC: r200921 - Add quirk handling for ALi M5229, mainly setting the magic "force enable IDE I/O" bit which prevents data access traps with revision 0xc8 in Fire-

svn commit: r202254 - stable/8/sys/sparc64/include

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:13:50 2010 New Revision: 202254 URL: http://svn.freebsd.org/changeset/base/202254 Log: MFC: r200922 Fix whitespace according to style(9). Modified: stable/8/sys/sparc64/include/iommureg.h Directory Properties: stable/8/sys/ (props changed) stable/

svn commit: r202255 - stable/7/sys/sparc64/include

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:13:51 2010 New Revision: 202255 URL: http://svn.freebsd.org/changeset/base/202255 Log: MFC: r200922 Fix whitespace according to style(9). Modified: stable/7/sys/sparc64/include/iommureg.h Directory Properties: stable/7/sys/ (props changed) stable/

svn commit: r202256 - in stable/8/sys/sparc64: include sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:16:07 2010 New Revision: 202256 URL: http://svn.freebsd.org/changeset/base/202256 Log: MFC: r200923 - Add support for the IOMMUs of Fire JBus to PCIe and Oberon Uranus to PCIe bridges. - Add support for talking the PROM mappings over to the kernel IO

svn commit: r202257 - in stable/7/sys/sparc64: include sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:16:13 2010 New Revision: 202257 URL: http://svn.freebsd.org/changeset/base/202257 Log: MFC: r200923 - Add support for the IOMMUs of Fire JBus to PCIe and Oberon Uranus to PCIe bridges. - Add support for talking the PROM mappings over to the kernel IO

svn commit: r202258 - stable/8/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:17:45 2010 New Revision: 202258 URL: http://svn.freebsd.org/changeset/base/202258 Log: MFC: r200924 Style changes. Modified: stable/8/sys/sparc64/sparc64/ofw_machdep.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/

svn commit: r202259 - stable/7/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:17:48 2010 New Revision: 202259 URL: http://svn.freebsd.org/changeset/base/202259 Log: MFC: r200924 Style changes. Modified: stable/7/sys/sparc64/sparc64/ofw_machdep.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/o

svn commit: r202260 - stable/8/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:19:46 2010 New Revision: 202260 URL: http://svn.freebsd.org/changeset/base/202260 Log: MFC: r200925 - By re-arranging the code in OF_decode_addr() somewhat and accepting a bit of a detour we can just iterate through the banks array instead of havin

svn commit: r202261 - stable/7/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:19:46 2010 New Revision: 202261 URL: http://svn.freebsd.org/changeset/base/202261 Log: MFC: r200925 - By re-arranging the code in OF_decode_addr() somewhat and accepting a bit of a detour we can just iterate through the banks array instead of havin

svn commit: r202262 - stable/8/sys/dev/uart

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:21:29 2010 New Revision: 202262 URL: http://svn.freebsd.org/changeset/base/202262 Log: MFC: r200926 Recognize the NS16552 found in PCIe-based sun4u machines. Modified: stable/8/sys/dev/uart/uart_bus_ebus.c stable/8/sys/dev/uart/uart_cpu_sparc64.c Dire

svn commit: r202263 - stable/7/sys/dev/uart

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:21:32 2010 New Revision: 202263 URL: http://svn.freebsd.org/changeset/base/202263 Log: MFC: r200926 Recognize the NS16552 found in PCIe-based sun4u machines. Modified: stable/7/sys/dev/uart/uart_bus_ebus.c stable/7/sys/dev/uart/uart_cpu_sparc64.c Dire

svn commit: r202264 - in head: share/man/man4 sys/kern

2010-01-13 Thread Ed Schouten
Author: ed Date: Wed Jan 13 21:22:23 2010 New Revision: 202264 URL: http://svn.freebsd.org/changeset/base/202264 Log: Remove the 1000 pseudo terminal limit from pts(4). Even with the old utmp format, we could in fact go to pts/, because ut_line wasn't guaranteed to be null terminated

svn commit: r202265 - stable/8/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:23:27 2010 New Revision: 202265 URL: http://svn.freebsd.org/changeset/base/202265 Log: MFC: r200938 - Don't check for a valid interrupt controller on every interrupt in intr_execute_handlers(). If we managed to get here without an associated interr

svn commit: r202266 - stable/7/sys/sparc64/sparc64

2010-01-13 Thread Marius Strobl
Author: marius Date: Wed Jan 13 21:23:29 2010 New Revision: 202266 URL: http://svn.freebsd.org/changeset/base/202266 Log: MFC: r200938 - Don't check for a valid interrupt controller on every interrupt in intr_execute_handlers(). If we managed to get here without an associated interr

Re: svn commit: r202243 - in head: share/man/man4 sys/dev/usb sys/dev/usb/net

2010-01-13 Thread Ben Kaduk
Lots of grammar nits. See below. On Wed, Jan 13, 2010 at 3:54 PM, Andrew Thompson wrote: > Author: thompsa > Date: Wed Jan 13 20:54:18 2010 > New Revision: 202243 > URL: http://svn.freebsd.org/changeset/base/202243 > > Log: > Update to Fredrik's latest uhso driver. This changes port detection,

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread John Baldwin
On Wednesday 13 January 2010 3:36:26 pm Doug Barton wrote: > On 1/13/2010 12:15 PM, John Baldwin wrote: > > On Wednesday 13 January 2010 1:48:38 pm Doug Barton wrote: > >> To address the other responses, Tom, sorry, your suggested text doesn't > >> address my concern. John, I don't think that users

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread Julian Elischer
John Baldwin wrote: On Wednesday 13 January 2010 1:48:38 pm Doug Barton wrote: To address the other responses, Tom, sorry, your suggested text doesn't address my concern. John, I don't think that users would somehow magically know to look in NOTES for more information about an option that is alr

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread John Baldwin
On Wednesday 13 January 2010 3:28:31 pm Julian Elischer wrote: > John Baldwin wrote: > > On Wednesday 13 January 2010 1:48:38 pm Doug Barton wrote: > >> To address the other responses, Tom, sorry, your suggested text doesn't > >> address my concern. John, I don't think that users would somehow > >>

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread M. Warner Losh
In message: <201001131633.09669@freebsd.org> John Baldwin writes: : On Wednesday 13 January 2010 3:36:26 pm Doug Barton wrote: : > On 1/13/2010 12:15 PM, John Baldwin wrote: : > > On Wednesday 13 January 2010 1:48:38 pm Doug Barton wrote: : > >> To address the other responses, Tom,

svn commit: r202267 - head/sys/dev/sound/pcm

2010-01-13 Thread Alexander Motin
Author: mav Date: Wed Jan 13 22:22:16 2010 New Revision: 202267 URL: http://svn.freebsd.org/changeset/base/202267 Log: Hide from default sndstat some information not used on daily basis, to make it readable by average user with average screen size. Modified: head/sys/dev/sound/pcm/sndstat.c

svn commit: r202268 - head/sys/dev/bge

2010-01-13 Thread Xin LI
Author: delphij Date: Wed Jan 13 22:39:39 2010 New Revision: 202268 URL: http://svn.freebsd.org/changeset/base/202268 Log: o Add PCI ID for BCM 5756. o Don't enable BGE_FLAG_BER_BUG on both 5722 and 5756, and based on their PCI IDs rather than their chip IDs. Reported by: several

svn commit: r202269 - head/sys/dev/mii

2010-01-13 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 14 00:36:49 2010 New Revision: 202269 URL: http://svn.freebsd.org/changeset/base/202269 Log: Add BCM5754 PHY id that is found on Dell Studio XPS 16. Tested by:scf MFC after:1 week Modified: head/sys/dev/mii/brgphy.c head/sys/dev/mii/miidevs Modi

svn commit: r202270 - in head: share/man/man4 sys/dev/usb/net

2010-01-13 Thread Andrew Thompson
Author: thompsa Date: Thu Jan 14 01:16:20 2010 New Revision: 202270 URL: http://svn.freebsd.org/changeset/base/202270 Log: Grammar nits. Submitted by: Ben Kaduk Modified: head/share/man/man4/uhso.4 head/sys/dev/usb/net/uhso.c Modified: head/share/man/man4/uhso.4 ==

Re: svn commit: r202243 - in head: share/man/man4 sys/dev/usb sys/dev/usb/net

2010-01-13 Thread Andrew Thompson
On Wed, Jan 13, 2010 at 04:27:24PM -0500, Ben Kaduk wrote: > Lots of grammar nits. See below. > ... Thanks, commmitted. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn

svn commit: r202271 - in head/sys/ia64: ia64 include

2010-01-13 Thread Marcel Moolenaar
Author: marcel Date: Thu Jan 14 02:14:21 2010 New Revision: 202271 URL: http://svn.freebsd.org/changeset/base/202271 Log: Add wrappers for the RT Variable Services. While here, translate the EFI status into a standard errno value and change efi_set_time() to return a standard error. MFC

svn commit: r202272 - in head/sys/ia64: ia64 include

2010-01-13 Thread Marcel Moolenaar
Author: marcel Date: Thu Jan 14 02:38:46 2010 New Revision: 202272 URL: http://svn.freebsd.org/changeset/base/202272 Log: Fix previous commitr:. efi_var_set() was copied from efi_var_get(), but wasn't actually changed. Modified: head/sys/ia64/ia64/efi.c head/sys/ia64/include/efi.h Modifi

svn commit: r202273 - in head/sys/ia64: ia64 include

2010-01-13 Thread Marcel Moolenaar
Author: marcel Date: Thu Jan 14 02:48:39 2010 New Revision: 202273 URL: http://svn.freebsd.org/changeset/base/202273 Log: Add ioctl requests to /dev/io on ia64 for reading and writing EFI variables. The primary reason for this is that it allows sysinstall(8) to add a boot menu item for the n

svn commit: r202274 - in head: . include lib/libc/gen libexec/getty

2010-01-13 Thread Ed Schouten
Thu Jan 14 05:35:32 2010(r202274) @@ -14,6 +14,8 @@ # The file is partitioned: OLD_FILES first, then OLD_LIBS and OLD_DIRS last. # +# 20100114: removal of ttyslot(3) +OLD_FILES+=usr/share/man/man3/ttyslot.3.gz # 20100113: remove utmp.h, replace it by utmpx.h OLD_FILES+=usr/share/man

svn commit: r202275 - head/lib/libc/gen

2010-01-13 Thread Ed Schouten
Author: ed Date: Thu Jan 14 05:37:43 2010 New Revision: 202275 URL: http://svn.freebsd.org/changeset/base/202275 Log: Add two changes that should have gone into commit r202274. Phase out ttyslot(3). The ttyslot() function was originally part for SUSv1, marked LEGACY in SUSv2 an

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-13 Thread Nikolay Denev
On 14 Jan, 2010, at 24:04 , M. Warner Losh wrote: > In message: <201001131633.09669@freebsd.org> >John Baldwin writes: > : On Wednesday 13 January 2010 3:36:26 pm Doug Barton wrote: > : > On 1/13/2010 12:15 PM, John Baldwin wrote: > : > > On Wednesday 13 January 2010 1:48:38 pm Do

  1   2   >