The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.100 / (download) - annotate - [select for diffs], Wed Apr 3 01:13:41 2024 UTC (13 days, 19 hours ago) by gutteridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.99: +4 -2 lines
Diff to previous 1.99 (colored) to selected 1.79 (colored)

if_iwn.c: pick up proper firmware for Centrino Wireless-N 130

Both variants should use iwlwifi-6000g2b-6 not iwlwifi-6000g2a-6. (It
seems only two specific product variants use iwlwifi-6000g2a-6. We
could simplify by reversing the sense of the test, as OpenBSD does, but
it doesn't seem to matter much, as what we now match seems to be the
full gamut possible, so the simpler diff was chosen here.)

Addresses PR kern/58105 from wandrien.dev@gmail.com, with the
PCI_PRODUCT_INTEL_WIFI_LINK_130_1 match tested by the reporter. Code
inspection of the FreeBSD driver indicates we should safely be able to
match PCI_PRODUCT_INTEL_WIFI_LINK_130_2 also.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Apr 25 02:29:14 2022 UTC (23 months, 3 weeks ago) by gutteridge
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored) to selected 1.79 (colored)

Update firmware for Intel Centrino Advanced-N 6205 WiFi cards

Use the final version of firmware provided for these cards. This has
been tested with both variants of impacted iwn(4) cards (6005_2X2_1 and
6005_2X2_2, as found in a Dell E6230 and a Lenovo T420), improvements
noted.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Dec 31 14:25:23 2021 UTC (2 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored) to selected 1.79 (colored)

sys: Use if_init wrapper function.

Exception: Not in kern_pmf.c, for the kind of silly reason that it
avoids having kern_pmf.c refer to symbols defined only in net; this
avoids a pain in the rump.

Revision 1.97 / (download) - annotate - [select for diffs], Sun Sep 19 11:37:01 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.96: +4 -4 lines
Diff to previous 1.96 (colored) to selected 1.79 (colored)

fix few more typos in comments, messages and documentation.

Revision 1.94.8.2 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:29 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.94.8.1: +3 -9 lines
Diff to previous 1.94.8.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored) to selected 1.79 (colored)

Sync w/ HEAD.

Revision 1.96 / (download) - annotate - [select for diffs], Wed Jun 16 00:21:18 2021 UTC (2 years, 10 months ago) by riastradh
Branch: 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
Changes since 1.95: +3 -9 lines
Diff to previous 1.95 (colored) to selected 1.79 (colored)

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.94.8.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:31 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.94: +125 -52 lines
Diff to previous 1.94 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.95 / (download) - annotate - [select for diffs], Sat May 8 00:27:02 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.94: +125 -52 lines
Diff to previous 1.94 (colored) to selected 1.79 (colored)

Use pci_compatible_match().

Revision 1.90.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:26 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.90.2.2: +1 -1 lines
Diff to previous 1.90.2.2 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored) to selected 1.79 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.90.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:09 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.90.2.1: +19 -15 lines
Diff to previous 1.90.2.1 (colored) to branchpoint 1.90 (colored) to selected 1.79 (colored)

Merge changes from current as of 20200406

Revision 1.94 / (download) - annotate - [select for diffs], Fri Mar 20 16:35:41 2020 UTC (4 years ago) by sevan
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Branch point for: thorpej-i2c-spi-conf
Changes since 1.93: +7 -3 lines
Diff to previous 1.93 (colored) to selected 1.79 (colored)

Apply the same change as for if_iwi.c r1.114 here, as part of kern/55090.

This driver sleeps during iwn_media_change(), and thus requires an adaptive
mutex for the media lock.

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:10 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.92: +14 -14 lines
Diff to previous 1.92 (colored) next main 1.93 (colored) to selected 1.79 (colored)

Sync with head.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Jan 30 06:03:34 2020 UTC (4 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.92: +14 -14 lines
Diff to previous 1.92 (colored) to selected 1.79 (colored)

Adopt <net/if_stats.h>.

Revision 1.92 / (download) - annotate - [select for diffs], Thu Oct 10 22:34:42 2019 UTC (4 years, 6 months ago) by bad
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored) to selected 1.79 (colored)

magic number police. use ETHER_ADDR_LEN.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:16 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.90: +13 -6 lines
Diff to previous 1.90 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.91 / (download) - annotate - [select for diffs], Fri Apr 19 19:37:31 2019 UTC (4 years, 11 months ago) by gutteridge
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, 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, isaki-audio2-base, isaki-audio2
Changes since 1.90: +13 -6 lines
Diff to previous 1.90 (colored) to selected 1.79 (colored)

if_iwn.c: add a comment noting which PCI IDs are covered by an else
statement that loads a specific firmware variant. While here, also
amend the formatting of two other comments.

Revision 1.88.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:46 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.88.2.1: +6 -6 lines
Diff to previous 1.88.2.1 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.90 / (download) - annotate - [select for diffs], Tue Jun 26 06:48:01 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: 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
Branch point for: phil-wifi
Changes since 1.89: +6 -6 lines
Diff to previous 1.89 (colored) to selected 1.79 (colored)

 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.88.2.1 / (download) - annotate - [select for diffs], Wed May 2 07:20:06 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.88: +5 -17 lines
Diff to previous 1.88 (colored) to selected 1.79 (colored)

Synch with HEAD

Revision 1.89 / (download) - annotate - [select for diffs], Tue May 1 16:18:13 2018 UTC (5 years, 11 months ago) by maya
Branch: MAIN
CVS Tags: pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502
Changes since 1.88: +5 -17 lines
Diff to previous 1.88 (colored) to selected 1.79 (colored)

GC private 802.11 rateset declarations, use the standard ones.

Build tested only.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Jan 28 16:12:41 2018 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.87: +6 -2 lines
Diff to previous 1.87 (colored) to selected 1.79 (colored)

