The NetBSD Project

CVS log for src/sys/dev/cardbus/if_ath_cardbus.c

[BACK] Up to [cvs.netbsd.org] / src / sys / dev / cardbus

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45 / (download) - annotate - [select for diffs], Fri Oct 7 20:47:42 2011 UTC (7 months, 2 weeks ago) by dyoung
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.44: +2 -6 lines
Diff to previous 1.44 (colored)

Stop calling ATH_LOCK_{INIT,DESTROY}(), they don't exist any more.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 1 11:20:27 2011 UTC (9 months, 3 weeks ago) by drochner
Branch: MAIN
Changes since 1.43: +3 -8 lines
Diff to previous 1.43 (colored)

remove some bloat:
-cardbus doesn't use multiple interrupt lines like PCI, and it doesn't
 use machanisms like interrupt line register and swizzling -- no need
 to carry around dummy information, this is all dealt with by the
 bridge
 (I'm asking myself how "rbus_ppb" can work -- a bridge attached to
 cardbus just can't work like a normal PCI bridge as far as interrupts
 are concerned. I thing that should be a hardware specific driver
 because behavior is not covered by a standard.)
-cardbus always uses 3.3V -- no need for a variable to keep track
 of the voltage

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jul 26 20:51:23 2011 UTC (10 months ago) by dyoung
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Replace anonymous constants, 0x10, 0x14, ..., with PCI_BAR(0),
PCI_BAR(1), .... There was no change in the generated assembly.  I used
this semantic patch:

@ mapsit @
identifier bar;
expression pact;
@@

(
pci_mapreg_map
|
Cardbus_mapreg_map
)(pact, bar, ...)

@ depends on mapsit @
identifier mapsit.bar;
@@
(
- #define bar 0x10
+ #define bar PCI_BAR(0)
|
- #define bar 0x14
+ #define bar PCI_BAR(1)
|
- #define bar 0x18
+ #define bar PCI_BAR(2)
|
- #define bar 0x1C
+ #define bar PCI_BAR(3)
|
- #define bar 0x20
+ #define bar PCI_BAR(4)
)

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:09 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.38: +12 -19 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.31.10.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:35 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.31: +4 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync to netbsd-5

Revision 1.27.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:25 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.4.3: +13 -31 lines
Diff to previous 1.27.4.3 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Thu Mar 4 22:34:37 2010 UTC (2 years, 2 months ago) by dyoung
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, 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.41: +2 -6 lines
Diff to previous 1.41 (colored)

This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Mar 2 20:31:14 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.40: +6 -7 lines
Diff to previous 1.40 (colored)

Simplify interrupt (dis)establishment by two source transformations:

-       cardbus_intr_disestablish(cc, cf, ih);
+       Cardbus_intr_disestablish(ct, ih);

-       ih = cardbus_intr_establish(cc, cf, ...);
+       ih = Cardbus_intr_establish(ct, ...);

Tested with ath & atw units on a Soekris net4521.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Feb 25 23:40:39 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.39: +5 -7 lines
Diff to previous 1.39 (colored)

Make fxp at cardbus detach during shutdown.

Stop calling (*cardbus_ctrl) to enable bus mastering, I/O and memory
spaces on the CardBus bridge.  cbb(4) always enables that stuff,
anyway.  In the process, avoid remembering what BAR we mapped by
writing CARDBUS_{IO,MEM}_ENABLE to sc_cben or sc_cbenable, and
record the BAR in use sc_bar, instead.

Replace more CARDBUS_ constants with PCI_ constants.

Compile-tested, only.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Feb 24 19:52:51 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (colored)

Start to tuck Cardbus under the PCI abstraction.  Step #1, textual
substitution: for all practical purposes, pcitag_t and cardbustag_t
are interchangeable, so just use pcitag_t.  Ditto pcireg_t and
cardbusreg_t.

While I'm here, don't make a copy (sc_intrline) of
cardbus_attach_args.ca_intrline unless we use it, later.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 18 18:52:35 2010 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.37: +2 -7 lines
Diff to previous 1.37 (colored)

