The NetBSD Project

CVS log for src/sys/dev/pci/if_ath_pci.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.45 / (download) - annotate - [select for diffs], Tue Oct 18 23:04:35 2011 UTC (7 months, 1 week 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: +28 -2 lines
Diff to previous 1.44 (colored)

Reduce differences from if_ath_cardbus.c.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Oct 7 20:47:42 2011 UTC (7 months, 2 weeks ago) by dyoung
Branch: MAIN
Changes since 1.43: +2 -8 lines
Diff to previous 1.43 (colored)

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

Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 29 14:47:08 2011 UTC (8 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

have pci register itself as a module, and make PCI driver modules depend on it

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 26 20:51:23 2011 UTC (10 months ago) by dyoung
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (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], Mon Jun 6 09:08:11 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.38: +38 -5 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:38 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.2.1: +37 -4 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head

Revision 1.38.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:23 2011 UTC (14 months, 3 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.38.4.1: +35 -3 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Mon Feb 21 14:43:58 2011 UTC (15 months ago) by jmcneill
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.40: +5 -3 lines
Diff to previous 1.40 (colored)

print the device name at attach, like so:

ath0 at pci4 dev 0 function 0: Atheros 9280

Revision 1.40 / (download) - annotate - [select for diffs], Sun Feb 20 03:56:45 2011 UTC (15 months ago) by jmcneill
Branch: MAIN
Changes since 1.39: +32 -2 lines
Diff to previous 1.39 (colored)

support building as a module

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:50 2011 UTC (15 months, 2 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.38: +5 -4 lines
Diff to previous 1.38 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jan 26 00:08:30 2011 UTC (15 months, 4 weeks ago) by dyoung
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.38: +5 -4 lines
Diff to previous 1.38 (colored)

Improve error reporting during attachment to PCI ath(4).

Revision 1.30.4.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:45 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30.4.4: +94 -110 lines
Diff to previous 1.30.4.4 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:32 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37: +94 -110 lines
Diff to previous 1.37 (colored)

sync with head

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:33 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36: +96 -112 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Apr 28 22:00:39 2010 UTC (2 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.37: +94 -110 lines
Diff to previous 1.37 (colored)

To reduce differences between ath(4)'s PCI attachment and its CardBus
attachment, delete several unnecessary #includes, re-order subroutines,
move around line breaks, change to different names for the same
constant, et cetera.  Comparing this version of if_ath_pci.c with my
uncommitted version of if_ath_cardbus.c, only about five lines are
different.

Revision 1.31.10.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:40 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.30.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:44 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30.4.3: +6 -9 lines
Diff to previous 1.30.4.3 (colored) to branchpoint 1.30 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:00 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jan 8 19:56:51 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

Expand PMF_FN_* macros.

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
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.34: +4 -7 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.30.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:50 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30.4.2: +5 -6 lines
Diff to previous 1.30.4.2 (colored) to branchpoint 1.30 (colored)

sync with head

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

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

XXX: should these pmf(9) calls be moved into MI attach functions
XXX: using function pointers for suspend and resume passed via softc?

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.30.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:33 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30.4.1: +3 -3 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored)

sync with head

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:24 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], Wed May 6 09:25:15 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.30.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:56 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30: +7 -5 lines
Diff to previous 1.30 (colored)

sync with head.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:25 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.28.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:59 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.28.6.2: +2 -1 lines
Diff to previous 1.28.6.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

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

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

Revision 1.32 / (download) - annotate - [select for diffs], Thu Dec 11 05:45:30 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.30.10.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:38 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.30: +5 -4 lines
Diff to previous 1.30 (colored)

Sync with HEAD.

Revision 1.28.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:26 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.28.6.1: +3 -2 lines
Diff to previous 1.28.6.1 (colored) to branchpoint 1.28 (colored)

Sync with HEAD.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:06 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.30: +5 -4 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:33 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.30: +5 -4 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 9 19:47:24 2008 UTC (3 years, 10 months ago) by joerg
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: +5 -4 lines
Diff to previous 1.30 (colored)

- device/softc split for ath(4)

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:50 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.28: +47 -26 lines
Diff to previous 1.28 (colored)

Sync with HEAD.

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

sync with head.

Revision 1.21.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:46 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.21.8.1: +47 -50 lines
Diff to previous 1.21.8.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with HEAD

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:11 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.5: +47 -26 lines
Diff to previous 1.10.2.5 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.30 / (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-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, haad-dm
Changes since 1.29: +45 -25 lines
Diff to previous 1.29 (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.29 / (download) - annotate - [select for diffs], Fri Mar 7 22:17:03 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.28: +4 -3 lines
Diff to previous 1.28 (colored)

In ath_pci_detach(), only disestablish the interrupt handler if it
is established.

Revision 1.21.14.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:56 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.21: +5 -12 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:29 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.4: +2 -26 lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 28 18:18:37 2008 UTC (4 years, 3 months ago) by dyoung
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.27: +2 -26 lines
Diff to previous 1.27 (colored)

Remove dead code and associated comments.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:51 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.3: +56 -84 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored)

sync with head

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:43 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.21: +56 -84 lines
Diff to previous 1.21 (colored)

sync with HEAD

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:54:40 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.22: +37 -8 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD

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

Sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 21 18:26:13 2007 UTC (4 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.26: +7 -2 lines
Diff to previous 1.26 (colored)

Initialize and destroy the ATH_LOCK.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 15 23:56:54 2007 UTC (4 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.25: +8 -5 lines
Diff to previous 1.25 (colored)

In ath_pci_detach(), unmap bus memory.

Revision 1.25 / (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.24: +23 -2 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Fri Dec 14 02:57:22 2007 UTC (4 years, 5 months ago) by mjf
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)

Reorder the previous commit so we remember to disestablish pci interrupts
if we fail to attach ath(4).

Thanks dyoung!

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

Fix a crash at shutdown/reboot that was caused by ath(4) registering with
pmf's network class even though the ath device may not have attached
properly.

OK jmcneill

Revision 1.21.18.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:03 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.21: +26 -83 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:08 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.21: +26 -83 lines
Diff to previous 1.21 (colored)

Merge jmcneill-pm branch.

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

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

Revision 1.21.6.3 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:24 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.21.6.2: +10 -11 lines
Diff to previous 1.21.6.2 (colored) to branchpoint 1.21 (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.21.6.2 / (download) - annotate - [select for diffs], Mon Oct 1 05:37:37 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.21.6.1: +23 -42 lines
Diff to previous 1.21.6.1 (colored) to branchpoint 1.21 (colored)

Extend device API by device_power_private and device_power_set_private.
The latter is a temporary mean until the pnp_register API itself is
overhault. This functions allow a generic power handler to store its
state independent of the driver.

Use this and revamp the PCI power handling. Pretty much all PCI devices
had power handlers that did the same thing, generalize this in
pci_generic_power_register/deregister and the handler. This interface
offers callbacks for the drivers to save and restore state on
transistions. After a long discussion with jmcneill@ it was considered
to be powerful enough until evidence is shown that devices can handle
D1/D2 with less code and higher speed than without the full
save/restore. The generic code is carefully written to handle device
without PCI-PM support and ensure that the correct registers are written
to when D3 loses all state.

Reimplement the generic PCI network device handling on
top of PCI generic power handling.

Introduce pci_disable_retry as used and implemented locally at least by
ath(4) and iwi(4). Use it in this drivers to restore behaviour from
before the introduction of generic PCI network handling.

Convert all PCI drivers that were using pnp_register to the new
framework. The only exception is vga(4) as it is commonly used as
console device. Add a note therein that this should be fixed later.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:52 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.2: +60 -26 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Thu Aug 23 16:19:47 2007 UTC (4 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.21: +13 -50 lines
Diff to previous 1.21 (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.19.10.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:31 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.19: +60 -26 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with head.

Revision 1.19.8.1 / (download) - annotate - [select for diffs], Sun May 27 14:30:22 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.19: +60 -26 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with head.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Mon May 7 10:55:30 2007 UTC (5 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.19: +60 -26 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 17 21:50:31 2007 UTC (5 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, yamt-idlelwp-base8, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, 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, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.20: +8 -15 lines
Diff to previous 1.20 (colored)

Cosmetic: fix whitespace, join two lines, remove extraneous #includes.
#Define a bitmask using __BITS() instead of a hex constant, for
easy comparison with paper documentation.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 17 21:48:07 2007 UTC (5 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.19: +54 -13 lines
Diff to previous 1.19 (colored)

Add prototype for ath_pci_detach().  Alphabetize prototypes.

Extract the code for disabling PCI retries, creating ath_disable_retry(),
and call it both during device initialization and on ->PWR_RESUME
transitions.  Comment out the code in ath_disable_retry() for now,
because it is not clear what problem it solves, if any.

Set a reasonable PCI Latency Timer.  Apparently, it is too much to
ask any BIOS to do.  The PCI framework ought to set latency timers,
instead of individual drivers setting latency timers.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:44 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.1: +19 -9 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

sync with head.

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

sync with head.

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

Sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (5 years, 6 months ago) by christos
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, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, 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, vmlocking, mjf-ufs-trans
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

__unused removal on arguments; approved by core.

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

sync with head

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

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

Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 24 03:53:09 2006 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:16 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.11: +57 -13 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.11.8.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:25 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.11.8.2: +15 -7 lines
Diff to previous 1.11.8.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Tue Aug 1 18:11:32 2006 UTC (5 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.15: +10 -3 lines
Diff to previous 1.15 (colored)

If the card presents 64bit memory, map it as that.
Fixes PR kern/34045.

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
Changes since 1.14: +7 -6 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.13.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:27 2006 UTC (5 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.13: +41 -6 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Merge from HEAD.

Revision 1.11.8.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:21 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.11.8.1: +48 -12 lines
Diff to previous 1.11.8.1 (colored) to branchpoint 1.11 (colored)

sync with head.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:03 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10: +49 -13 lines
Diff to previous 1.10 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 20 14:38:34 2006 UTC (5 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6
Changes since 1.13: +41 -6 lines
Diff to previous 1.13 (colored)

Power hook for ath pci front end.

Written and tested by George Michaelson [ggm at apnic.net]

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

Sync with head.

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Wed Jun 7 15:51:09 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.11.6.1: +9 -8 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with head.

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
CVS Tags: simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Changes since 1.12: +9 -8 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.11.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:27 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

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

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:14 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Sync with head.

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:34 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

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

sync with head

Revision 1.12 / (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-base5, yamt-pdpolicy-base4, elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:49 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

merge ktrace-lwp.

Revision 1.7.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.5: +50 -63 lines
Diff to previous 1.7.2.5 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with HEAD. Here we go again...

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 22 22:07:48 2005 UTC (6 years, 11 months ago) by martin
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.9: +3 -2 lines
Diff to previous 1.9 (colored)

Remove unused <atomic.h> include; add <sys/device.h> includes where
needed.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 22 06:16:02 2005 UTC (6 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.8: +49 -63 lines
Diff to previous 1.8 (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.1.1.4 / (download) - annotate - [select for diffs] (vendor branch), Tue Jun 21 20:37:50 2005 UTC (6 years, 11 months ago) by dyoung
Branch: FreeBSD
CVS Tags: ath-2005-07-11, ath-2005-05-18, ath-1-nov-2005
Changes since 1.1.1.3: +41 -53 lines
Diff to previous 1.1.1.3 (colored)

Import FreeBSD's ath(4) of 2005-05-18

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:05 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.7: +10 -10 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with -current

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:10 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.7: +10 -10 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

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

Revision 1.7.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:17 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.4: +10 -10 lines
Diff to previous 1.7.2.4 (colored) to branchpoint 1.7 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:32 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.7: +10 -10 lines
Diff to previous 1.7 (colored)

nuke trailing whitespace

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:02 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.3: +2 -2 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored)

Fix the sync with head I botched.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:03 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.2: +2 -2 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored)

Sync with HEAD.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:07 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.1: +257 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)

Sync with HEAD

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Fri Jul 2 22:28:31 2004 UTC (7 years, 10 months ago) by he
Branch: netbsd-2-0
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-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
Changes since 1.5: +8 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Pull up revision 1.7 (requested by mycroft in ticket #582):
  Accept an alternate Atheros vendor ID by munging it to look
  like the expected one.  This is needed for DWL-G520 cards
  which otherwise ``just work''.  This should eventually be
  dealt with in the HAL.

Revision 1.7.2.1, Wed Jun 30 05:58:17 2004 UTC (7 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7: +0 -257 lines
FILE REMOVED

file if_ath_pci.c was added on branch ktrace-lwp on 2004-08-03 10:49:07 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 30 05:58:17 2004 UTC (7 years, 10 months ago) by mycroft
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, ktrace-lwp, kent-audio2
Changes since 1.6: +8 -3 lines
Diff to previous 1.6 (colored)

This should be done in the HAL, but until then...
Hack the match function to accept an alternate Atheros vendor ID by munging it
to look like the expected one.  This is needed for DWL-G520 cards (which
otherwise "just work").

Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 30 22:19:33 2004 UTC (8 years ago) by dyoung
Branch: MAIN
Changes since 1.5: +10 -4 lines
Diff to previous 1.5 (colored)

Synchronize with FreeBSD by adding two comments.

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Thu Apr 29 03:54:44 2004 UTC (8 years ago) by dyoung
Branch: FreeBSD
CVS Tags: ath-28-apr-2004
Changes since 1.1.1.2: +6 -6 lines
Diff to previous 1.1.1.2 (colored)

Import FreeBSD's ath of 28-apr-2004

Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 16 06:48:09 2003 UTC (8 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Synchronize with FreeBSD:

 * add constants to enums

 * HAL update: stops panics, fixes ad hoc-mode beacons, some API
   changes

 * get and use mac/phy/rf front-end revision codes

 * add a custom ath(4) ic_node_getrssi callback which does RSSI
   averaging

 * do not immediately scan, but re-associate after missing beacons.

 * bug fix: don't if_init after detach.

 * HAL diagnostics ioctl, SIOCGATHDIAG

 * send DS parameters element in beacons

 * const-ify some pointers

 * consolidate rx-filter settings into ath_calcrxfilter

 * abstract FreeBSD `ticks', NetBSD `hardclock_ticks' with ATH_TICKS()

 * misc. other changes

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Dec 15 03:34:25 2003 UTC (8 years, 5 months ago) by dyoung
Branch: FreeBSD
CVS Tags: ath-12-dec-2003
Changes since 1.1.1.1: +4 -5 lines
Diff to previous 1.1.1.1 (colored)

Import FreeBSD's ath of 12-dec-2003

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 15 23:24:36 2003 UTC (8 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

$NetBSD$

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 15 20:33:30 2003 UTC (8 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.2: +22 -2 lines
Diff to previous 1.2 (colored)

translate pci device ID until HAL gets updated.  suggested by sam leffler

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 13 04:36:29 2003 UTC (8 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.1: +93 -172 lines
Diff to previous 1.1 (colored)

ath(4) PCI front-end for NetBSD, heavily modified from FreeBSD's.
Substantially influenced by the patch from Bruce J.A. Nourish.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Oct 7 05:29:24 2003 UTC (8 years, 7 months ago) by dyoung
Branch: FreeBSD
CVS Tags: ath-6-sep-2003
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of ath(4) from FreeBSD.


Revision 1.1 / (download) - annotate - [select for diffs], Tue Oct 7 05:29:24 2003 UTC (8 years, 7 months ago) by dyoung
Branch: MAIN

Initial revision

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>