add an annotation.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Jan 16 07:05:24 2018 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.86: +7 -6 lines
Diff to previous 1.86 (colored) to selected 1.79 (colored)

Fix overflow.

Revision 1.84.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 10:10:24 2017 UTC (6 years, 4 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.84.6.1: +9 -3 lines
Diff to previous 1.84.6.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored) to selected 1.79 (colored)

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.62.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:08 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.62.6.2: +574 -168 lines
Diff to previous 1.62.6.2 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.79 (colored)

update from HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Mon Oct 23 09:31:18 2017 UTC (6 years, 5 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.85: +9 -3 lines
Diff to previous 1.85 (colored) to selected 1.79 (colored)

 If if_initialize() failed in the attach function, free resources and return.

Revision 1.74.2.8 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:05 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74.2.7: +73 -7 lines
Diff to previous 1.74.2.7 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.84.6.1 / (download) - annotate - [select for diffs], Fri Aug 25 05:38:06 2017 UTC (6 years, 7 months ago) by snj
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.84: +73 -7 lines
Diff to previous 1.84 (colored) to selected 1.79 (colored)

Pull up following revision(s) (requested by mlelstv in ticket #218):
	sys/dev/pci/if_iwn.c: revision 1.85
	sys/dev/pci/if_iwnreg.h: revision 1.17
	sys/dev/pci/if_iwnvar.h: revision 1.20
Pull in some hardware support from FreeBSD. Also fix 5GHz mode by
adapting the method described in: https://forums.freebsd.org/threads/53574/.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Jul 19 16:55:12 2017 UTC (6 years, 8 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Changes since 1.84: +73 -7 lines
Diff to previous 1.84 (colored) to selected 1.79 (colored)

Pull in some hardware support from FreeBSD. Also fix 5GHz mode by
adapting the method described in: https://forums.freebsd.org/threads/53574/.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:47 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.82: +88 -38 lines
Diff to previous 1.82 (colored) next main 1.83 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.78.2.3 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:29 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.78.2.2: +88 -38 lines
Diff to previous 1.78.2.2 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Sync with HEAD

Revision 1.74.2.7 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:29 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74.2.6: +89 -97 lines
Diff to previous 1.74.2.6 (colored) to branchpoint 1.74 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.84 / (download) - annotate - [select for diffs], Thu Feb 2 10:05:35 2017 UTC (7 years, 2 months ago) by nonaka
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.83: +62 -23 lines
Diff to previous 1.83 (colored) to selected 1.79 (colored)

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.83 / (download) - annotate - [select for diffs], Thu Feb 2 03:20:19 2017 UTC (7 years, 2 months ago) by nonaka
Branch: MAIN
Changes since 1.82: +29 -18 lines
Diff to previous 1.82 (colored) to selected 1.79 (colored)

iwn(4): use MSI if available.

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:33 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.78.2.1: +8 -62 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored) to selected 1.79 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.82 / (download) - annotate - [select for diffs], Wed Jan 4 03:05:24 2017 UTC (7 years, 3 months ago) by nonaka
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.81: +2 -61 lines
Diff to previous 1.81 (colored) to selected 1.79 (colored)

Export some 802.11 IE manipulate functions.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Dec 8 01:12:01 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
Changes since 1.80: +4 -3 lines
Diff to previous 1.80 (colored) to selected 1.79 (colored)

Apply deferred if_start framework

if_schedule_deferred_start checks if the if_snd queue contains packets,
so drivers don't need to check it by themselves.

Revision 1.74.2.6 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:02 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74.2.5: +6 -2 lines
Diff to previous 1.74.2.5 (colored) to branchpoint 1.74 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.80 / (download) - annotate - [select for diffs], Thu Nov 24 12:32:47 2016 UTC (7 years, 4 months ago) by hkenken
Branch: MAIN
CVS Tags: nick-nhusb-base-20161204
Changes since 1.79: +6 -2 lines
Diff to previous 1.79 (colored)

bus_dmamap_sync() is required for ICT table read/write.
Tested by arm platform.

Revision 1.74.2.5 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:43 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74.2.4: +5 -5 lines
Diff to previous 1.74.2.4 (colored) to branchpoint 1.74 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sat Aug 6 00:19:07 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [selected], Wed Aug 3 19:56:41 2016 UTC (7 years, 8 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, pgoyette-localcount-20160806, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

be less noisy with concurrent scan requests.

Revision 1.74.2.4 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:04 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74.2.3: +3 -3 lines
Diff to previous 1.74.2.3 (colored) to branchpoint 1.74 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:14 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored) to selected 1.79 (colored)

Introduce m_set_rcvif and m_reset_rcvif

The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.

No functional change.

Revision 1.74.2.3 / (download) - annotate - [select for diffs], Sun May 29 08:44:21 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74.2.2: +3 -3 lines
Diff to previous 1.74.2.2 (colored) to branchpoint 1.74 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.77 / (download) - annotate - [select for diffs], Thu May 26 05:01:12 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored) to selected 1.79 (colored)

Use M_GETCTX

No functional change.

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:50 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74.2.1: +18 -6 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored) to selected 1.79 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Sun Nov 15 20:27:34 2015 UTC (8 years, 5 months ago) by bouyer
Branch: netbsd-6
Changes since 1.62: +18 -6 lines
Diff to previous 1.62 (colored) next main 1.63 (colored) to selected 1.79 (colored)

Pull up following revision(s) (requested by nonaka in ticket #1330):
	sys/dev/pci/if_iwnvar.h: revision 1.17
	sys/dev/pci/if_iwn.c: revision 1.76
PR/50187: Don't use DS parameter set when 5GHz channel is scanning.
XXX: pullup-7

Revision 1.71.4.2 / (download) - annotate - [select for diffs], Fri Nov 6 00:50:52 2015 UTC (8 years, 5 months ago) by riz
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.71.4.1: +18 -6 lines
Diff to previous 1.71.4.1 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored) to selected 1.79 (colored)