Remove conditional inclusion of unused bpf.h

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 8 19:47:42 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Expand PMF_FN_* macros.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 21 14:15:52 2009 UTC (2 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.35: +2 -8 lines
Diff to previous 1.35 (colored)

Drop 3rd and 4th clauses from Ichiro FUKUHARA's license.
Reviewed and approved by ichiro@ (copyright holder).

Revision 1.35 / (download) - annotate - [select for diffs], Wed Sep 16 16:34:50 2009 UTC (2 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (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.27.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:46 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.4.2: +6 -6 lines
Diff to previous 1.27.4.2 (colored) to branchpoint 1.27 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Sat Sep 5 14:50:10 2009 UTC (2 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.33: +6 -6 lines
Diff to previous 1.33 (colored)

Invert logic around nested pmf(9) registrations for readability.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Fri Aug 7 18:25:33 2009 UTC (2 years, 9 months 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.31: +4 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pull up following revision(s) (requested by sborrill in ticket #903):
	sys/dev/cardbus/if_ath_cardbus.c: revision 1.32
	sys/dev/pci/if_ath_pci.c: revision 1.32
Sync ath(4) with the new HAL, mostly based on <jmcneill>'s patches.
Everything should be fine again !

Revision 1.27.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:19 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.4.1: +3 -3 lines
Diff to previous 1.27.4.1 (colored) to branchpoint 1.27 (colored)

sync with head

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:15 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.33 / (download) - annotate - [select for diffs], Tue May 12 12:11:17 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:35 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27: +10 -17 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:52 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.25.6.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:53 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.4: +2 -1 lines
Diff to previous 1.25.6.4 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:13 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.29.2.1: +4 -3 lines
Diff to previous 1.29.2.1 (colored) next main 1.30 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Dec 11 05:45:29 2008 UTC (3 years, 5 months ago) by alc
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base
Branch point for: jym-xensuspend
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

Sync ath(4) with the new HAL, mostly based on <jmcneill>'s patches.

Everything should be fine again !

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:24 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.29: +6 -5 lines
Diff to previous 1.29 (colored)

Sync with HEAD.

Revision 1.25.6.4 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:20 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.3: +4 -3 lines
Diff to previous 1.25.6.3 (colored) to branchpoint 1.25 (colored)

Sync with HEAD.

Revision 1.27.6.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:02 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.27.6.1: +8 -7 lines
Diff to previous 1.27.6.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.27.8.3 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:32 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.27.8.2: +6 -5 lines
Diff to previous 1.27.8.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jul 10 05:11:10 2008 UTC (3 years, 10 months ago) by cegger
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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, 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, matt-mips64-base2, haad-dm-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

make this compile with DIAGNOSTIC

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jul 9 19:47:24 2008 UTC (3 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.29: +5 -4 lines
Diff to previous 1.29 (colored)

- device/softc split for ath(4)

Revision 1.25.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:05 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.2: +2 -11 lines
Diff to previous 1.25.6.2 (colored) to branchpoint 1.25 (colored)

Sync with HEAD.

Revision 1.27.8.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:21 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.27.8.1: +4 -4 lines
Diff to previous 1.27.8.1 (colored) to branchpoint 1.27 (colored)

Sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 24 19:44:52 2008 UTC (3 years, 11 months ago) by drochner
Branch: MAIN
Branch point for: haad-dm
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

clean up the cardbus interrupt stuff:
There were cardbus_intr_line_t and cardbus_intr_handle_t used intermixed
for the same variable, and that variable is pretty much useless because
cardbus doesn't follow the PCI interrupt swizzling etc scheme.
Useless interrupt numbers were printed on cardbus device attach.
So as a first step to sanity, kill cardbus_intr_handle_t and poison
cardbus_intr_line_t to discourage printing it as a %d.
Use cardbus_intr_line_t consistently throughout the code.
Remove the "interrupting at foo" messages because the information
is misleading. We could come up with a better interrupt vector
information, but because cardbus interrupts are mediated by pccbb
it would still be misleading.

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:01 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.27: +2 -11 lines
Diff to previous 1.27 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:04 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.27: +2 -11 lines
Diff to previous 1.27 (colored)

Sync with head.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:33 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.27: +2 -11 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jun 11 05:33:44 2008 UTC (3 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Changes since 1.27: +2 -11 lines
Diff to previous 1.27 (colored)

Remove code that is redundant with cardbus_child_resume(), which
restores PCI configuration space and restores the power state to
D0.

Revision 1.25.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:14 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.25.6.1: +1 -1 lines
Diff to previous 1.25.6.1 (colored) to branchpoint 1.25 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Apr 6 07:54:17 2008 UTC (4 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

use aprint_*_dev and device_xname

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:38 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.25: +67 -126 lines
Diff to previous 1.25 (colored)

Sync with HEAD.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:15 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.25: +67 -126 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.18.24.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:36 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.18.24.2: +67 -126 lines
Diff to previous 1.18.24.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync with HEAD

Revision 1.7.2.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:40 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.2.5: +67 -126 lines
Diff to previous 1.7.2.5 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.26 / (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-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.25: +67 -126 lines
Diff to previous 1.25 (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.7.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:39 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.2.4: +50 -57 lines
Diff to previous 1.7.2.4 (colored) to branchpoint 1.7 (colored)

sync with head

Revision 1.18.24.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:29 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.18.24.1: +52 -72 lines
Diff to previous 1.18.24.1 (colored) to branchpoint 1.18 (colored)

sync with HEAD

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:53:58 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.21: +28 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:58 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.19.2.1: +50 -57 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:05 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.20: +50 -57 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 22 00:39:47 2007 UTC (4 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

It makes practically no functional difference, but add curly braces
where they were intended.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Dec 21 18:26:13 2007 UTC (4 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.23: +6 -2 lines
Diff to previous 1.23 (colored)

Initialize and destroy the ATH_LOCK.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Dec 14 03:22:19 2007 UTC (4 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored)

Oops, make last change compile.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Dec 14 03:18:46 2007 UTC (4 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.21: +21 -2 lines
Diff to previous 1.21 (colored)

Comment-out calls to pci_disable_retry() and cardbus_disable_retry().
They do not seem well-justified according to anyone's understanding
of what they really do, and it seems especially inappropriate to
call them at attach- and resume-time.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:25:33 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.20: +25 -56 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:55 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.20: +25 -56 lines
Diff to previous 1.20 (colored)

Merge jmcneill-pm branch.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:25 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.19: +6 -19 lines
Diff to previous 1.19 (colored)

Sync with HEAD.

Revision 1.18.22.7 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:08 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.18.22.6: +5 -5 lines
Diff to previous 1.18.22.6 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:42 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.2.3: +6 -19 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored)

sync with head

Revision 1.18.22.6 / (download) - annotate - [select for diffs], Wed Nov 21 21:54:25 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.18.22.5: +6 -15 lines
Diff to previous 1.18.22.5 (colored) to branchpoint 1.18 (colored)

Sync with HEAD.

Revision 1.18.28.2 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:28 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.18.28.1: +4 -17 lines
Diff to previous 1.18.28.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Wed Nov 21 02:10:45 2007 UTC (4 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.19: +6 -19 lines
Diff to previous 1.19 (colored)

Detect cardbus_setpowerstate() errors and aprint_debug() a warning.

Leave alone the Latency Timer set by the Cardbus bridge.

With version 1.152 of dev/pci/pccbb.c, we can power down the card
when it is not in-use, so do that.

Revision 1.18.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:25:50 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

sync with HEAD

Revision 1.18.22.5 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:15 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.18.22.4: +10 -12 lines
Diff to previous 1.18.22.4 (colored) to branchpoint 1.18 (colored)

Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:09 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.2.2: +4 -4 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored)

sync with head.

Revision 1.18.22.4 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:19 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.18.22.3: +4 -4 lines
Diff to previous 1.18.22.3 (colored) to branchpoint 1.18 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.18.28.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:13 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Sync with HEAD.

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:06:57 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:38 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.18.22.3 / (download) - annotate - [select for diffs], Thu Oct 4 21:43:30 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.18.22.2: +20 -18 lines
Diff to previous 1.18.22.2 (colored) to branchpoint 1.18 (colored)

Port generic PCI power handlers to cardbus.

Revision 1.18.22.2 / (download) - annotate - [select for diffs], Thu Aug 23 16:19:46 2007 UTC (4 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.18.22.1: +23 -56 lines
Diff to previous 1.18.22.1 (colored) to branchpoint 1.18 (colored)

Convert ath(4) to new style power management.
Remove the resetting of the PCI retry register on resume,
the restored configuration should have it already.

Revision 1.18.22.1 / (download) - annotate - [select for diffs], Thu Aug 23 14:22:38 2007 UTC (4 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.18: +3 -5 lines
Diff to previous 1.18 (colored)

Provide cardbus_{set,get}_powerstate instead of the former
cardbus_powerstate / cardbus_setpowerstate.
Provide cardbus_conf_{capture,restore} and cardbus_net_generic_power.

In general: reduce diff to PCI.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:57 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7.2.1: +25 -9 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)

sync with head.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:58 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16.4.1: +5 -5 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:04 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:48 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

__unused removal on arguments; approved by core.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:35 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:55 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.9.2.5 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:27 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9.2.4: +2 -7 lines
Diff to previous 1.9.2.4 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:44 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.8: +38 -13 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Thu Sep 7 02:40:32 2006 UTC (5 years, 8 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.15: +2 -7 lines
Diff to previous 1.15 (colored)

remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:59 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9.2.3: +23 -2 lines
Diff to previous 1.9.2.3 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 14 13:37:25 2006 UTC (5 years, 10 months ago) by seanb
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.14: +23 -2 lines
Diff to previous 1.14 (colored)

Consistently establish / disestablish shutdown hook
in the bus layer and remove from common ath_attach().
Having it in both layers (on some bus architectures)
was causing a double call to ath_stop() on shutdown
which in turn was tickling the bus lockup described
therin on slower machines.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:50:38 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9.2.2: +10 -5 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored)

sync with head.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:45 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.7: +17 -8 lines
Diff to previous 1.7 (colored)

sync with head.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:58:12 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.12: +10 -5 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.8.6.3 / (download) - annotate - [select for diffs], Wed Jun 7 16:05:41 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.8.6.2: +4 -4 lines
Diff to previous 1.8.6.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Wed Jun 7 15:51:08 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.8.6.1: +10 -5 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored)

Sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jun 7 15:30:48 2006 UTC (5 years, 11 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Make it compile on sparc64.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 5 05:15:31 2006 UTC (5 years, 11 months ago) by gdamore
Branch: MAIN
Changes since 1.12: +10 -5 lines
Diff to previous 1.12 (colored)

Import new HAL 0.9.17.2.  Approved by sam@

New HAL includes some driver changes to register accesses.
Adds support for WLAN devices on AR5312 family devices.
Adds support 32-bit SPARC ath devices (untested).
ath enabled in SPARC64 GENERIC builds.
This HAL is tested and known to work for i386 PCI devices, SPARC64 PCI devices,
and AR5312 WiSoC devices.  MIPS PCI devices appear to be busted (possibly only
on Alchemy hardware, unconfirmed), and cardbus support is untested due to
lack of test hardware.

Please report any new problems with this import to garrett@.

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:07 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.9.6.1: +1 -1 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.12 / (download) - annotate - [select for diffs], Sun May 14 21:42:26 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5
Branch point for: chap-midi
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

integrate kauth.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:51 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.8: +9 -5 lines
Diff to previous 1.8 (colored)

Sync with head.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:24:33 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Tue Apr 11 11:55:13 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9.2.1: +3 -3 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 2 05:52:50 2006 UTC (6 years, 1 month ago) by gdamore
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, elad-kernelauth-base
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Reorganize ath layout as requested by sam@ and suggested by dyoung@ in
http://mail-index.netbsd.org/tech-net/2006/03/15/0000.html.

The new layout almost precisely matches FreeBSD, and should make
future imports much easier.

At the same time, import the current 0.9.16.16 HAL from FreeBSD.  According
to sam@, this is the proper version we should be using.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:55 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

sync with head.

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:18 2006 UTC (6 years, 1 month ago) by tron
Branch: peter-altq
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 29 06:22:38 2006 UTC (6 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Use device_private().

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 2 01:24:00 2006 UTC (6 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.8: +6 -2 lines
Diff to previous 1.8 (colored)

Stop-gap solution to Atheros Cardbus cards losing (crypto?) hardware
state: after the device attaches, do not ever remove power from
the cardslot.  Without this patch, ath@cardbus does not work reliably
in WPA/WPA2 networks.

XXX A better solution is to restore the hardware state that gets
XXX scrambled by removing and re-applying power, but I haven't
XXX found out precisely what state is scrambled, yet.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:15 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

merge ktrace-lwp.

Revision 1.4.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:03:54 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.6: +5 -5 lines
Diff to previous 1.4.2.6 (colored) next main 1.5 (colored)

Sync with HEAD. Here we go again...

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 22 06:15:37 2005 UTC (6 years, 11 months ago) by dyoung
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
Branch point for: yamt-lazymbuf
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD.  Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]).  Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:46 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.5: +8 -8 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with -current

Revision 1.5.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:55 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.5: +8 -8 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.4.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:41:05 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.5: +8 -8 lines
Diff to previous 1.4.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 27 00:26:59 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Changes since 1.5: +8 -8 lines
Diff to previous 1.5 (colored)

nuke trailing whitespace

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:27:25 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.4: +2 -2 lines
Diff to previous 1.4.2.4 (colored)

Fix the sync with head I botched.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:45:26 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.3: +4 -2 lines
Diff to previous 1.4.2.3 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 9 01:40:13 2004 UTC (7 years, 8 months ago) by enami
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored)

Print missing newline on attach.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:22 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.2: +7 -7 lines
Diff to previous 1.4.2.2 (colored)

Sync with HEAD.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:45:47 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.2.1: +343 -0 lines
Diff to previous 1.4.2.1 (colored)

Sync with HEAD

Revision 1.4.2.1, Mon Aug 2 19:14:28 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4: +0 -343 lines
FILE REMOVED

file if_ath_cardbus.c was added on branch ktrace-lwp on 2004-08-03 10:45:47 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 2 19:14:28 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

cardbusdevs -> pcidevs

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 22 15:50:50 2004 UTC (7 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Program BARs before enabling memory or I/O access.

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 8 23:40:01 2004 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.1: +4 -24 lines
Diff to previous 1.1 (colored)

Cleanup and remove suplicate copies of the incorrect power setup code.
Thanks to mycroft for suggesting this.
XXX: This is a copy of the pci code; another reason cardbus needs to die.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Oct 14 17:47:03 2003 UTC (8 years, 7 months ago) by ichiro
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2

add support ath on cardbus
 - implement power management

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>