CVS log for src/sys/dev/ic/athn.c
Up to [cvs.NetBSD.org] / src / sys / dev / ic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Mar 18 23:32:24 2022 UTC (2 years, 10 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -4
lines
net80211: Use getticks(), not hardclock_ticks.
Less extern in .c this way too.
Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:28 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -12
lines
Sync w/ HEAD.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jun 16 00:21:18 2021 UTC (3 years, 7 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -12
lines
if_attach and if_initialize cannot fail, don't test return value
These were originally made failable back in 2017 when if_initialize
allocated a softint in every interface for link state changes, so
that it could fail gracefully instead of panicking:
https://mail-index.NetBSD.org/source-changes/2017/10/23/msg089053.html
However, this spawned many seldom- or never-tested error branches,
which are risky to have around. And that softint in every interface
has since been replaced by a single global workqueue, because link
state changes require thread context but not low latency or high
throughput:
https://mail-index.NetBSD.org/source-changes/2020/02/06/msg113759.html
So there is no longer any reason for if_initialize to fail. (The
subroutine if_stats_init can't fail because percpu_alloc can't fail
either.)
There is a snag: the softint_establish in if_percpuq_create could
fail, potentially leading to bad consequences later on trying to use
the softint. This change doesn't introduce any new bugs because of
the snag -- if_percpuq_attach was already broken. However, the snag
can be better addressed without spawning error branches, either by
using a single softint or making softints less scarce.
(Separate commit will change the signatures of if_attach and
if_initialize to return void, scheduled to ride whatever is the next
convenient kernel bump.)
Patch and testing on amd64 and evbmips64-eb by maya@; commit message
soliloquy, and compile-testing on evbppc/i386/earmv7hf, by me.
Revision 1.23.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:06 2020 UTC (4 years, 1 month ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +4 -3
lines
Sync w/ HEAD.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Nov 15 12:33:53 2020 UTC (4 years, 2 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -3
lines
Don't unlock without having taken the lock.
Revision 1.18.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:21 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.18.2.3: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.3: +1 -1
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:06 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.18.2.2: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.2: +6 -6
lines
Merge changes from current as of 20200406
Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:08 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +6 -6
lines
Sync with head.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Jan 29 14:09:58 2020 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Branch point for: thorpej-futex
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -6
lines
Adopt <net/if_stats.h>.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Jul 25 11:56:09 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
Avoid undefined behavior. Found by KUBSan. Some of errors are still remaining.
Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:10 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.1: +38 -70
lines
Sync with HEAD
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue May 28 07:41:48 2019 UTC (5 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -2
lines
Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue May 28 07:07:00 2019 UTC (5 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -10
lines
Modify to use athn_set_multi().
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri May 24 07:34:51 2019 UTC (5 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +32 -62
lines
KNF. No functional change.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:44 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -4
lines
Sync with HEAD
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 12 16:35:33 2018 UTC (6 years, 6 months ago) by phil
Branches: phil-wifi
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -2
lines
State save. New kernel config for this brach only. TESTWIFI does
produce a kernel. It is not working. athn files not compiling yet
and commented out of the TESTWIFI kernel, which only has urtwn 802.11
driver enabled. ieee80211_alq.c and ieee80211_ddb.c not compiling yet.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:00 2018 UTC (6 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4
lines
Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.
This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 10:10:23 2017 UTC (7 years, 1 month ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +15 -3
lines
Pull up following revision(s) (requested by msaitoh in ticket #427):
sys/arch/amiga/dev/if_bah_zbus.c: 1.17
sys/arch/arm/broadcom/bcm53xx_eth.c: 1.30
sys/arch/powerpc/booke/dev/pq3etsec.c: 1.32
sys/arch/usermode/dev/if_veth.c: 1.9
sys/dev/ic/an.c: 1.66
sys/dev/ic/athn.c: 1.17
sys/dev/ic/atw.c: 1.162
sys/dev/ic/bwi.c: 1.33
sys/dev/ic/dwc_gmac.c: 1.41-1.42
sys/dev/ic/malo.c: 1.10
sys/dev/ic/rt2560.c: 1.31
sys/dev/ic/rt2661.c: 1.36
sys/dev/ic/rt2860.c: 1.29
sys/dev/ic/rtw.c: 1.127
sys/dev/ic/rtwvar.h: 1.46
sys/dev/ic/smc90cx6.c: 1.71
sys/dev/ic/smc90cx6var.h: 1.12
sys/dev/ic/wi.c: 1.244
sys/dev/pci/if_ipw.c: 1.66
sys/dev/pci/if_iwi.c: 1.104
sys/dev/pci/if_iwm.c: 1.76
sys/dev/pci/if_iwn.c: 1.86
sys/dev/pci/if_rtwn.c: 1.13
sys/dev/pci/if_wm.c: 1.541
sys/dev/pci/if_wpi.c: 1.79
sys/dev/pci/ixgbe/ixgbe.c: 1.106
sys/dev/pci/ixgbe/ixv.c: 1.73 via patch
sys/dev/pcmcia/if_malo_pcmcia.c: 1.15
sys/dev/scsipi/if_se.c: 1.95
sys/dev/usb/if_upl.c: 1.60
sys/net/if.c: 1.396
sys/net/if.h: 1.241
sys/net/if_arc.h: 1.23
sys/net/if_arcsubr.c: 1.78
sys/net/if_bridge.c: 1.136-1.137
sys/net/if_etherip.c: 1.39
sys/net/if_faith.c: 1.56
sys/net/if_gif.c: 1.131
sys/net/if_loop.c: 1.96
sys/net/if_mpls.c: 1.30
sys/net/if_pppoe.c: 1.129
sys/net/if_srt.c: 1.27
sys/net/if_stf.c: 1.102
sys/net/if_tap.c: 1.100
sys/net/if_vlan.c: 1.105
sys/netinet/ip_carp.c: 1.91
sys/rump/net/lib/libshmif/if_shmem.c: 1.73-1.74
sys/rump/net/lib/libvirtif/if_virt.c: 1.55-1.56
if_initalize() and if_attach() failed when resource allocation failed
(e.g. allocating softint). Without this change, it panics. It's bad because
resource shortage really occured when a lot of pseudo interface is created.
To avoid this problem, don't panic and change return value of if_initialize()
and if_attach() to int. Caller fanction will be recover from error cleanly by
checking the return value.
Return if bah_attach_subr() failed.
If if_attach() failed in the attach function, return.
- If if_initialize() failed in the attach function, free resources and return.
- Add some missing frees in bridge_clone_destroy().
- KNF
If error occured in bcmeth_ccb_attach(), free resources and return.
If error occured in pq3etsec_attach(), free resources and return.
If error occured in the attach function, free resources and return.
- If if_initialize() failed in athn_attach(), free resources and return.
- Add missing pmf_event_deregister() in athn_detach().
- Free resources correctly on some errors in atw_attach().
- Use apint*() insread of printf() in the attach function.
If if_initialize() failed in the attach function, return.
- If if_initialize() failed in the attach function, free resources and return.
- Add missing dwc_gmac_free_dma_rings() and mutex_destroy() when attach
failed.
- If if_initialize() failed in the attach function, free resources and return.
- ifp is always not NULL in iwi_detach(). Check correctly with ifp->if_softc.
- If if_initialize() failed in the attach function, free resources and return.
- Fix error path in the attach function correctly.
If if_initialize() failed in the attach function, free resources and return.
If if_attach() failed in the attach function, free resources and return.
- If if_initialize() failed in the attach function, free resources and return.
- KNF
- If if_attach() failed in the attach function, free resources and return.
- KNF
Fix compile error.
Fix compile error.
We don't need '&mii', but just 'mii' for mii_detach().
Don't free sc_rthash twice
Revision 1.5.4.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:03 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.5.4.3: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.3: +79 -15
lines
update from HEAD
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Oct 23 09:25:11 2017 UTC (7 years, 3 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +15 -3
lines
- If if_initialize() failed in athn_attach(), free resources and return.
- Add missing pmf_event_deregister() in athn_detach().
Revision 1.10.4.5: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:03 2017 UTC (7 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.4.4: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.4.4: +11 -2
lines
Sync with HEAD
Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:11 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.1: +11 -2
lines
Sync with HEAD
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:46 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +61 -8
lines
Sync with HEAD
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Apr 11 17:27:54 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +11 -2
lines
Disable interrupts before returning from isr, and re-enable them when the
soft interrupt handler returns. Fixes an interrupt storm on Tegra K1.
ok christos@
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:28 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +52 -8
lines
Sync with HEAD
Revision 1.10.4.4: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:27 2017 UTC (7 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.4.3: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.4.3: +44 -4
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Feb 2 10:05:35 2017 UTC (7 years, 11 months ago) by nonaka
Branches: MAIN
CVS tags: pgoyette-localcount-20170320,
nick-nhusb-base-20170204,
jdolecek-ncq-base,
jdolecek-ncq
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +44 -4
lines
wlan interfaces make interrupt routine running on softint context.
see http://mail-index.netbsd.org/tech-kern/2016/12/06/msg021281.html
tested device:
* ath at pci: AR5212, AR5424
* athn at pci: AR9287
* ipw at pci: 2100BG
* iwi at pci: 2915ABG
* iwm at pci: 3165, 7260, 8260
* iwn at pci: 4945, 6235
* ral at pci: RT2560
* rtwn at pci: RTL8192CE
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jan 21 12:45:22 2017 UTC (8 years ago) by skrll
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -6
lines
Pull across from nick-nhusb.
Some locking fixing, MPification and an attach fix
Revision 1.10.4.3: download - view: text, markup, annotated - select for diffs
Wed Dec 28 19:41:41 2016 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.4.2: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.4.2: +10 -6
lines
Various improvements
- override the method before calling athn_attach -> if_attach -> interface
announce
- locking fixes for htc/wmi
- some MPificaton
Revision 1.10.4.2: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:21 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.4.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.4.1: +3 -3
lines
Sync with HEAD
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu May 26 05:01:12 2016 UTC (8 years, 8 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
bouyer-socketcan
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Use M_GETCTX
No functional change.
Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:49 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +9 -10
lines
Sync with HEAD (as of 26th Dec)
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Nov 17 16:37:22 2015 UTC (9 years, 2 months ago) by jakllsch
Branches: MAIN
CVS tags: nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -9
lines
Revert changes of athn.c r1.8.
- aprint_normal is correct for the attach message
- KNF adjustments in code we sync with upstream are a nuisance
- aprint_error{,_dev}() is inappropriate for use in runtime code
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Sep 22 13:28:02 2015 UTC (9 years, 4 months ago) by joerg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Avoid left-shift of negative values.
Revision 1.5.4.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:37 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.5.4.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.2: +15 -13
lines
Rebase to HEAD as of a few days ago.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:52 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +4 -4
lines
Rebase.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jul 24 19:47:15 2014 UTC (10 years, 6 months ago) by riz
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Fix last change (pa_calib_ticks should be sc_pa_calib_ticks).
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jul 24 17:35:10 2014 UTC (10 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
sync with OpenBSD
Revision 1.8.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:22 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.8.4.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.4.1: +3009 -0
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:37 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +12 -11
lines
sync with head
Revision 1.8.4.1
Sun Feb 23 15:29:12 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.8: +0 -3009
lines
file athn.c was added on branch yamt-pagecache on 2014-05-22 11:40:22 +0000
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Feb 23 15:29:12 2014 UTC (10 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: yamt-pagecache,
tls-earlyentropy
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -8
lines
use aprint.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 17 21:24:24 2013 UTC (11 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5
lines
- remove unused variables
- move variables inside ifdef sections
- ifdef notdef unused code
- use __USE for debugging variables
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jun 24 19:43:58 2013 UTC (11 years, 7 months ago) by martin
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Branch point for: rmind-smpnet
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -4
lines
Stopgap for PR kern/47957: when reinitializing the chip in if_timeout,
avoid pmf operations as we are called from softint context.
This is not a 100% solution, since we still may end up panicing if
initialization fails.
Instead of hacking around it on a per driver level, wouldn't it be better
to have a single global workqueue and dispatch the if_slowtimo() calls
via that?
Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:17 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.1: +3007 -0
lines
resync from head
Revision 1.5.4.1
Wed Apr 10 12:46:50 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.5: +0 -3007
lines
file athn.c was added on branch tls-maxphys on 2013-06-23 06:20:17 +0000
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Apr 10 12:46:50 2013 UTC (11 years, 9 months ago) by christos
Branches: MAIN
CVS tags: khorben-n900
Branch point for: tls-maxphys
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -8
lines
sort prototypes.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 6 16:50:48 2013 UTC (11 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +31 -10
lines
Fix return type and value of athn_resume (true for success, not 0 for no
error).
Avoid endless recursion in athn_init when the device had been suspended
via pmf_device_recursive_resume -> athn_resume -> athn_init.
Avoid touching the hardware when the device is not fully powered up yet.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 6 14:57:38 2013 UTC (11 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +20 -4
lines
Debounce the "wlan button pressed" event via pmf PMFE_RADIO_OFF so we
can run the pmf stuff in thread context.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Apr 5 19:14:31 2013 UTC (11 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +12 -9
lines
Cleanup attach message slightly
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Mar 30 02:53:02 2013 UTC (11 years, 10 months ago) by christos
Branches: MAIN
This is the initial port of OpenBSD's athn(4) driver. It supports
quite a few Atheros 802.11n devices. See the athn(4) manpage for a
list.
This port has only been tested with a TP-LINK TL-WN722N USB adapter
which has an AR9271 chipset (VENDOR: 0x0cf3, PRODUCT: 0x9271). The
BSS, Monitor, and HostAP modes all seem to work on that adapter,
though the later has not been tested much.
The driver also supports PCI and CardBUS devices, but those interfaces
are completely untested and probably won't work at this point.
If someone can provide me with other adapters that should be
supported, particularly PCI or CardBUS adapters, or tell me where I
can get one cheaply, I would be happy to try to get the driver working
on those devices as well.
CVSweb <webmaster@jp.NetBSD.org>