Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.32 / (download) - annotate - [select for diffs], Wed Aug 31 18:31:02 2011 UTC (8 months, 3 weeks ago) by plunky
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
HEAD
Changes since 1.31: +3 -3
lines
Diff to previous 1.31 (colored)
NULL does not need a cast
Revision 1.19.6.2.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:15 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.19.6.2: +7 -3
lines
Diff to previous 1.19.6.2 (colored) next main 1.19.6.3 (colored)
sync to netbsd-5
Revision 1.16.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:16 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16.4.1: +6 -6
lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)
sync with head
Revision 1.31 / (download) - annotate - [select for diffs], Sun Dec 20 09:36:05 2009 UTC (2 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored)
If a multithreaded app closes an fd while another thread is blocked in read/write/accept, then the expectation is that the blocked thread will exit and the close complete. Since only one fd is affected, but many fd can refer to the same file, the close code can only request the fs code unblock with ERESTART. Fixed for pipes and sockets, ERESTART will only be generated after such a close - so there should be no change for other programs. Also rename fo_abort() to fo_restart() (this used to be fo_drain()). Fixes PR/26567
Revision 1.30 / (download) - annotate - [select for diffs], Wed Dec 9 21:32:59 2009 UTC (2 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.29: +3 -3
lines
Diff to previous 1.29 (colored)
Rename fo_drain() to fo_abort(), 'drain' is used to mean 'wait for output do drain' in many places, whereas fo_drain() was called in order to force blocking read()/write() etc calls to return to userspace so that a close() call from a different thread can complete. In the sockets code comment out the broken code in the inner function, it was being called from compat code.
Revision 1.29 / (download) - annotate - [select for diffs], Wed Sep 16 16:34:50 2009 UTC (2 years, 8 months ago) by dyoung
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.28: +5 -5
lines
Diff to previous 1.28 (colored)
In pmf(9), improve the implementation of device self-suspension
and make suspension by self, by drvctl(8), and by ACPI system sleep
play nice together. Start solidifying some temporary API changes.
1. Extract a new header file, <sys/device_if.h>, from <sys/device.h> and
#include it from <sys/pmf.h> instead of <sys/device.h> to break the
circular dependency between <sys/device.h> and <sys/pmf.h>.
2. Introduce pmf_qual_t, an aggregate of qualifications on a PMF
suspend/resume call. Start to replace instances of PMF_FN_PROTO,
PMF_FN_ARGS, et cetera, with a pmf_qual_t.
3. Introduce the notion of a "suspensor," an entity that holds a
device in suspension. More than one suspensor may hold a device
at once. A device stays suspended as long as at least one
suspensor holds it. A device resumes when the last suspensor
releases it.
Currently, the kernel defines three suspensors,
3a the system-suspensor: for system suspension, initiated
by 'sysctl -w machdep.sleep_state=3', by lid closure, by
power-button press, et cetera,
3b the drvctl-suspensor: for device suspension by /dev/drvctl
ioctl, e.g., drvctl -S sip0.
3c the system self-suspensor: for device drivers that suspend
themselves and their children. Several drivers for network
interfaces put the network device to sleep while it is not
administratively up, that is, after the kernel calls if_stop(,
1). The self-suspensor should not be used directly. See
the description of suspensor delegates, below.
A suspensor can have one or more "delegates". A suspensor can
release devices that its delegates hold suspended. Right now,
only the system self-suspensor has delegates. For each device
that a self-suspending driver attaches, it creates the device's
self-suspensor, a delegate of the system self-suspensor.
Suspensors stop a system-wide suspend/resume cycle from waking
devices that the operator put to sleep with drvctl before the cycle.
They also help self-suspension to work more simply, safely, and in
accord with expectations.
4. Add the notion of device activation level, devact_level_t,
and a routine for checking the current activation level,
device_activation(). Current activation levels are DEVACT_LEVEL_BUS,
DEVACT_LEVEL_DRIVER, and DEVACT_LEVEL_CLASS, which respectively
indicate that the device's bus is active, that the bus and device are
active, and that the bus, device, and the functions of the device's
class (network, audio) are active.
Suspend/resume calls can be qualified with a devact_level_t.
The power-management framework treats a devact_level_t that
qualifies a device suspension as the device's current activation
level; it only runs hooks to reduce the activation level from
the presumed current level to the fully suspended state. The
framework treats a devact_level_t qualifying device resumption
as the target activation level; it only runs hooks to raise the
activation level to the target.
5. Use pmf_qual_t, devact_level_t, and self-suspensors in several
drivers.
6. Temporarily add an unused power-management workqueue that I will
remove or replace, soon.
Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:56 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.22: +54 -36
lines
Diff to previous 1.22 (colored) next main 1.23 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.16.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:46 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16: +257 -35
lines
Diff to previous 1.16 (colored)
sync with head.
Revision 1.19.6.3 / (download) - annotate - [select for diffs], Sun May 3 22:39:49 2009 UTC (3 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Changes since 1.19.6.2: +7 -3
lines
Diff to previous 1.19.6.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)
Pull up following revision(s) (requested by joerg in ticket #675): sys/kern/kern_drvctl.c: revision 1.24 Allow querying for root devices in the tree by specifying an empty device name. Ensure that l_devname is NUL-terminated and fail otherwise. OK cube@
Revision 1.28 / (download) - annotate - [select for diffs], Thu Apr 30 20:39:08 2009 UTC (3 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
jymxensuspend-base,
jym-xensuspend-base
Changes since 1.27: +27 -27
lines
Diff to previous 1.27 (colored)
Remove extraneous parentheses. Fix spelling/grammar. No functional change intended.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 30 05:15:36 2009 UTC (3 years ago) by nonaka
Branch: MAIN
Changes since 1.26: +3 -2
lines
Diff to previous 1.26 (colored)
include sys/lwp.h for curlwp.
Revision 1.19.4.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:59 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.19.4.1: +28 -11
lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)
Sync with HEAD.
Revision 1.26 / (download) - annotate - [select for diffs], Sat Apr 11 23:05:26 2009 UTC (3 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.25: +5 -2
lines
Diff to previous 1.25 (colored)
Fix locking as Andy explained. Also fill in uid and gid like sys_pipe did.
Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 11 15:47:33 2009 UTC (3 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.24: +12 -3
lines
Diff to previous 1.24 (colored)
Fix PR/37878 and PR/37550: Provide stat(2) for all devices and don't use fbadop_stat.
Revision 1.19.6.2 / (download) - annotate - [select for diffs], Sat Apr 4 23:36:27 2009 UTC (3 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.19.6.1: +11 -10
lines
Diff to previous 1.19.6.1 (colored) to branchpoint 1.19 (colored)
Pull up following revision(s) (requested by ad in ticket #661): sys/arch/xen/xen/xenevt.c: revision 1.32 sys/compat/svr4/svr4_net.c: revision 1.56 sys/compat/svr4_32/svr4_32_net.c: revision 1.19 sys/dev/dmover/dmover_io.c: revision 1.32 sys/dev/putter/putter.c: revision 1.21 sys/kern/kern_descrip.c: revision 1.190 sys/kern/kern_drvctl.c: revision 1.23 sys/kern/kern_event.c: revision 1.64 sys/kern/sys_mqueue.c: revision 1.14 sys/kern/sys_pipe.c: revision 1.109 sys/kern/sys_socket.c: revision 1.59 sys/kern/uipc_syscalls.c: revision 1.136 sys/kern/vfs_vnops.c: revision 1.164 sys/kern/uipc_socket.c: revision 1.188 sys/net/bpf.c: revision 1.144 sys/net/if_tap.c: revision 1.55 sys/opencrypto/cryptodev.c: revision 1.47 sys/sys/file.h: revision 1.67 sys/sys/param.h: patch sys/sys/socketvar.h: revision 1.119 Add fileops::fo_drain(), to be called from fd_close() when there is more than one active reference to a file descriptor. It should dislodge threads sleeping while holding a reference to the descriptor. Implemented only for sockets but should be extended to pipes, fifos, etc. Fixes the case of a multithreaded process doing something like the following, which would have hung until the process got a signal. thr0 accept(fd, ...) thr1 close(fd)
Revision 1.24 / (download) - annotate - [select for diffs], Sat Apr 4 21:49:05 2009 UTC (3 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.23: +7 -3
lines
Diff to previous 1.23 (colored)
Allow querying for root devices in the tree by specifying an empty device name. Ensure that l_devname is NUL-terminated and fail otherwise. OK cube@
Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 4 10:12:51 2009 UTC (3 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.22: +11 -10
lines
Diff to previous 1.22 (colored)
Add fileops::fo_drain(), to be called from fd_close() when there is more than one active reference to a file descriptor. It should dislodge threads sleeping while holding a reference to the descriptor. Implemented only for sockets but should be extended to pipes, fifos, etc. Fixes the case of a multithreaded process doing something like the following, which would have hung until the process got a signal. thr0 accept(fd, ...) thr1 close(fd)
Revision 1.19.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:38 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.19: +30 -12
lines
Diff to previous 1.19 (colored)
Sync with HEAD.
Revision 1.14.6.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:18 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.6.4: +28 -10
lines
Diff to previous 1.14.6.4 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)
Sync with HEAD.
Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 17 07:02:35 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2,
mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.21: +9 -10
lines
Diff to previous 1.21 (colored)
malloc -> kmem_alloc.
Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 3 03:31:23 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.20: +3 -3
lines
Diff to previous 1.20 (colored)
remove extra semicolons.
Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:08 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.19: +22 -3
lines
Diff to previous 1.19 (colored) next main 1.20 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.19.6.1 / (download) - annotate - [select for diffs], Tue Nov 25 04:01:28 2008 UTC (3 years, 6 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1
Changes since 1.19: +22 -3
lines
Diff to previous 1.19 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #118): sys/kern/kern_drvctl.c: revision 1.20 Add poll support for drvctl notification events
Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 23 23:59:41 2008 UTC (3 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.19: +22 -3
lines
Diff to previous 1.19 (colored)
Add poll support for drvctl notification events
Revision 1.16.6.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:41 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.16.6.1: +3 -3
lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.14.6.4 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:13 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.6.3: +1 -1
lines
Diff to previous 1.14.6.3 (colored) to branchpoint 1.14 (colored)
Sync with HEAD.
Revision 1.18.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:38 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored) next main 1.19 (colored)
Sync with head.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 24 10:24:21 2008 UTC (3 years, 11 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5,
haad-dm
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
ioctl commands are unsigned long.
Revision 1.16.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:50 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.16: +194 -8
lines
Diff to previous 1.16 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:39 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.16: +194 -8
lines
Diff to previous 1.16 (colored) next main 1.17 (colored)
sync with head
Revision 1.14.6.3 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:07 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.6.2: +194 -8
lines
Diff to previous 1.14.6.2 (colored) to branchpoint 1.14 (colored)
Sync with HEAD.
Revision 1.18 / (download) - annotate - [select for diffs], Fri May 30 15:30:37 2008 UTC (3 years, 11 months ago) by freza
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.17: +5 -2
lines
Diff to previous 1.17 (colored)
Any time we remove event from the queue make sure we 1. release the event plist and 2. free the drvctl_event struct. Discussed with jmcneill@.
Revision 1.17 / (download) - annotate - [select for diffs], Sun May 25 12:30:40 2008 UTC (4 years ago) by jmcneill
Branch: MAIN
Changes since 1.16: +191 -8
lines
Diff to previous 1.16 (colored)
Add DRVGETEVENT support for /dev/drvctl, based on devmon support by Jachym Holecek for Google Summer of Code. DRVGETEVENT plist is currently limited to event type, device name, and device parent name.
Revision 1.14.6.2 / (download) - annotate - [select for diffs], Sat Apr 5 23:33:23 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.6.1: +4 -2
lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored)
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing as these are always needed. - convert many, many drivers over to the New Devfs World Order. For a list of device drivers yet to be converted see, http://www.netbsd.org/~mjf/devfs-todo.html. - add a new device_unregister_all(device_t) function to remove all device names associated with a device_t, which saves us having to construct device names when the driver is detached. - add a DEV_AUDIO type for devices.
Revision 1.14.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:43:01 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.14: +28 -18
lines
Diff to previous 1.14 (colored)
Sync with HEAD.
Revision 1.14.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:13 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.14: +28 -18
lines
Diff to previous 1.14 (colored) next main 1.15 (colored)
sync with head.
Revision 1.11.10.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:58 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.11: +111 -51
lines
Diff to previous 1.11 (colored) next main 1.12 (colored)
sync with HEAD
Revision 1.1.14.7 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:32 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.14.6: +28 -18
lines
Diff to previous 1.1.14.6 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
sync with head.
Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 12 18:02:21 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
hpcarm-cleanup-nbase,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa
Changes since 1.15: +10 -7
lines
Diff to previous 1.15 (colored)
Use device_t and its accessors throughout. Use aprint_*_dev().
Improve PMF-ability.
Add a 'flags' argument to suspend/resume handlers and
callers such as pmf_system_suspend().
Define a flag, PMF_F_SELF, which indicates to PMF that a
device is suspending/resuming itself. Add helper routines,
pmf_device_suspend_self(dev) and pmf_device_resume_self(dev),
that call pmf_device_suspend(dev, PMF_F_SELF) and
pmf_device_resume(dev, PMF_F_SELF), respectively. Use
PMF_F_SELF to suspend/resume self in ath(4), audio(4),
rtw(4), and sip(4).
In ath(4) and in rtw(4), replace the icky sc_enable/sc_disable
callbacks, provided by the bus front-end, with
self-suspension/resumption. Also, clean up the bus
front-ends. Make sure that the interrupt handler is
disestablished during suspension. Get rid of driver-private
flags (e.g., RTW_F_ENABLED, ath_softc->sc_invalid); use
device_is_active()/device_has_power() calls, instead.
In the network-class suspend handler, call if_stop(, 0)
instead of if_stop(, 1), because the latter is superfluous
(bus- and driver-suspension hooks will 'disable' the NIC),
and it may cause recursion.
In the network-class resume handler, prevent infinite
recursion through if_init() by getting out early if we are
self-suspending (PMF_F_SELF).
rtw(4) improvements:
Destroy rtw(4) callouts when we detach it. Make rtw at
pci detachable. Print some more information with the "rx
frame too long" warning.
Remove activate() methods:
Get rid of rtw_activate() and ath_activate(). The device
activate() methods are not good for much these days.
Make ath at cardbus resume with crypto functions intact:
Introduce a boolean device property, "pmf-powerdown". If
pmf-powerdown is present and false, it indicates that a
bus back-end should not remove power from a device.
Honor this property in cardbus_child_suspend().
Set this property to 'false' in ath_attach(), since removing
power from an ath at cardbus seems to lobotomize the WPA
crypto engine. XXX Should the pmf-powerdown property
propagate toward the root of the device tree?
Miscellaneous ath(4) changes:
Warn if ath(4) tries to write crypto keys to suspended
hardware.
Reduce differences between FreeBSD and NetBSD in ath(4)
multicast filter setup.
Make ath_printrxbuf() print an rx descriptor's status &
key index, to help debug crypto errors.
Shorten a staircase in ath_ioctl(). Don't check for
ieee80211_ioctl() return code ERESTART, it never happens.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 5 07:09:18 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.14: +20 -13
lines
Diff to previous 1.14 (colored)
Synchronize readers and writers of the device tree. Add a device iterator object, deviter_t, and methods deviter_init(), deviter_first(), and deviter_next() for visiting each device in the device tree. Take care not to re-shutdown a device in the event that the machine panics during reboot and the operator types 'reboot' at the kernel debugger prompt. While I'm here, sprinkle PMF_FN_ARGS, PMF_FN_PROTO, et cetera.
Revision 1.1.14.6 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:55 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.14.5: +6 -19
lines
Diff to previous 1.1.14.5 (colored) to branchpoint 1.1 (colored)
sync with head.
Revision 1.11.16.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:45 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.11: +95 -45
lines
Diff to previous 1.11 (colored) next main 1.12 (colored)
Sync with HEAD.
Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 12 17:30:59 2008 UTC (4 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.13: +6 -19
lines
Diff to previous 1.13 (colored)
Introduce device_find_by_xname and device_find_by_driver_unit to replace alldevs iterations all over src. Patch discussed with and improved on suggestioned from cube@.
Revision 1.1.14.5 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:58 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.14.4: +16 -33
lines
Diff to previous 1.1.14.4 (colored) to branchpoint 1.1 (colored)
sync with head.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 6 20:24:17 2008 UTC (4 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.12: +16 -33
lines
Diff to previous 1.12 (colored)
The tricks done in device_foreach_child() still don't make it safe to use by config_detach_children(), because the latter can work recursively and remove any number of devices, so rewrite config_detach_children() to restart list traversal after each call of config_detach(), and since only one user of device_foreach_child() is left (in kern_drvctl.c), and it is simpler to open-code the loop than to deal with callbacks, just remove it.
Revision 1.1.14.4 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:09 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.14.3: +125 -45
lines
Diff to previous 1.1.14.3 (colored) to branchpoint 1.1 (colored)
sync with head.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 27 01:38:33 2008 UTC (4 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.11: +125 -45
lines
Diff to previous 1.11 (colored)
Patch /dev/drvctl and drvctl(8) to let us suspend/resume device sub-trees, and to let us list the children of a device. While I am here, add -p to the drvctl(8) usage message.
Revision 1.1.14.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:40:45 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.14.2: +6 -4
lines
Diff to previous 1.1.14.2 (colored) to branchpoint 1.1 (colored)
sync with head.
Revision 1.10.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:09:45 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.10: +5 -3
lines
Diff to previous 1.10 (colored) next main 1.11 (colored)
Sync with head.
Revision 1.9.4.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:48 2007 UTC (5 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.9.4.1: +5 -3
lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)
sync with head.
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:38 2007 UTC (5 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.10: +5 -3
lines
Diff to previous 1.10 (colored) next main 1.11 (colored)
Sync with head.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Apr 3 23:02:39 2007 UTC (5 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs,
matt-armv6
Changes since 1.10: +5 -3
lines
Diff to previous 1.10 (colored)
drvctlioctl: Plug a possible memory leak. CID: 4363
Revision 1.9.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:33 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored)
Sync with HEAD.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:03 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.1.14.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:05 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.14.1: +117 -6
lines
Diff to previous 1.1.14.1 (colored) to branchpoint 1.1 (colored)
sync with head.
Revision 1.4.22.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:44 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.4.22.1: +6 -10
lines
Diff to previous 1.4.22.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)
sync with head.
Revision 1.4.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:21 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.4: +117 -6
lines
Diff to previous 1.4 (colored) next main 1.5 (colored)
Sync with head.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:58 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.8: +5 -6
lines
Diff to previous 1.8 (colored)
remove some __unused from function parameters.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 26 05:08:01 2006 UTC (5 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +3 -6
lines
Diff to previous 1.7 (colored)
Use prop_dictionary_set_int32() to set the error number.
Revision 1.4.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:10 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.4: +123 -8
lines
Diff to previous 1.4 (colored)
sync with head
Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 12 04:29:37 2006 UTC (5 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.6: +6 -5
lines
Diff to previous 1.6 (colored)
Add __unused as necessary.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 6 17:54:05 2006 UTC (5 years, 7 months ago) by gdt
Branch: MAIN
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
add missing d_type member in cdevsw initializer
Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 22 04:37:37 2006 UTC (5 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +119 -5
lines
Diff to previous 1.4 (colored)
- Add a new DRVCTLCOMMAND ioctl to /dev/drvctl. This is a generic "execute a command" ioctl that takes a dictionary as an argument (specifying the command and arguments) and returns a dictionary with the results (error code, optional error message, optional result data). - Define and implement a "get-properties" command for DRVCTLCOMMAND that returns the properties dictionary of the specified device. - Add a -p flag to drvctl(8) to fetch and display the properties of the specified device. This is a great example of how to use prop_dictionary_sendrecv_ioctl().
Revision 1.1.14.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:09:37 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1: +6 -6
lines
Diff to previous 1.1 (colored)
sync with head.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 15 22:01:17 2005 UTC (6 years, 5 months ago) by cube
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
ktrace-lwp merge fallout.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:29 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
merge ktrace-lwp.
Revision 1.1.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:09:44 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.4: +5 -5
lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)
Sync with HEAD. Here we go again...
Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 25 15:06:28 2005 UTC (6 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Changes since 1.1: +5 -5
lines
Diff to previous 1.1 (colored)
Replace the "locnames", attached to cfdata, which was solely good for userconf, by more complete information (including default values) about interface attributes, attached to the drivers which provide them.
Revision 1.1.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:35:03 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.3: +2 -2
lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)
Fix the sync with head I botched.
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:53:02 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.2: +2 -2
lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)
Sync with HEAD.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:58:58 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.2.1: +175 -0
lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)
Sync with HEAD.
Revision 1.1.2.1, Wed Aug 18 12:19:29 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +0 -175
lines
FILE REMOVED
file kern_drvctl.c was added on branch ktrace-lwp on 2004-08-25 06:58:58 +0000
Revision 1.1 / (download) - annotate - [select for diffs], Wed Aug 18 12:19:29 2004 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
matt-timespec,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-lazymbuf,
ktrace-lwp
add a "drvctl" pseudo-device as userland interface to the autoconf rescan() and detach() functions