Go to file
dyoung 3df2b2feb5 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.
2008-03-12 18:02:21 +00:00
bin ps -t? needs to imply -x. Otherwise the non-x logic filters all the results 2008-03-10 03:44:11 +00:00
common oops 2008-03-07 02:18:34 +00:00
crypto Generates a log if cert validation has been disabled by configuration 2008-03-06 17:00:03 +00:00
dist Use the correct file descriptor variable. 2008-03-07 23:28:17 +00:00
distrib Dutifully add myself to the list 2008-03-11 19:19:14 +00:00
doc Mention that "build" and "distribution" do not build nor install (to DESTDIR) 2008-03-08 14:48:57 +00:00
etc Add ttyE[0-3] entries for wscons. 2008-03-07 19:01:44 +00:00
games Don't crash if we're asked to restore from /dev/null. (woops) 2008-02-24 06:12:49 +00:00
gnu Fix build issue on modern OS/X (particularly 10.5 on powerpc) 2008-03-07 14:57:09 +00:00
include Use "unsigned foo" instead of "u_foo". 2008-03-07 10:38:31 +00:00
lib don't need <sys/tty.h> here. 2008-03-12 05:57:28 +00:00
libexec Switch from lockf() to (more portable) fcntl() locking 2008-03-09 20:11:43 +00:00
regress A test for the lwpctl preemption counter. 2008-03-12 11:02:21 +00:00
rescue make all sun2 use -O0 and move most of the hacks out into just 3 files. 2008-02-09 02:37:21 +00:00
sbin The hpcsh kernel does for sure USE_MBR. Make disklabel use it too on hpcsh. 2008-03-11 08:18:22 +00:00
share Enable the alternate character set on Eterms. 2008-03-11 18:47:57 +00:00
sys Use device_t and its accessors throughout. Use aprint_*_dev(). 2008-03-12 18:02:21 +00:00
tests Add tests for load-time parameter passing to modules, both at the syscall 2008-03-02 11:22:10 +00:00
tools Collect the libobjc config.h 2008-02-08 18:06:48 +00:00
usr.bin Don't skip ioctls with a digit in the name. 2008-03-11 20:39:57 +00:00
usr.sbin Always clear the output string buffer in mkaliases(), to avoid reusing 2008-03-09 01:29:34 +00:00
x11 MKMAN does not belong in source makefiles; use NOMAN. 2008-03-10 02:02:56 +00:00
BUILDING Mention that "build" and "distribution" do not build nor install (to DESTDIR) 2008-03-08 14:48:57 +00:00
Makefile Add the tests.tgz set 2007-11-12 15:06:45 +00:00
Makefile.inc
UPDATING mention posix_fadvise lossage. 2008-01-28 03:30:26 +00:00
build.sh * Installing as non-root is a bad idea. Print a warning in expert mode, 2008-02-25 11:14:31 +00:00