Pull up following revision(s) (requested by nonaka in ticket #987):
	sys/dev/pci/if_iwnvar.h: revision 1.17
	sys/dev/pci/if_iwn.c: revision 1.76
PR/50187: Don't use DS parameter set when 5GHz channel is scanning.
XXX: pullup-7

Revision 1.76 / (download) - annotate - [select for diffs], Tue Sep 22 23:23:06 2015 UTC (8 years, 6 months ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.75: +18 -6 lines
Diff to previous 1.75 (colored) to selected 1.79 (colored)

PR/50187: Don't use DS parameter set when 5GHz channel is scanning.

XXX: pullup-7

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:59 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74: +2 -7 lines
Diff to previous 1.74 (colored) to selected 1.79 (colored)

Sync with HEAD

Revision 1.75 / (download) - annotate - [select for diffs], Mon Aug 24 23:52:18 2015 UTC (8 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.74: +2 -7 lines
Diff to previous 1.74 (colored) to selected 1.79 (colored)

Remove "#ifdef INET" code.  Por que?  Because opt_inet.h was not included
and "#ifdef INET" was just a fancy way of saying "#ifndef NetBSD".

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Wed Jan 28 19:00:28 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-7
CVS Tags: 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
Changes since 1.71: +372 -47 lines
Diff to previous 1.71 (colored) to selected 1.79 (colored)

Pull up following revision(s) (requested by nonaka in ticket #467):
	external/intel-fw-public/iwl2030/dist/iwlwifi-2030-6.ucode: revision 1.1
	distrib/sets/lists/base/mi: revision 1.1091
	share/man/man4/iwn.4: revision 1.13
	external/intel-fw-public/iwl100/Makefile: revision 1.1
	external/intel-fw-public/iwl2030/Makefile: revision 1.1
	external/intel-fw-public/iwl135/Makefile: revision 1.1
	sys/dev/pci/pcidevs: revision 1.1205
	external/intel-fw-public/Makefile: revision 1.8
	external/intel-fw-public/iwl135/dist/iwlwifi-135-6.ucode: revision 1.1
	external/intel-fw-public/iwl2030/dist/LICENSE.iwlwifi-2030-ucode: revision 1.1
	external/intel-fw-public/iwl105/dist/LICENSE.iwlwifi-105-ucode: revision 1.1
	external/intel-fw-public/iwl2000/dist/LICENSE.iwlwifi-2000-ucode: revision 1.1
	external/intel-fw-public/iwl100/dist/iwlwifi-100-5.ucode: revision 1.1
	external/intel-fw-public/iwl135/dist/LICENSE.iwlwifi-135-ucode: revision 1.1
	external/intel-fw-public/iwl135/dist/README.iwlwifi-135-ucode: revision 1.1
	sys/dev/pci/if_iwnvar.h: revision 1.16
	external/intel-fw-public/iwl2000/dist/iwlwifi-2000-6.ucode: revision 1.1
	external/intel-fw-public/iwl100/dist/README.iwlwifi-100-ucode: revision 1.1
	sys/dev/pci/if_iwn.c: revision 1.72
	sys/dev/pci/if_iwnreg.h: revision 1.14
	external/intel-fw-public/iwl105/dist/README.iwlwifi-105-ucode: revision 1.1
	external/intel-fw-public/iwl100/dist/LICENSE.iwlwifi-100-ucode: revision 1.1
	external/intel-fw-public/iwl2000/dist/README.iwlwifi-2000-ucode: revision 1.1
	external/intel-fw-public/iwl105/dist/iwlwifi-105-6.ucode: revision 1.1
	external/intel-fw-public/iwl2000/Makefile: revision 1.1
	external/intel-fw-public/iwl105/Makefile: revision 1.1
	external/intel-fw-public/iwl2030/dist/README.iwlwifi-2030-ucode: revision 1.1
Add some Intel Wi-Fi devices.
Add support for Intel Centrino Wireless-N 100/105/130/135/2200/2230.
From OpenBSD.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Nov 9 14:40:54 2014 UTC (9 years, 5 months ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.73: +5 -3 lines
Diff to previous 1.73 (colored) to selected 1.79 (colored)

Use correct IWN_HW_REV_TYPE_MASK.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Nov 9 14:29:13 2014 UTC (9 years, 5 months ago) by nonaka
Branch: MAIN
Changes since 1.72: +19 -15 lines
Diff to previous 1.72 (colored) to selected 1.79 (colored)

fix error messages.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Oct 30 13:05:58 2014 UTC (9 years, 5 months ago) by nonaka
Branch: MAIN
Changes since 1.71: +372 -47 lines
Diff to previous 1.71 (colored) to selected 1.79 (colored)

Add support for Intel Centrino Wireless-N 100/105/130/135/2200/2230.
From OpenBSD.

Revision 1.62.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:42 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.62.6.1: +156 -18 lines
Diff to previous 1.62.6.1 (colored) to branchpoint 1.62 (colored) to selected 1.79 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:25 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.61.2.1: +169 -31 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.79 (colored)

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.66.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:40 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.66.2.1: +7 -5 lines
Diff to previous 1.66.2.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.79 (colored)

sync with head

Revision 1.71 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:24 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.70: +4 -3 lines
Diff to previous 1.70 (colored) to selected 1.79 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Oct 17 21:06:15 2013 UTC (10 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.69: +3 -4 lines
Diff to previous 1.69 (colored) to selected 1.79 (colored)

- remove unused variables
- move debugging code inside debugging sections

Revision 1.69 / (download) - annotate - [select for diffs], Sat Sep 14 13:11:31 2013 UTC (10 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.68: +4 -2 lines
Diff to previous 1.68 (colored) to selected 1.79 (colored)

Conditionalize iwn_memwrite_2 and friends under !IEEE80211_NO_HT.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:25 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.66: +153 -17 lines
Diff to previous 1.66 (colored) to selected 1.79 (colored)

sync with head

Revision 1.68 / (download) - annotate - [select for diffs], Fri Aug 23 16:49:53 2013 UTC (10 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.67: +5 -3 lines
Diff to previous 1.67 (colored) to selected 1.79 (colored)

PR/48150: Noriyuki Koizumi: Add support for Intel Centrino Advanced-N 6235
Wi-Fi controller

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jul 28 11:46:24 2013 UTC (10 years, 8 months ago) by prlw1
Branch: MAIN
Changes since 1.66: +151 -17 lines
Diff to previous 1.66 (colored) to selected 1.79 (colored)

Add support for Centrino Wireless-N 1030 and Centrino Advanced-N 6230
http://mail-index.netbsd.org/tech-net/2013/01/04/msg003802.html

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:18 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.62: +13 -13 lines
Diff to previous 1.62 (colored) to selected 1.79 (colored)

resync from head

Revision 1.66 / (download) - annotate - [select for diffs], Sat Jun 15 13:05:35 2013 UTC (10 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored) to selected 1.79 (colored)

reflect the correct OpenBSD versions we are synced with.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Apr 21 19:59:40 2013 UTC (10 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: khorben-n900
Changes since 1.64: +6 -6 lines
Diff to previous 1.64 (colored) to selected 1.79 (colored)

Delete "PCI_" from PCIX and PICE capability registers.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Mar 30 03:21:43 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.63: +4 -4 lines
Diff to previous 1.63 (colored) to selected 1.79 (colored)

replace function with macro

Revision 1.63 / (download) - annotate - [select for diffs], Sat Mar 30 03:21:05 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.62: +6 -6 lines
Diff to previous 1.62 (colored) to selected 1.79 (colored)

remove trailing whitespace

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:47 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.61: +3 -7 lines
Diff to previous 1.61 (colored) to selected 1.79 (colored)

sync with head

Revision 1.61.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:40 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.61: +3 -7 lines
Diff to previous 1.61 (colored) next main 1.62 (colored) to selected 1.79 (colored)

merge to -current.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:20 2012 UTC (12 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-6
Changes since 1.61: +3 -7 lines
Diff to previous 1.61 (colored) to selected 1.79 (colored)

Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Oct 8 11:07:09 2011 UTC (12 years, 6 months ago) by elric
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored) to selected 1.79 (colored)

Use aprint_error_dev().

Revision 1.60 / (download) - annotate - [select for diffs], Sat Oct 8 10:21:16 2011 UTC (12 years, 6 months ago) by mbalmer
Branch: MAIN
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored) to selected 1.79 (colored)

Make this compile again: Use the device_xname() macro to get the devic name.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Oct 7 22:42:18 2011 UTC (12 years, 6 months ago) by elric
Branch: MAIN
Changes since 1.58: +34 -2 lines
Diff to previous 1.58 (colored) to selected 1.79 (colored)

Update from OpenBSD merging in 1.111 and 1.112 with log messages:

1.112	Differential gain calibration makes the 6005 firmware crap
	out, so skip it for now until we figure out why.  This
	probably means the device won't function optimally, but
	that's better than not functioning at all.  Makes my "Intel
	Centrinto Advanced-N 6205" work quite well.

1.111	The 6005 and 6050-based parts need DC calibration turned
	on, otherwise the firmware will crap out, at least on the
	6005.  First step to getting my "Intel Centrino Advanced-N
	6205" to work.

Both are commited by kettenis@openbsd.org.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Aug 28 16:33:51 2011 UTC (12 years, 7 months ago) by elric
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored) to selected 1.79 (colored)

Revert prior inadvertent checkin.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Aug 28 16:26:29 2011 UTC (12 years, 7 months ago) by elric
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) to selected 1.79 (colored)

Remove crypto/dist/heimdal and its associated build infrastructure as
it has been replaced by crypto/external/bsd/heimdal.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:13 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.52: +249 -322 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.37.2.4 / (download) - annotate - [select for diffs], Tue May 31 03:04:40 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.2.3: +247 -320 lines
Diff to previous 1.37.2.3 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.79 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Sat May 21 12:51:47 2011 UTC (12 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.55: +8 -15 lines
Diff to previous 1.55 (colored) to selected 1.79 (colored)

Add newer Wireless WiFi Link 4965 devices, Centrino Wireless-N 1030
and Centrino Advanced-N 6230

Revision 1.55 / (download) - annotate - [select for diffs], Fri May 20 01:59:15 2011 UTC (12 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.54: +4 -5 lines
Diff to previous 1.54 (colored) to selected 1.79 (colored)

Add support for 6050(6250 and 6150) and 6005(6205).
TODO: update iwn.4 manpage.

Revision 1.54 / (download) - annotate - [select for diffs], Wed May 18 01:02:43 2011 UTC (12 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored) to selected 1.79 (colored)

#include <sys/bus.h>, not <machine/bus.h>.

Revision 1.53 / (download) - annotate - [select for diffs], Sun May 15 13:56:20 2011 UTC (12 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.52: +241 -306 lines
Diff to previous 1.52 (colored) to selected 1.79 (colored)

update from OpenBSD by msaitoh. Tested on amd64.

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:41 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.2.2: +14 -9 lines
Diff to previous 1.37.2.2 (colored) to branchpoint 1.37 (colored) to selected 1.79 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Thu Dec 30 19:27:27 2010 UTC (13 years, 3 months ago) by jruoho
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.51: +4 -3 lines
Diff to previous 1.51 (colored) to selected 1.79 (colored)

Use "temperature" rather than "TEMP" as the sensor name. No functional change.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Dec 30 18:27:01 2010 UTC (13 years, 3 months ago) by jruoho
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored) to selected 1.79 (colored)

Fill out struct ifnet::if_stop, which is required for network class devices
in pmf(9). Fixes the panic reported in PR # kern/44296.

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:05 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36.2.2: +4 -2 lines
Diff to previous 1.36.2.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.79 (colored)

Sync with HEAD (-D20101022).

Revision 1.9.4.7 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:09 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.6: +6 -4 lines
Diff to previous 1.9.4.6 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.79 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Sun Aug 29 07:00:13 2010 UTC (13 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.49: +6 -4 lines
Diff to previous 1.49 (colored) to selected 1.79 (colored)

Don't try to hold the mutex if we are disabling the card because we can
be called from an interrupt context. While this is not strictly correct,
we are SoL anyway so this does not matter.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:25 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36.2.1: +272 -442 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.9.4.6 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:47 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.5: +1782 -1449 lines
Diff to previous 1.9.4.5 (colored) to branchpoint 1.9 (colored) to selected 1.79 (colored)

sync with head.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Jul 10 04:09:35 2010 UTC (13 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.48: +4 -3 lines
Diff to previous 1.48 (colored) to selected 1.79 (colored)

V() the mutex when firmware is initialized, duh!

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jul 3 21:43:37 2010 UTC (13 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored) to selected 1.79 (colored)

Don't use spinlocks.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:36 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.2.1: +201 -57 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) to selected 1.79 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Fri Jul 2 14:47:25 2010 UTC (13 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.46: +17 -22 lines
Diff to previous 1.46 (colored) to selected 1.79 (colored)

- Fix the recursive iwn_init() call problem properly.
- Don't print the scan request while scanning all the time. Perhaps I will
  remove this completely.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jun 18 21:10:23 2010 UTC (13 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.45: +203 -54 lines
Diff to previous 1.45 (colored) to selected 1.79 (colored)

Patch from Sverre Froyen to avoid panic when an ioctl happens while the
driver is initializing.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:33 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37: +1623 -1435 lines
Diff to previous 1.37 (colored) to selected 1.79 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Wed May 12 12:26:16 2010 UTC (13 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.44: +3 -18 lines
Diff to previous 1.44 (colored) to selected 1.79 (colored)

Use device names from the OpenBSD iwn driver, adding and modifying device
names as needed. From Sverre Froyen

Revision 1.44 / (download) - annotate - [select for diffs], Sun May 2 02:06:15 2010 UTC (13 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.43: +74 -374 lines
Diff to previous 1.43 (colored) to selected 1.79 (colored)

Replace iwn_tx from rev. 1.39 with a port of the current OpenBSD version.
Remove superfluous call to bpf_detach.
Add comments regarding porting issues and add a couple of cosmetic changes
that reduce the diffs to the OpenBSD version. From Sverre Froyen

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:35 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36: +1958 -1455 lines
Diff to previous 1.36 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Apr 28 15:56:24 2010 UTC (13 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.42: +2 -3 lines
Diff to previous 1.42 (colored) to selected 1.79 (colored)

kill stray free. from Sverre Froyen.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Apr 23 20:56:20 2010 UTC (13 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.41: +25 -18 lines
Diff to previous 1.41 (colored) to selected 1.79 (colored)

Align usage of *free and *alloc and clean up the firmware read code.
This fixes two panics that occur for kernels compiled with DIAGNOSTIC and
DEBUG. From Sverre Froyen

Revision 1.41 / (download) - annotate - [select for diffs], Sat Apr 17 15:57:22 2010 UTC (14 years ago) by christos
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.79 (colored)

add support for the 6000. From sverre froyen

Revision 1.40 / (download) - annotate - [select for diffs], Fri Apr 16 01:40:41 2010 UTC (14 years ago) by christos
Branch: MAIN
Changes since 1.39: +1931 -1436 lines
Diff to previous 1.39 (colored) to selected 1.79 (colored)

Update with newer version from Sverre Froyen

Revision 1.39 / (download) - annotate - [select for diffs], Sun Apr 11 02:02:14 2010 UTC (14 years ago) by mrg
Branch: MAIN
Changes since 1.38: +18 -14 lines
Diff to previous 1.38 (colored) to selected 1.79 (colored)

avoid rbuf starvation.  when grabbing a recieve buffer, if a local
4KB buffer isn't available, try to MEXTMALLOC() one.  only if both
of these fail to we abort the recieve operation.

based on a patch from Sverre Froyen <sverre@viewmark.com>, thanks!

tested by myself, sverre and jeremy reed.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 5 07:20:26 2010 UTC (14 years ago) by joerg
Branch: MAIN
Changes since 1.37: +8 -10 lines
Diff to previous 1.37 (colored) to selected 1.79 (colored)

Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf
check into the inline functions as well the fourth argument for
bpf_attach.

Revision 1.9.4.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:46 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.4: +17 -31 lines
Diff to previous 1.9.4.4 (colored) to branchpoint 1.9 (colored) to selected 1.79 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:00 2010 UTC (14 years, 1 month 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) to selected 1.79 (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], Tue Jan 19 22:07:00 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.35: +11 -25 lines
Diff to previous 1.35 (colored) to selected 1.79 (colored)

Redefine bpf linkage through an always present op vector, i.e.
#if NBPFILTER is no longer required in the client.  This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached.  However, callers of bpf can
now be modularized.

Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff.  ... and I'm not going to ponder the depths of unload
here.

Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 8 19:56:51 2010 UTC (14 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored) to selected 1.79 (colored)

Expand PMF_FN_* macros.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Nov 21 14:51:04 2009 UTC (14 years, 4 months ago) by njoly
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.33: +6 -6 lines
Diff to previous 1.33 (colored) to selected 1.79 (colored)

Cleanup boot messages, use aprint functions.

Revision 1.9.4.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:51 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.3: +3886 -2072 lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored) to selected 1.79 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Fri Sep 11 01:28:20 2009 UTC (14 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, jym-xensuspend-nbase
Changes since 1.32: +3873 -2059 lines
Diff to previous 1.32 (colored) to selected 1.79 (colored)

Add support for the 5100 and newer firmware. Tested also with the 4900.
Thanks to everyone for helping and testing.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Sep 5 14:09:55 2009 UTC (14 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored) to selected 1.79 (colored)

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

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:34 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.2: +6 -6 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored) to selected 1.79 (colored)

sync with head

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:25 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored) next main 1.29 (colored) to selected 1.79 (colored)

Sync with HEAD.

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

Revision 1.31 / (download) - annotate - [select for diffs], Tue May 12 08:23:00 2009 UTC (14 years, 11 months 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.30: +3 -3 lines
Diff to previous 1.30 (colored) to selected 1.79 (colored)

use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 7 08:10:02 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.79 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.29 / (download) - annotate - [select for diffs], Wed May 6 09:25:15 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored) to selected 1.79 (colored)

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

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:56 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9.4.1: +366 -169 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) to selected 1.79 (colored)

sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:25 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.22: +112 -47 lines
Diff to previous 1.22 (colored) next main 1.23 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.5.8.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:59 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5.8.3: +194 -65 lines
Diff to previous 1.5.8.3 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Dec 22 11:32:04 2008 UTC (15 years, 3 months ago) by blymn
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.27: +89 -24 lines
Diff to previous 1.27 (colored) to selected 1.79 (colored)

Pay more attention to the state of the RF kill switch, such as don't
bring the interface up when the RF is off.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:35 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.10.4.1: +26 -27 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.79 (colored)

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

Revision 1.22.4.3 / (download) - annotate - [select for diffs], Sat Nov 15 03:13:51 2008 UTC (15 years, 5 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, 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-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.22.4.2: +5 -5 lines
Diff to previous 1.22.4.2 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.79 (colored)

Pull up following revision(s) (requested by blymn in ticket #58):
	sys/dev/pci/if_iwn.c: revision 1.24
Move init of essid to the attach code.

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Sat Nov 15 03:08:27 2008 UTC (15 years, 5 months ago) by snj
Branch: netbsd-5
Changes since 1.22.4.1: +6 -3 lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored) to selected 1.79 (colored)

Pull up following revision(s) (requested by blymn in ticket #58):
	sys/dev/pci/if_iwn.c: revision 1.23
* Disable aborting the scan for the moment - it causes a firmware error if
  a scan was never initiated which breaks WEP and open wireless
  connections
* Make sure the ESSID is cleared.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Nov 13 12:04:09 2008 UTC (15 years, 5 months ago) by blymn
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.26: +18 -23 lines
Diff to previous 1.26 (colored) to selected 1.79 (colored)

Actually declare the structures used in iwn_scan_hdr instead of using
pointer arithmetic to create the elements on the fly.

Other changes to scan routine taken from FreeBSD driver.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Sun Nov 9 04:00:06 2008 UTC (15 years, 5 months ago) by snj
Branch: netbsd-5
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.79 (colored)

Pull up following revision(s) (requested by joerg in ticket #25):
	sys/dev/pci/if_ipw.c: revision 1.44
	sys/dev/pci/if_ipwvar.h: revision 1.14
	sys/dev/pci/if_iwi.c: revision 1.76
	sys/dev/pci/if_iwn.c: revision 1.26
Match image name with upstream distfiles.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 7 14:58:27 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) to selected 1.79 (colored)

Match image name with upstream distfiles.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Nov 7 00:20:07 2008 UTC (15 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.24: +4 -2 lines
Diff to previous 1.24 (colored) to selected 1.79 (colored)

*** Summary ***

When a link-layer address changes (e.g., ifconfig ex0 link
02:de:ad:be:ef:02 active), send a gratuitous ARP and/or a Neighbor
Advertisement to update the network-/link-layer address bindings
on our LAN peers.

Refuse a change of ethernet address to the address 00:00:00:00:00:00
or to any multicast/broadcast address.  (Thanks matt@.)

Reorder ifnet ioctl operations so that driver ioctls may inherit
the functions of their "class"---ether_ioctl(), fddi_ioctl(), et
cetera---and the class ioctls may inherit from the generic ioctl,
ifioctl_common(), but both driver- and class-ioctls may override
the generic behavior.  Make network drivers share more code.

Distinguish a "factory" link-layer address from others for the
purposes of both protecting that address from deletion and computing
EUI64.

Return consistent, appropriate error codes from network drivers.

Improve readability.  KNF.

*** Details ***

In if_attach(), always initialize the interface ioctl routine,
ifnet->if_ioctl, if the driver has not already initialized it.
Delete if_ioctl == NULL tests everywhere else, because it cannot
happen.

In the ioctl routines of network interfaces, inherit common ioctl
behaviors by calling either ifioctl_common() or whichever ioctl
routine is appropriate for the class of interface---e.g., ether_ioctl()
for ethernets.

Stop (ab)using SIOCSIFADDR and start to use SIOCINITIFADDR.  In
the user->kernel interface, SIOCSIFADDR's argument was an ifreq,
but on the protocol->ifnet interface, SIOCSIFADDR's argument was
an ifaddr.  That was confusing, and it would work against me as I
make it possible for a network interface to overload most ioctls.
On the protocol->ifnet interface, replace SIOCSIFADDR with
SIOCINITIFADDR.  In ifioctl(), return EPERM if userland tries to
invoke SIOCINITIFADDR.

In ifioctl(), give the interface the first shot at handling most
interface ioctls, and give the protocol the second shot, instead
of the other way around. Finally, let compatibility code (COMPAT_OSOCK)
take a shot.

Pull device initialization out of switch statements under
SIOCINITIFADDR.  For example, pull ..._init() out of any switch
statement that looks like this:

        switch (...->sa_family) {
        case ...:
                ..._init();
                ...
                break;
        ...
        default:
                ..._init();
                ...
                break;
        }

Rewrite many if-else clauses that handle all permutations of IFF_UP
and IFF_RUNNING to use a switch statement,

        switch (x & (IFF_UP|IFF_RUNNING)) {
        case 0:
                ...
                break;
        case IFF_RUNNING:
                ...
                break;
        case IFF_UP:
                ...
                break;
        case IFF_UP|IFF_RUNNING:
                ...
                break;
        }

unifdef lots of code containing #ifdef FreeBSD, #ifdef NetBSD, and
#ifdef SIOCSIFMTU, especially in fwip(4) and in ndis(4).

In ipw(4), remove an if_set_sadl() call that is out of place.

In nfe(4), reuse the jumbo MTU logic in ether_ioctl().

Let ethernets register a callback for setting h/w state such as
promiscuous mode and the multicast filter in accord with a change
in the if_flags: ether_set_ifflags_cb() registers a callback that
returns ENETRESET if the caller should reset the ethernet by calling
if_init(), 0 on success, != 0 on failure.  Pull common code from
ex(4), gem(4), nfe(4), sip(4), tlp(4), vge(4) into ether_ioctl(),
and register if_flags callbacks for those drivers.

Return ENOTTY instead of EINVAL for inappropriate ioctls.  In
zyd(4), use ENXIO instead of ENOTTY to indicate that the device is
not any longer attached.

Add to if_set_sadl() a boolean 'factory' argument that indicates
whether a link-layer address was assigned by the factory or some
other source.  In a comment, recommend using the factory address
for generating an EUI64, and update in6_get_hw_ifid() to prefer a
factory address to any other link-layer address.

Add a routing message, RTM_LLINFO_UPD, that tells protocols to
update the binding of network-layer addresses to link-layer addresses.
Implement this message in IPv4 and IPv6 by sending a gratuitous
ARP or a neighbor advertisement, respectively.  Generate RTM_LLINFO_UPD
messages on a change of an interface's link-layer address.

In ether_ioctl(), do not let SIOCALIFADDR set a link-layer address
that is broadcast/multicast or equal to 00:00:00:00:00:00.

Make ether_ioctl() call ifioctl_common() to handle ioctls that it
does not understand.

In gif(4), initialize if_softc and use it, instead of assuming that
the gif_softc and ifp overlap.

Let ifioctl_common() handle SIOCGIFADDR.

Sprinkle rtcache_invariants(), which checks on DIAGNOSTIC kernels
that certain invariants on a struct route are satisfied.

In agr(4), rewrite agr_ioctl_filter() to be a bit more explicit
about the ioctls that we do not allow on an agr(4) member interface.

bzero -> memset.  Delete unnecessary casts to void *.  Use
sockaddr_in_init() and sockaddr_in6_init().  Compare pointers with
NULL instead of "testing truth".  Replace some instances of (type
*)0 with NULL.  Change some K&R prototypes to ANSI C, and join
lines.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Nov 6 12:03:43 2008 UTC (15 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored) to selected 1.79 (colored)

Move init of essid to the attach code.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Nov 5 09:42:20 2008 UTC (15 years, 5 months ago) by blymn
Branch: MAIN
Changes since 1.22: +6 -3 lines
Diff to previous 1.22 (colored) to selected 1.79 (colored)

* Disable aborting the scan for the moment - it causes a firmware error if
  a scan was never initiated which breaks WEP and open wireless connections
* Make sure the ESSID is cleared.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Oct 20 09:33:48 2008 UTC (15 years, 5 months ago) by rtr
Branch: MAIN
CVS Tags: netbsd-5-base, matt-mips64-base2
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.21: +3 -4 lines
Diff to previous 1.21 (colored) to selected 1.79 (colored)

- fix crazy condition that always evaluates to false without this
  iwn_fix_channel() never gets called.
- remove hardcode to ic->ic_channels[11]

fixes a problem in associating to access points

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:38 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.10: +261 -128 lines
Diff to previous 1.10 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Oct 18 15:55:27 2008 UTC (15 years, 6 months ago) by blymn
Branch: MAIN
CVS Tags: haad-dm-base1
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) to selected 1.79 (colored)

Make scan abort command async as newstate is called from an interrupt
context so we cannot ltsleep.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Oct 13 12:41:45 2008 UTC (15 years, 6 months ago) by blymn
Branch: MAIN
Changes since 1.19: +90 -25 lines
Diff to previous 1.19 (colored) to selected 1.79 (colored)

DMA fixes thanks to rtr & skrll
Don't set tsf in auth, this stops firmware errors on WPA renegotiation
Various other tweaks that the linux driver seems to have that we did not

Revision 1.9.6.4 / (download) - annotate - [select for diffs], Fri Oct 10 22:32:16 2008 UTC (15 years, 6 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.9.6.3: +3 -6 lines
Diff to previous 1.9.6.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.5.8.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:26 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5.8.2: +181 -113 lines
Diff to previous 1.5.8.2 (colored) to branchpoint 1.5 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.9.6.3 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:53 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.9.6.2: +3 -3 lines
Diff to previous 1.9.6.2 (colored) to branchpoint 1.9 (colored) to selected 1.79 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Sep 20 18:28:28 2008 UTC (15 years, 6 months ago) by freza
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4
Changes since 1.18: +3 -6 lines
Diff to previous 1.18 (colored) to selected 1.79 (colored)

iwn_node_alloc(): Allocate 'iwn_node' in M_80211_NODE (which is what
    ieee80211_node:node_free() expects), not M_DEVBUF. Fixes DIAGNOSTIC
    crashes due to suspected double-free.

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:06 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.9.6.1: +182 -111 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored) to selected 1.79 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Sep 14 10:09:39 2008 UTC (15 years, 7 months ago) by freza
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) to selected 1.79 (colored)

* iwn_rx_intr(): free rbuf is available if 'nb_free_entries > 0'.
    This used to have '>=' resulting in kernel crash accessing NULL
    rbuf under non-trivial Rx load.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 18 21:19:22 2008 UTC (15 years, 8 months ago) by cube
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.16: +21 -9 lines
Diff to previous 1.16 (colored) to selected 1.79 (colored)

- Make RX queue free list code look like in if_wpi.c, including:
- Protect RX queue free list with a mutex, as it was done in so many
  network drivers now that it calls for common code, as dyoung@ points
  out.

However, for now it should improve a bit iwn(4)'s stability.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Thu Jul 31 04:51:01 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.10.2.1: +58 -53 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.79 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 29 12:01:41 2008 UTC (15 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: simonb-wapbl-nbase, simonb-wapbl-base, nick-csl-alignment-base5
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) to selected 1.79 (colored)

fix typo.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 28 17:02:45 2008 UTC (15 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.14: +45 -45 lines
Diff to previous 1.14 (colored) to selected 1.79 (colored)

just whitespace fixes.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 28 17:01:16 2008 UTC (15 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.13: +13 -8 lines
Diff to previous 1.13 (colored) to selected 1.79 (colored)

fix type punned warnings.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 28 15:28:27 2008 UTC (15 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) to selected 1.79 (colored)

lint wins again :-) From Anon Ymous:
- fix a mis-placed parenthesis.
- fix assignment to the wrong variable.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Jul 28 14:37:27 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.10: +109 -55 lines
Diff to previous 1.10 (colored) to selected 1.79 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 26 15:10:34 2008 UTC (15 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.79 (colored)

make sure we write little endian. From Anon Ymous

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 24 13:04:00 2008 UTC (15 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.10: +108 -54 lines
Diff to previous 1.10 (colored) to selected 1.79 (colored)

* Add the BSS node during the auth phase so negotiation can occur
* Make the adding of a node into a function instead of duplicating code

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:11 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.79 (colored)

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

Revision 1.5.8.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:39 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5.8.1: +1 -1 lines
Diff to previous 1.5.8.1 (colored) to branchpoint 1.5 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:19 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.79 (colored)

sync with head.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:43 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.79 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 10 12:56:28 2008 UTC (15 years, 11 months ago) by degroote
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl, haad-dm
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) to selected 1.79 (colored)

Fix error handling after m_pullup

Revision 1.5.8.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:50 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.5: +48 -49 lines
Diff to previous 1.5 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 29 09:38:42 2008 UTC (16 years ago) by blymn
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) to selected 1.79 (colored)

Remove erroneous byteswap of flags - the flags are byteswapped when
assigned to the tx struct.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 29 09:36:29 2008 UTC (16 years ago) by blymn
Branch: MAIN
Changes since 1.7: +45 -45 lines
Diff to previous 1.7 (colored) to selected 1.79 (colored)

Clean up trailing whitespace.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:48 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.5: +4 -5 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.79 (colored)

sync with head.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:47 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.7.2.1: +3823 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.79 (colored)

sync with HEAD

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:11 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.3: +4 -5 lines
Diff to previous 1.4.2.3 (colored) next main 1.5 (colored) to selected 1.79 (colored)

sync with head.

Revision 1.7.2.1, Thu Mar 13 16:29:48 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.7: +0 -3823 lines
FILE REMOVED

file if_iwn.c was added on branch matt-armv6 on 2008-03-23 02:04:47 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 13 16:29:48 2008 UTC (16 years, 1 month ago) by taca
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: matt-armv6
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored) to selected 1.79 (colored)

Reflect change of PMF_FN_ARGS.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 11 20:55:32 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored) to selected 1.79 (colored)

pci_disable_retry() is now a no-op, so don't call it any more.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:35 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.2: +2 -21 lines
Diff to previous 1.4.2.2 (colored) to selected 1.79 (colored)

sync with head.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:57 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.5.2.1: +3824 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.79 (colored)

Sync with HEAD.

Revision 1.5.2.1, Sat Feb 16 18:51:42 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.5: +0 -3824 lines
FILE REMOVED

file if_iwn.c was added on branch mjf-devfs on 2008-02-18 21:05:57 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Sat Feb 16 18:51:42 2008 UTC (16 years, 2 months ago) by ober
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, mjf-devfs, keiichi-mipv6
Changes since 1.4: +2 -21 lines
Diff to previous 1.4 (colored) to selected 1.79 (colored)

More cleanup. Removal of debug comments.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:38 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.1: +3843 -0 lines
Diff to previous 1.4.2.1 (colored) to selected 1.79 (colored)

sync with head.

Revision 1.4.2.1, Sun Feb 10 10:33:10 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +0 -3843 lines
FILE REMOVED

file if_iwn.c was added on branch yamt-lazymbuf on 2008-02-11 14:59:38 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 10 10:33:10 2008 UTC (16 years, 2 months ago) by skrll
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.79 (colored)

Use PRIu64 in a DPRINTF.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 9 19:14:53 2008 UTC (16 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.2: +7 -8 lines
Diff to previous 1.2 (colored) to selected 1.79 (colored)

More whitespace and RCSIds.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 9 18:19:33 2008 UTC (16 years, 2 months ago) by ober
Branch: MAIN
Changes since 1.1: +121 -121 lines
Diff to previous 1.1 (colored) to selected 1.79 (colored)

Clean up white space and KNF everything.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 9 12:25:43 2008 UTC (16 years, 2 months ago) by ober
Branch: MAIN
Diff to selected 1.79 (colored)

Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@.  OK nick@ moof@

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>