The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.103.2.2 / (download) - annotate - [select for diffs], Wed Jun 21 20:48:06 2023 UTC (9 months, 3 weeks ago) by martin
Branch: netbsd-8
Changes since 1.103.2.1: +4 -3 lines
Diff to previous 1.103.2.1 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1835):

	sys/dev/pci/if_iwi.c: revision 1.117
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.401
	sys/dev/scsipi/ses.c: revision 1.52
	sys/dev/isa/mcd.c: revision 1.121
	(all via patch)

sys/dev: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

I think the iwi(4), mcd(4), and ses(4) changes actually plug leaks;
the raidframe(4) change probably doesn't (but doesn't hurt).

Revision 1.120 / (download) - annotate - [select for diffs], Mon Aug 22 18:09:04 2022 UTC (19 months, 3 weeks ago) by thorpej
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, HEAD
Changes since 1.119: +6 -6 lines
Diff to previous 1.119 (colored)

iwi_start(): Replace "IFQ_DEQUEUE() -> IF_PREPEND() on failure" with
"IFQ_POLL() -> IFQ_DEQUEUE() on success (or fatal error)".

Revision 1.119 / (download) - annotate - [select for diffs], Mon Aug 22 17:07:40 2022 UTC (19 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.118: +3 -7 lines
Diff to previous 1.118 (colored)

We come into our if_start routine via ether_output(), therefore there is
no need to check-and-pullup to sizeof(struct ether_header).  Instead, we
can simply assert it.

Revision 1.111.4.1 / (download) - annotate - [select for diffs], Wed Aug 3 10:55:44 2022 UTC (20 months, 1 week ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.111: +4 -3 lines
Diff to previous 1.111 (colored) next main 1.112 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1485):

	sys/dev/pci/if_iwi.c: revision 1.117
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.401
	sys/dev/scsipi/ses.c: revision 1.52
	sys/dev/isa/mcd.c: revision 1.121

sys/dev: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

I think the iwi(4), mcd(4), and ses(4) changes actually plug leaks;
the raidframe(4) change probably doesn't (but doesn't hurt).

Revision 1.118 / (download) - annotate - [select for diffs], Mon May 23 13:53:37 2022 UTC (22 months, 3 weeks ago) by rin
Branch: MAIN
Changes since 1.117: +14 -15 lines
Diff to previous 1.117 (colored)

Audit unload/unmap v.s. free against DMA buffer for sys/dev/pci;
make sure that bus_dmamap_unload(9) [or bus_dmamap_destroy(9)] or
bus_dmamem_unmap(9) are preceding to freeing DMA buffer, if it is
loaded or mapped, respectively.

This is mandatory for some archs. See, e.g.:

http://www.nerv.org/netbsd/?q=id:20210511T013030Z.013443cc790088147e4beed43f53dedabeaf9312
http://www.nerv.org/netbsd/?q=id:20220511T172220Z.561179f0b6fcc5b9cd73e274f69d74e2ce9e4c93

XXX XXX XXX
Compile test only (for amd64/ALL).

Thanks riastradh@ for double check.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Sep 9 23:26:36 2021 UTC (2 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.116: +4 -3 lines
Diff to previous 1.116 (colored)

sys/dev: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.

I think the iwi(4), mcd(4), and ses(4) changes actually plug leaks;
the raidframe(4) change probably doesn't (but doesn't hurt).

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

Sync w/ HEAD.

Revision 1.116 / (download) - annotate - [select for diffs], Wed Jun 16 00:21:18 2021 UTC (2 years, 9 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.115: +3 -9 lines
Diff to previous 1.115 (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.114.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.114: +20 -12 lines
Diff to previous 1.114 (colored)

Sync with HEAD.

Revision 1.115 / (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.114: +20 -12 lines
Diff to previous 1.114 (colored)

Use pci_compatible_match().

Revision 1.107.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.107.2.2: +2 -13 lines
Diff to previous 1.107.2.2 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.107.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.107.2.1: +18 -14 lines
Diff to previous 1.107.2.1 (colored) to branchpoint 1.107 (colored)

Merge changes from current as of 20200406

Revision 1.114 / (download) - annotate - [select for diffs], Fri Mar 20 13:33:23 2020 UTC (4 years ago) by thorpej
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.113: +7 -3 lines
Diff to previous 1.113 (colored)

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

Revision 1.112.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.112: +13 -13 lines
Diff to previous 1.112 (colored) next main 1.113 (colored)

Sync with head.

Revision 1.113 / (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.112: +13 -13 lines
Diff to previous 1.112 (colored)

Adopt <net/if_stats.h>.

Revision 1.112 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:36 2019 UTC (4 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.111: +4 -15 lines
Diff to previous 1.111 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.107.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.107: +9 -8 lines
Diff to previous 1.107 (colored)

Sync with HEAD

Revision 1.111 / (download) - annotate - [select for diffs], Sun Feb 3 03:19:27 2019 UTC (5 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
  this case, and thus can't be marked __dead easily

Revision 1.105.2.4 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:50 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.105.2.3: +5 -4 lines
Diff to previous 1.105.2.3 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.110 / (download) - annotate - [select for diffs], Sat Dec 22 14:07:53 2018 UTC (5 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.109: +3 -3 lines
Diff to previous 1.109 (colored)

Replace: M_COPY_PKTHDR -> m_copy_pkthdr. No functional change, since the
former is a macro to the latter.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Dec 9 11:14:02 2018 UTC (5 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.108: +4 -3 lines
Diff to previous 1.108 (colored)

use pci_intr_establish_xname() everywhere

Revision 1.105.2.3 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:51 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.105.2.2: +5 -5 lines
Diff to previous 1.105.2.2 (colored) to branchpoint 1.105 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.108 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:32 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.107: +5 -5 lines
Diff to previous 1.107 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.105.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
Changes since 1.105.2.1: +6 -6 lines
Diff to previous 1.105.2.1 (colored) to branchpoint 1.105 (colored)

Sync with HEAD

Revision 1.107 / (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-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.106: +6 -6 lines
Diff to previous 1.106 (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.105.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.105: +5 -17 lines
Diff to previous 1.105 (colored)

Synch with HEAD

Revision 1.106 / (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.105: +5 -17 lines
Diff to previous 1.105 (colored)

GC private 802.11 rateset declarations, use the standard ones.

Build tested only.

Revision 1.105 / (download) - annotate - [select for diffs], Tue Jan 16 07:05:24 2018 UTC (6 years, 2 months ago) by maxv
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.104: +7 -6 lines
Diff to previous 1.104 (colored)

Fix overflow.

Revision 1.103.2.1 / (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.103: +14 -11 lines
Diff to previous 1.103 (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.91.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:07 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.91.2.2: +102 -21 lines
Diff to previous 1.91.2.2 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)

update from HEAD

Revision 1.104 / (download) - annotate - [select for diffs], Mon Oct 23 09:28:13 2017 UTC (6 years, 5 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.103: +14 -11 lines
Diff to previous 1.103 (colored)

- 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.

Revision 1.97.6.5 / (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.97.6.4: +3 -3 lines
Diff to previous 1.97.6.4 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Sync with HEAD

Revision 1.103 / (download) - annotate - [select for diffs], Tue May 23 02:19:14 2017 UTC (6 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Apply deferred if_start to more drivers

And annotate some XXX_start as it runs in softint to clarify that
it doesn't need deferred if_start.

Revision 1.101.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.101: +81 -13 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Sync with HEAD

Revision 1.99.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.99.2.2: +81 -13 lines
Diff to previous 1.99.2.2 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)

Sync with HEAD

Revision 1.97.6.4 / (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.97.6.3: +81 -12 lines
Diff to previous 1.97.6.3 (colored) to branchpoint 1.97 (colored)

Sync with HEAD

Revision 1.102 / (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, nick-nhusb-base-20170204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.101: +81 -13 lines
Diff to previous 1.101 (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.99.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.99.2.1: +4 -3 lines
Diff to previous 1.99.2.1 (colored) to branchpoint 1.99 (colored)

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

Revision 1.101 / (download) - annotate - [select for diffs], Thu Dec 8 01:12:01 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.100: +4 -3 lines
Diff to previous 1.100 (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.97.6.3 / (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.97.6.2: +11 -3 lines
Diff to previous 1.97.6.2 (colored) to branchpoint 1.97 (colored)

Sync with HEAD

Revision 1.99.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.99: +10 -2 lines
Diff to previous 1.99 (colored)

Sync with HEAD

Revision 1.100 / (download) - annotate - [select for diffs], Wed Aug 3 19:59:57 2016 UTC (7 years, 8 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, pgoyette-localcount-20160806, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.99: +10 -2 lines
Diff to previous 1.99 (colored)

be quiet about regular intermediate authentication states.

Revision 1.97.6.2 / (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.97.6.1: +3 -3 lines
Diff to previous 1.97.6.1 (colored) to branchpoint 1.97 (colored)

Sync with HEAD

Revision 1.99 / (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.98: +3 -3 lines
Diff to previous 1.98 (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.97.6.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:10 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.97: +5 -4 lines
Diff to previous 1.97 (colored)

Sync with HEAD

Revision 1.98 / (download) - annotate - [select for diffs], Wed Jan 7 07:05:48 2015 UTC (9 years, 3 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.97: +5 -4 lines
Diff to previous 1.97 (colored)

Pass a correct firmware size (instead of 0) to firmware_free

firmware_free now uses kmem_free(9) instead of free(9),
so we need to pass a correct size to it.

Revision 1.91.2.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.91.2.1: +31 -41 lines
Diff to previous 1.91.2.1 (colored) to branchpoint 1.91 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.87.4.3 / (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.87.4.2: +38 -48 lines
Diff to previous 1.87.4.2 (colored) to branchpoint 1.87 (colored) next main 1.88 (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.92.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:40 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.92: +33 -43 lines
Diff to previous 1.92 (colored) next main 1.93 (colored)

sync with head

Revision 1.97 / (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, 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
Changes since 1.96: +4 -3 lines
Diff to previous 1.96 (colored)

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

Revision 1.96 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:10 2014 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.95: +5 -23 lines
Diff to previous 1.95 (colored)

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Nov 26 09:46:24 2013 UTC (10 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.94: +11 -11 lines
Diff to previous 1.94 (colored)

iwi_newstate should work along with ieee80211_new_state, not always
override it.

Revision 1.94 / (download) - annotate - [select for diffs], Thu Nov 21 21:14:05 2013 UTC (10 years, 4 months ago) by riz
Branch: MAIN
Changes since 1.93: +14 -10 lines
Diff to previous 1.93 (colored)

Wrap debug code in {} because "a label can only be part of a statement and
a declaration is not a statement."  I.e., make it a statement by making
it part of a block.

Revision 1.93 / (download) - annotate - [select for diffs], Thu Oct 17 21:06:15 2013 UTC (10 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.92: +11 -8 lines
Diff to previous 1.92 (colored)

- remove unused variables
- move debugging code inside debugging sections

Revision 1.91.2.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.91: +7 -7 lines
Diff to previous 1.91 (colored)

resync from head

Revision 1.92 / (download) - annotate - [select for diffs], Sat Mar 30 03:21:05 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.91: +7 -7 lines
Diff to previous 1.91 (colored)

remove trailing whitespace

Revision 1.87.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:29 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.87.4.1: +3 -3 lines
Diff to previous 1.87.4.1 (colored) to branchpoint 1.87 (colored)

sync with head

Revision 1.91 / (download) - annotate - [select for diffs], Sat Jun 2 21:36:44 2012 UTC (11 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

Add some pre-processor magic to verify that the type of the data item
  passed to sysctl_createv() actually matches the declared type for
  the item itself.
In the places where the caller specifies a function and a structure
  address (typically the 'softc') an explicit (void *) cast is now needed.
Fixes bugs in sys/dev/acpi/asus_acpi.c sys/dev/bluetooth/bcsp.c
  sys/kern/vfs_bio.c sys/miscfs/syncfs/sync_subr.c and setting
  AcpiGbl_EnableAmlDebugObject.
(mostly passing the address of a uint64_t when typed as CTLTYPE_INT).
I've test built quite a few kernels, but there may be some unfixed MD
  fallout. Most likely passing &char[] to char *.
Also add CTLFLAG_UNSIGNED for unsiged decimals - not set yet.

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:47 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.87: +18 -16 lines
Diff to previous 1.87 (colored)

sync with head

Revision 1.88.2.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:26 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.88.2.1: +13 -10 lines
Diff to previous 1.88.2.1 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored)

sync to latest -current.

Revision 1.89.2.1 / (download) - annotate - [select for diffs], Thu Mar 22 22:55:18 2012 UTC (12 years ago) by riz
Branch: netbsd-6
CVS Tags: 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
Changes since 1.89: +13 -10 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Pull up following revision(s) (requested by nisimura in ticket #134):
	sys/dev/pci/if_iwi.c: revision 1.90
Unbreak the endian issue in firmware header decoding. Comfirmed good and
running by a powerpc machine.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Mar 21 00:29:39 2012 UTC (12 years ago) by nisimura
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Changes since 1.89: +13 -10 lines
Diff to previous 1.89 (colored)


Unbreak the endian issue in firmware header decoding. Comfirmed good and
running by a powerpc machine.

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:39 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.88: +4 -7 lines
Diff to previous 1.88 (colored)

merge to -current.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:20 2012 UTC (12 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.88: +4 -7 lines
Diff to previous 1.88 (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.88 / (download) - annotate - [select for diffs], Sat Nov 19 22:51:23 2011 UTC (12 years, 4 months ago) by tls
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.87: +5 -3 lines
Diff to previous 1.87 (colored)

First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>.  This change includes
the following:

	An initial cleanup and minor reorganization of the entropy pool
	code in sys/dev/rnd.c and sys/dev/rndpool.c.  Several bugs are
	fixed.  Some effort is made to accumulate entropy more quickly at
	boot time.

	A generic interface, "rndsink", is added, for stream generators to
	request that they be re-keyed with good quality entropy from the pool
	as soon as it is available.

	The arc4random()/arc4randbytes() implementation in libkern is
	adjusted to use the rndsink interface for rekeying, which helps
	address the problem of low-quality keys at boot time.

	An implementation of the FIPS 140-2 statistical tests for random
	number generator quality is provided (libkern/rngtest.c).  This
	is based on Greg Rose's implementation from Qualcomm.

	A new random stream generator, nist_ctr_drbg, is provided.  It is
	based on an implementation of the NIST SP800-90 CTR_DRBG by
	Henric Jungheim.  This generator users AES in a modified counter
	mode to generate a backtracking-resistant random stream.

	An abstraction layer, "cprng", is provided for in-kernel consumers
	of randomness.  The arc4random/arc4randbytes API is deprecated for
	in-kernel use.  It is replaced by "cprng_strong".  The current
	cprng_fast implementation wraps the existing arc4random
	implementation.  The current cprng_strong implementation wraps the
	new CTR_DRBG implementation.  Both interfaces are rekeyed from
	the entropy pool automatically at intervals justifiable from best
	current cryptographic practice.

	In some quick tests, cprng_fast() is about the same speed as
	the old arc4randbytes(), and cprng_strong() is about 20% faster
	than rnd_extract_data().  Performance is expected to improve.

	The AES code in src/crypto/rijndael is no longer an optional
	kernel component, as it is required by cprng_strong, which is
	not an optional kernel component.

	The entropy pool output is subjected to the rngtest tests at
	startup time; if it fails, the system will reboot.  There is
	approximately a 3/10000 chance of a false positive from these
	tests.  Entropy pool _input_ from hardware random numbers is
	subjected to the rngtest tests at attach time, as well as the
	FIPS continuous-output test, to detect bad or stuck hardware
	RNGs; if any are detected, they are detached, but the system
	continues to run.

	A problem with rndctl(8) is fixed -- datastructures with
	pointers in arrays are no longer passed to userspace (this
	was not a security problem, but rather a major issue for
	compat32).  A new kernel will require a new rndctl.

	The sysctl kern.arandom() and kern.urandom() nodes are hooked
	up to the new generators, but the /dev/*random pseudodevices
	are not, yet.

	Manual pages for the new kernel interfaces are forthcoming.

Revision 1.85.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.85: +20 -25 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Sync with HEAD.

Revision 1.83.4.3 / (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.83.4.2: +0 -2 lines
Diff to previous 1.83.4.2 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

sync with head

Revision 1.87 / (download) - annotate - [select for diffs], Mon May 23 15:37:36 2011 UTC (12 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.86: +2 -4 lines
Diff to previous 1.86 (colored)

-remove references to crypto/arc4/arc4.* -- the code isn't used
 anywhere afaics
 (The confusion comes probably from use of arc4random() at various places,
  but this lives in libkern and doesn't share code with the former.)
-g/c non-implementation of arc4 encryption in swcrypto(4)
-remove special casing of ARC4 in crypto(4) -- the point is that it
 doesn't use an IV, and this fact is made explicit by the new "ivsize"
 property of xforms

Revision 1.83.4.2 / (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.83.4.1: +21 -23 lines
Diff to previous 1.83.4.1 (colored) to branchpoint 1.83 (colored)

sync with head

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:50 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.85: +20 -23 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Sync with HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Mon Jan 31 00:01:07 2011 UTC (13 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.85: +20 -23 lines
Diff to previous 1.85 (colored)

clear register 0x41 as FreeBSD and OpenBSD do. Update copyright to the latest.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Nov 15 05:57:24 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.84: +3 -2 lines
Diff to previous 1.84 (colored)

tsleep needs sys/proc.h.

Revision 1.72.4.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:46 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.72.4.4: +7 -9 lines
Diff to previous 1.72.4.4 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

sync with head.

Revision 1.83.4.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.83: +7 -9 lines
Diff to previous 1.83 (colored)

sync with head

Revision 1.83.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.83: +7 -9 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with HEAD.

Revision 1.74.2.3.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:41 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.74.2.3: +4 -4 lines
Diff to previous 1.74.2.3 (colored) next main 1.74.2.4 (colored)

sync to netbsd-5

Revision 1.84 / (download) - annotate - [select for diffs], Mon Apr 5 07:20:25 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.83: +7 -9 lines
Diff to previous 1.83 (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.72.4.4 / (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.72.4.3: +8 -21 lines
Diff to previous 1.72.4.3 (colored) to branchpoint 1.72 (colored)

sync with head

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jan 19 22:07:00 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.82: +8 -21 lines
Diff to previous 1.82 (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.74.2.4 / (download) - annotate - [select for diffs], Tue Sep 29 23:57:41 2009 UTC (14 years, 6 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.74.2.3: +4 -4 lines
Diff to previous 1.74.2.3 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1040):
	sys/dev/pci/if_iwi.c: revision 1.79
make iwi_alloc_tx_ring() prototype match function declaration (shows up when
bus_addr_t != bus_size_t). Fix cast for 64bit paddr_t on i386.

Revision 1.72.4.3 / (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.72.4.2: +5 -5 lines
Diff to previous 1.72.4.2 (colored) to branchpoint 1.72 (colored)

sync with head

Revision 1.82 / (download) - annotate - [select for diffs], Sat Sep 5 14:09:55 2009 UTC (14 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.81: +5 -5 lines
Diff to previous 1.81 (colored)

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

Revision 1.72.4.2 / (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.72.4.1: +4 -4 lines
Diff to previous 1.72.4.1 (colored) to branchpoint 1.72 (colored)

sync with head

Revision 1.78.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.78: +89 -66 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

Sync with HEAD.

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

Revision 1.81 / (download) - annotate - [select for diffs], Wed May 6 09:25:15 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.80: +4 -4 lines
Diff to previous 1.80 (colored)

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

Revision 1.72.4.1 / (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.72: +132 -68 lines
Diff to previous 1.72 (colored)

sync with head.

Revision 1.73.4.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:56 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.73.4.2: +85 -62 lines
Diff to previous 1.73.4.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Mar 13 21:57:07 2009 UTC (15 years, 1 month ago) by jym
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.79: +85 -62 lines
Diff to previous 1.79 (colored)

Fixes in the iwi(4) driver to better handle errors:
- bus_dmamap fixes, with checks against NULL
- move the rings' allocation code later in iwi_attach() to avoid NULL pointer
dereference if allocation fails
- avoid double free() in case of failure during attach. If an allocation fails,
do not free the ring directly, as it is handled by iwi_detach()
- only set ring->count for RX/TX rings when ring allocation is successful, or
else the for loop during detach will fail with a NULL dereference.
- call pci_intr_disestablish() if iwi_reset() fails during attach; driver is
in an incoherent state, interrupt handler should not be used.

Proposed by me on tech-net@, approved by christos@. Compiled and tested
with GENERIC and XEN3_DOM0 kernels.

Revision 1.73.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:07 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.73.4.1: +4 -4 lines
Diff to previous 1.73.4.1 (colored) to branchpoint 1.73 (colored)

Sync with HEAD.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Feb 13 21:11:47 2009 UTC (15 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.78: +4 -4 lines
Diff to previous 1.78 (colored)

make iwi_alloc_tx_ring() prototype match function declaration (shows up when
bus_addr_t != bus_size_t). Fix cast for 64bit paddr_t on i386.

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:25 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.73: +47 -6 lines
Diff to previous 1.73 (colored)

Sync with HEAD.

Revision 1.68.10.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:59 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.68.10.2: +45 -4 lines
Diff to previous 1.68.10.2 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

Sync with HEAD.

Revision 1.74.2.3 / (download) - annotate - [select for diffs], Wed Jan 14 17:57:39 2009 UTC (15 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.74.2.2: +3 -3 lines
Diff to previous 1.74.2.2 (colored) to branchpoint 1.74 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #250):
	sys/dev/pci/if_iwi.c: revision 1.78
	sys/dev/pci/if_ipw.c: revision 1.45
Make the "EULA not accepted" message a bit more informative, now reads:
  EULA not accepted; please see the <driver>(4) man page.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jan 9 21:14:36 2009 UTC (15 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

Make the "EULA not accepted" message a bit more informative, now reads:

  EULA not accepted; please see the <driver>(4) man page.

Revision 1.73.2.1 / (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.73: +47 -6 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

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

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Mon Nov 10 18:39:59 2008 UTC (15 years, 5 months ago) by snj
Branch: netbsd-5
Changes since 1.74.2.1: +3 -3 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored)

Pull up following revision(s) (requested by joerg in ticket #43):
	sys/dev/pci/if_iwi.c: revision 1.77
Fix typo in fw name.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Nov 10 18:05:12 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

Fix typo in fw name.

Revision 1.74.2.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.74: +6 -6 lines
Diff to previous 1.74 (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.76 / (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.75: +6 -6 lines
Diff to previous 1.75 (colored)

Match image name with upstream distfiles.

Revision 1.75 / (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.74: +4 -2 lines
Diff to previous 1.74 (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.74 / (download) - annotate - [select for diffs], Thu Oct 30 00:27:32 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: netbsd-5-base
Branch point for: netbsd-5
Changes since 1.73: +41 -2 lines
Diff to previous 1.73 (colored)

Add glue to ship Intel firmware images. For ipw and iwi require user to
accept the EULA via sysctl as discussed with core@.

Revision 1.68.10.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:09 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.68.10.1: +1 -1 lines
Diff to previous 1.68.10.1 (colored) to branchpoint 1.68 (colored)

Sync with HEAD.

Revision 1.72.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.72: +3 -3 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

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

Revision 1.72.8.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:18 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync with head.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:41 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Jun 16 06:19:24 2008 UTC (15 years, 10 months ago) by mlelstv
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Compute the correct number of pages spanned by the firmware.

The old code just uses the firmware size and rounds up to full
pages. However, if the firmware isn't loaded aligned to a page
boundary (which it isn't), then one more page (and thus DMA
segment) might be necessary.

Revision 1.68.10.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.68: +4 -16 lines
Diff to previous 1.68 (colored)

Sync with HEAD.

Revision 1.10.2.8 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:51 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.7: +3 -3 lines
Diff to previous 1.10.2.7 (colored) next main 1.11 (colored)

sync with head.

Revision 1.68.6.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.68: +4 -16 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

sync with head.

Revision 1.63.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:47 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.63.2.2: +4 -16 lines
Diff to previous 1.63.2.2 (colored) next main 1.64 (colored)

sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Fri Mar 21 07:47:43 2008 UTC (16 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

pci_activate() expects for its void * argument to be a device_t,
so change the type of the argument to device_t.  Update each use
of pci_activate().

Use device_t and accessors.  Use aprint_*_dev().

Revision 1.10.2.7 / (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.10.2.6: +3 -15 lines
Diff to previous 1.10.2.6 (colored)

sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Mar 11 20:41:35 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.70: +2 -4 lines
Diff to previous 1.70 (colored)

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

Revision 1.70 / (download) - annotate - [select for diffs], Tue Mar 11 20:40:51 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.69: +3 -13 lines
Diff to previous 1.69 (colored)

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

Revision 1.69 / (download) - annotate - [select for diffs], Fri Feb 29 06:13:39 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

Use PMF_FN_ARGS, PMF_FN_PROTO.

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:55 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.5: +19 -93 lines
Diff to previous 1.10.2.5 (colored)

sync with head

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:46 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.63.2.1: +19 -93 lines
Diff to previous 1.63.2.1 (colored)

sync with HEAD

Revision 1.67.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:52 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.67: +19 -93 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with head.

Revision 1.67.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:07 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.67: +19 -93 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

sync with head.

Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:09 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.67: +19 -93 lines
Diff to previous 1.67 (colored)

Merge jmcneill-pm branch.

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

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

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:28:59 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.63: +118 -144 lines
Diff to previous 1.63 (colored)

sync with HEAD

Revision 1.62.14.6 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:24 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62.14.5: +9 -8 lines
Diff to previous 1.62.14.5 (colored) to branchpoint 1.62 (colored)

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

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:32:54 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.4: +116 -140 lines
Diff to previous 1.10.2.4 (colored)

sync with head.

Revision 1.62.14.5 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:05 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62.14.4: +112 -138 lines
Diff to previous 1.62.14.4 (colored) to branchpoint 1.62 (colored)

Sync with HEAD.

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

Revision 1.64.4.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:00 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.64: +116 -140 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Sync with HEAD.

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:08:58 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.62.2.1: +4 -4 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Sync with head.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Oct 22 15:31:46 2007 UTC (16 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

Also convert detach function.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Oct 22 15:28:48 2007 UTC (16 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.65: +112 -136 lines
Diff to previous 1.65 (colored)

Convert to device_t/softc split and aprint usage.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:46 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.64: +4 -4 lines
Diff to previous 1.64 (colored)

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

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:44 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.62: +5 -7 lines
Diff to previous 1.62 (colored)

Sync with head.

Revision 1.62.14.4 / (download) - annotate - [select for diffs], Mon Oct 1 05:37:40 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62.14.3: +18 -20 lines
Diff to previous 1.62.14.3 (colored) to branchpoint 1.62 (colored)

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

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

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

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

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

Revision 1.62.14.3 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:16 2007 UTC (16 years, 7 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.62.14.2: +5 -7 lines
Diff to previous 1.62.14.2 (colored) to branchpoint 1.62 (colored)

Sync with HEAD.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:36:56 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.3: +14 -16 lines
Diff to previous 1.10.2.3 (colored)

sync with head.

Revision 1.62.10.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:21:01 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.62: +5 -7 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Sep 1 07:32:29 2007 UTC (16 years, 7 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Changes since 1.63: +4 -6 lines
Diff to previous 1.63 (colored)

Change a bazillion occurrences of code resembling this,

	error = (cmd == SIOCADDMULTI) ?
	    ether_addmulti(ifr, &sc->sc_ec) :
	    ether_delmulti(ifr, &sc->sc_ec);

	if (error == ENETRESET) {

to this,

	if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {

which does the same thing.

(A bazillion is a very large number.  This seems to make the i386
ALL kernel smaller by 3kB to 4kB.)

Use ifreq_getaddr() twice in es(4).

Whitespace nits.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Aug 26 22:45:58 2007 UTC (16 years, 7 months ago) by dyoung
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Constify: LLADDR -> CLLADDR.  I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).

Revision 1.62.14.2 / (download) - annotate - [select for diffs], Thu Aug 23 09:32:50 2007 UTC (16 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62.14.1: +4 -72 lines
Diff to previous 1.62.14.1 (colored) to branchpoint 1.62 (colored)

Introduce pci_net_generic_power, which should be enough for most
network drivers and be a good foundation for C&P for the rest.

For iwi(4), don't reset the PCI retry register again, pci_conf_restore
should take care of that already.

For bge(4), add a NetBSD style if_stop.

Revision 1.62.14.1 / (download) - annotate - [select for diffs], Tue Aug 21 06:48:01 2007 UTC (16 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.62: +78 -81 lines
Diff to previous 1.62 (colored)

Convert iwi(4) to pnp_register/pnp_deregister and drop explicit shutdown
hooks.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:18 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.60: +11 -11 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Mar 4 19:14:25 2007 UTC (17 years, 1 month ago) by sketch
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, nick-csl-alignment, jmcneill-pm
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Put unformatted firmware version output behind IWI_DEBUG

Revision 1.61 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:20 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.60: +10 -10 lines
Diff to previous 1.60 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:25 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.2: +3 -6 lines
Diff to previous 1.10.2.2 (colored)

sync with head.

Revision 1.55.2.3 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:22 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.55.2.2: +3 -6 lines
Diff to previous 1.55.2.2 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Sync with head.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Sun Jan 28 19:59:03 2007 UTC (17 years, 2 months ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.58.2.1: +1 -4 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Pull up following revision(s) (requested by skrll in ticket #385):
	sys/dev/pci/if_iwi.c: revision 1.60
Pass the right pointer to firmware_free.
Fixes the DIAGNOSTIC panic reported by Sverre Froyen on current-users.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Jan 23 15:02:50 2007 UTC (17 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.59: +3 -6 lines
Diff to previous 1.59 (colored)

Pass the right pointer to firmware_free.

Fixes the DIAGNOSTIC panic reported by Sverre Froyen on current-users.

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:41 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.55.2.1: +238 -211 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored)

Sync with head.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:44 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.1: +408 -251 lines
Diff to previous 1.10.2.1 (colored)

sync with head.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Fri Dec 29 18:50:40 2006 UTC (17 years, 3 months ago) by riz
Branch: netbsd-4
Changes since 1.58: +238 -211 lines
Diff to previous 1.58 (colored)

Pull up following revision(s) (requested by skrll in ticket #296):
	sys/dev/pci/if_iwireg.h: revision 1.17
	sys/dev/pci/if_iwi.c: revision 1.59
	sys/dev/pci/if_iwivar.h: revision 1.13
- Upgrade to the latest firmware and as a result remove the error log dump.
- Mostly sync with OpenBSD
	- Serialise sending commands to the firmware
	- Remove redundant calls to bpfdetach.
	- use bus_size_t where appropriate and not fetch iobase as it's not
	  used.
	- improve 802.11 radiotap support (correct rx rate)
	- add short preamble flag
	- add short slot time support
	- ignore parity errors (as per the Linux driver)
	- Set Tx power for all channels.
	- disable bluetooth co-existance
	- Check that ni->ni_rates.rs_nrates is not greater than the maximum
	  handled by the firmware.
- Begin syncing with the FreeBSD driver by renaming a few things.
- Upgrade to the latest firmware and as a result remove the error log dump.
- Mostly sync with OpenBSD
	- Serialise sending commands to the firmware
	- Remove redundant calls to bpfdetach.
	- use bus_size_t where appropriate and not fetch iobase as it's not
	  used.
	- improve 802.11 radiotap support (correct rx rate)
	- add short preamble flag
	- add short slot time support
	- ignore parity errors (as per the Linux driver)
	- Set Tx power for all channels.
	- disable bluetooth co-existance
	- Check that ni->ni_rates.rs_nrates is not greater than the maximum
	  handled by the firmware.
- Begin syncing with the FreeBSD driver by renaming a few things.

Revision 1.55.4.3 / (download) - annotate - [select for diffs], Thu Dec 21 15:07:59 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.55.4.2: +238 -211 lines
Diff to previous 1.55.4.2 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Dec 20 16:30:20 2006 UTC (17 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5
Changes since 1.58: +238 -211 lines
Diff to previous 1.58 (colored)

- Upgrade to the latest firmware and as a result remove the error log dump.
- Mostly sync with OpenBSD
	- Serialise sending commands to the firmware
	- Remove redundant calls to bpfdetach.
	- use bus_size_t where appropriate and not fetch iobase as it's not
	  used.
	- improve 802.11 radiotap support (correct rx rate)
	- add short preamble flag
	- add short slot time support
	- ignore parity errors (as per the Linux driver)
	- Set Tx power for all channels.
	- disable bluetooth co-existance
	- Check that ni->ni_rates.rs_nrates is not greater than the maximum
	  handled by the firmware.
- Begin syncing with the FreeBSD driver by renaming a few things.

Revision 1.55.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:43 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.55.4.1: +8 -8 lines
Diff to previous 1.55.4.1 (colored) to branchpoint 1.55 (colored)

sync with head.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:30 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.55: +6 -4 lines
Diff to previous 1.55 (colored)

Sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:08 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base4, yamt-splraiseipl-base3, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.57: +8 -8 lines
Diff to previous 1.57 (colored)

__unused removal on arguments; approved by core.

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:16 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.55: +11 -9 lines
Diff to previous 1.55 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:30 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.56: +9 -8 lines
Diff to previous 1.56 (colored)

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

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

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

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:17 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.44: +227 -81 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.45.2.5 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:22 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45.2.4: +136 -28 lines
Diff to previous 1.45.2.4 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Aug 30 16:43:56 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.54: +10 -10 lines
Diff to previous 1.54 (colored)

fix initializers.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Aug 19 06:32:52 2006 UTC (17 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.53: +128 -20 lines
Diff to previous 1.53 (colored)

Add some sysctl knobs to bring us closer to the FreeBSD driver.

Also sysctl enable the debug message printing (if IWI_DEBUG) is defined.

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:25 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45.2.3: +72 -52 lines
Diff to previous 1.45.2.3 (colored) to branchpoint 1.45 (colored)

sync with head

Revision 1.53 / (download) - annotate - [select for diffs], Wed Aug 9 11:49:41 2006 UTC (17 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

s/printf/aprint_error/ for one message.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Aug 9 11:35:59 2006 UTC (17 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.51: +71 -51 lines
Diff to previous 1.51 (colored)

Adapt iwi(4) to use firmload(9) and remove firmware loading from
iwictl(8).

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jul 21 16:48:51 2006 UTC (17 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.50: +6 -6 lines
Diff to previous 1.50 (colored)

- Use the LWP cached credentials where sane.
- Minor cosmetic changes.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:27 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.49: +10 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Merge from HEAD.

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:21 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45.2.2: +11 -3 lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:04 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10: +1334 -552 lines
Diff to previous 1.10 (colored)

sync with head.

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

Sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jun 17 23:34:27 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, chap-midi-nbase, chap-midi-base
Changes since 1.49: +10 -2 lines
Diff to previous 1.49 (colored)

re-factor the pci powestate api. reviewed by gimpy

Revision 1.44.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:44 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.44.6.1: +8 -5 lines
Diff to previous 1.44.6.1 (colored) next main 1.45 (colored)

Sync with head.

Revision 1.49 / (download) - annotate - [select for diffs], Sun May 28 13:12:42 2006 UTC (17 years, 10 months ago) by blymn
Branch: MAIN
CVS Tags: simonb-timecounters-base, gdamore-uart-base
Branch point for: gdamore-uart
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Clean up bogus whitespace

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:27 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.46: +10 -5 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

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

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:58:00 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45.2.1: +10 -5 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.48 / (download) - annotate - [select for diffs], Sun May 14 21:45:00 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5
Branch point for: chap-midi
Changes since 1.47: +7 -4 lines
Diff to previous 1.47 (colored)

integrate kauth.

Revision 1.45.4.4 / (download) - annotate - [select for diffs], Sat May 6 23:31:28 2006 UTC (17 years, 11 months ago) by christos
Branch: elad-kernelauth
Changes since 1.45.4.3: +3 -2 lines
Diff to previous 1.45.4.3 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:14 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.44: +13 -6 lines
Diff to previous 1.44 (colored)

Sync with head.

Revision 1.45.4.3 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:34 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.45.4.2: +12 -5 lines
Diff to previous 1.45.4.2 (colored) to branchpoint 1.45 (colored)

sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Apr 11 15:42:56 2006 UTC (18 years ago) by rpaulo
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.46: +5 -3 lines
Diff to previous 1.46 (colored)

Coverity ID 2442: check if one can dereference ifp before calling
iwi_stop() in iwi_detach().

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:26 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45: +9 -4 lines
Diff to previous 1.45 (colored)

sync with head.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:39:02 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.45.4.1: +4 -4 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 9 16:02:55 2006 UTC (18 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq
Changes since 1.45: +9 -4 lines
Diff to previous 1.45 (colored)

Save and restore PCI configuration state on suspend/resume.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:44:49 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.45: +6 -4 lines
Diff to previous 1.45 (colored)

Adapt to kernel authorization KPI.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:21 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Feb 21 07:24:07 2006 UTC (18 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Fix from Sam Leffler "correct check for whether wpa is enabled".
wpa_supplicant and static WEP doesn't crash the firmware now. YAY!

Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:42 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.4.4.5 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:58 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.4.4.4: +539 -92 lines
Diff to previous 1.4.4.4 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 5 09:24:54 2005 UTC (18 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.42: +29 -16 lines
Diff to previous 1.42 (colored)

Finally (I hope) fix iwi_ioctl:

	- handle SIOCADDMULTI/SIOCDELMULTI properly, i.e. no need to reset
	  anything as we don't do multicast filters (yet)
	- restructure some code and use an IS_RUNNING macro

Fix iwi_init to set if_flags before the net80211 state machine is kicked
and init to IEEE80211_S_INIT.

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:14 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.37.2.2: +97 -13 lines
Diff to previous 1.37.2.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 29 13:57:00 2005 UTC (18 years, 4 months ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-readahead-base3
Changes since 1.41: +51 -2 lines
Diff to previous 1.41 (colored)

Add support for software controlled LEDs as found on some
boards. Currently, only the associated LED is being used because
that's the only LED my card has. The other two LEDs (OFDM and
activity) can later be set by someone, easily, who owns some board
with that LEDs.

Reviewed by Nick Hudson.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 26 07:42:10 2005 UTC (18 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.40: +42 -5 lines
Diff to previous 1.40 (colored)

Fixes from Steve Woodford:

	- add some missing bus_dmamap_sync operations.
	- don't process other interrupts if we get an error/radio off
	  interrupt.
	- improve command handling - sleep against the descriptor instead
	  of the descriptor set.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Nov 23 20:35:54 2005 UTC (18 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Fix the handling of ENETRESET in iwi_ioctl.

This fixes PR 32143

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 23 20:08:29 2005 UTC (18 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.38: +7 -9 lines
Diff to previous 1.38 (colored)

Correct a bpf tap.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:11 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.37.2.1: +2749 -0 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Nov 18 16:42:22 2005 UTC (18 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-readahead-base2
Changes since 1.37: +368 -74 lines
Diff to previous 1.37 (colored)

Resolve conflicts. Changelog to follow.

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Fri Nov 18 16:23:41 2005 UTC (18 years, 4 months ago) by skrll
Branch: FreeBSD, BERGAMINI
CVS Tags: iwi-1-nov-2005
Changes since 1.1.1.2: +369 -110 lines
Diff to previous 1.1.1.2 (colored)

Import FreeBSD's iwi(4) of 1-nov-2005

Revision 1.37.2.1, Mon Nov 14 12:07:33 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-readahead
Changes since 1.37: +0 -2455 lines
FILE REMOVED

file if_iwi.c was added on branch yamt-readahead on 2005-11-22 16:08:11 +0000

Revision 1.37 / (download) - annotate - [select for diffs], Mon Nov 14 12:07:33 2005 UTC (18 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Don't use DPRINTF for previous. Doh!

Revision 1.36 / (download) - annotate - [select for diffs], Mon Nov 14 11:58:52 2005 UTC (18 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.35: +58 -2 lines
Diff to previous 1.35 (colored)

Dump the error log if we get an IWI_INTR_FATAL_ERROR interrupt.

Revision 1.4.4.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:01 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.3: +884 -536 lines
Diff to previous 1.4.4.3 (colored) to branchpoint 1.4 (colored)

Sync with HEAD. Here we go again...

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Wed Nov 2 11:57:56 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-vop
Changes since 1.30.2.1: +35 -35 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Oct 29 11:00:17 2005 UTC (18 years, 5 months ago) by scw
Branch: MAIN
CVS Tags: yamt-vop-base3
Changes since 1.34: +2 -6 lines
Diff to previous 1.34 (colored)

Expunge an extraneous bus_dmamap_sync() call in iwi_frame_intr(). The entire
frame has already been sync'd by iwi_rx_intr().

Revision 1.34 / (download) - annotate - [select for diffs], Sat Oct 29 10:48:02 2005 UTC (18 years, 5 months ago) by scw
Branch: MAIN
Changes since 1.33: +24 -20 lines
Diff to previous 1.33 (colored)

- Use the DMA map size when calling bus_dmamap_sync(), instead of
  blindly assuming MCLBYTES will DTRT.
- Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() where
  appropriate.
- If we have to coalesce a Tx mbuf chain comprised of more than IWI_MAX_NSEG
  segments, allocate a cluster iff the payload won't fit in the header.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Oct 29 08:44:28 2005 UTC (18 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.32: +9 -9 lines
Diff to previous 1.32 (colored)

Don't byte swap unnecessarily in iwi_read_prom_word. Fix the user instead.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Oct 29 08:10:38 2005 UTC (18 years, 5 months ago) by scw
Branch: MAIN
Changes since 1.31: +7 -7 lines
Diff to previous 1.31 (colored)

Support big-endian hosts:
- Always byte-swap data read from EEPROM.
- Byte-swap firmware image when host is big-endian.

In iwi_tx_start():
- Fix descriptor initialisation bogon (only problematic on big-endian hosts).
- Fix bus_dmamap_sync() 'len' parameter..

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:45 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-vop
Changes since 1.30: +68 -46 lines
Diff to previous 1.30 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 19 20:18:00 2005 UTC (18 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-vop-base2, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.30: +68 -46 lines
Diff to previous 1.30 (colored)

Fix a kernel segfault when a RX interrupt can't allocate a new mbuf.
The change adopts the idea of fxp to drop the incoming packet and panic
if the old mbuf cannot be reloaded. Since the bus_dmamap is allocated
during attach, this is not supposed to happen. Since a lot of code moves
anyway, factor out the allocation of RX ring elements, which is shared
between the init path and the RX interrupt path.

XXX A better fix might be to borrow the mbuf from the logic end of the
XXX ring buffer, but that needs more involved driver changes.

Reviewed by dyoung@ and nick@

Revision 1.30 / (download) - annotate - [select for diffs], Sat Oct 8 06:19:46 2005 UTC (18 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.29: +9 -8 lines
Diff to previous 1.29 (colored)

Use the new scan command for monitor mode as well.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Sep 29 19:57:36 2005 UTC (18 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.28: +4 -10 lines
Diff to previous 1.28 (colored)

Improve interrupt handling:

	- don't disable/enable as we're already at splnet()
	- ack the interrupts early

Fixes my "lost interrupt" problem.

Thanks to dyoung and scw for the suggestions.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Sep 25 15:29:37 2005 UTC (18 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.27: +3 -4 lines
Diff to previous 1.27 (colored)

Whitespace and change a comment slightly.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Sep 25 15:18:21 2005 UTC (18 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.26: +58 -62 lines
Diff to previous 1.26 (colored)

Don't try to bus_dmamem_alloc everytime we want to load the firmware as
it can fail all too easily. Instead bus_dmamap_load the cached copy and
create the command blocks for the device to load it accordingly.

Thanks to scw and mrg for reviewing this.

Closes PR 29892 (I hope).

Revision 1.26 / (download) - annotate - [select for diffs], Sun Sep 25 11:55:05 2005 UTC (18 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.25: +37 -10 lines
Diff to previous 1.25 (colored)

Support hidden ESSID APs.

Use the newer scan command as this one doesn't crash the firmware when
scanning 802.11a channels.

Thanks to scw and blymn for testing.

Closes PR 31295.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Sep 25 06:49:54 2005 UTC (18 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.24: +84 -84 lines
Diff to previous 1.24 (colored)

Resolve conflicts.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Sep 25 06:45:26 2005 UTC (18 years, 6 months ago) by skrll
Branch: FreeBSD, BERGAMINI
CVS Tags: iwi-2005-07-11
Changes since 1.1.1.1: +1101 -818 lines
Diff to previous 1.1.1.1 (colored)

Import of the FreeBSD sources from just after the net80211 merge. There
are no major changes, but this will make future merging easier.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Sep 17 12:40:27 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: iwi-before-import
Changes since 1.23: +32 -32 lines
Diff to previous 1.23 (colored)

KNF. That is change u_intN_t to uintN_t.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Sep 15 19:56:50 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Correct a debug message.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 12 21:15:04 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.21: +5 -5 lines
Diff to previous 1.21 (colored)

Fix spello.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 12 21:11:11 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Use the correct length parameter when capturing rx packets.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 4 06:58:20 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.19: +26 -20 lines
Diff to previous 1.19 (colored)

Re-organise a bit to reduce diff to FreeBSD.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Aug 30 21:18:47 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Let the net80211 layer handle the transition to INIT as well.

Testing by salo and me suggests that PR 31010 is fixed.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 30 21:14:29 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored)

Disestablish the power and shutdown hooks when detaching.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 30 21:05:47 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored)

KNF (and reduced diff to FreeBSD)

Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 27 07:26:47 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

Be explicit about which cards to setup .11a rates for.

hi matt.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 19 14:26:38 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.14: +82 -2 lines
Diff to previous 1.14 (colored)

Add shutdown and power hooks.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 19 08:50:06 2005 UTC (18 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.13: +347 -235 lines
Diff to previous 1.13 (colored)

More sync with the FreeBSD driver.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 1 15:14:54 2005 UTC (18 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.12: +13 -7 lines
Diff to previous 1.12 (colored)

- Match more product ids.
- Don't initialise ic_phytype twice and do initialise ic_state.
- announce available rates.
- mark interface down if firmware crashes for the radio transmitter
  gets turned off.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 30 21:15:51 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.11: +166 -98 lines
Diff to previous 1.11 (colored)

Partially fix. Now it comes up, associates with wep, but something is wrong
with tcp since it crashes in wep encryption when I cvs update.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 7 00:43:01 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Cosmetic: use the idiom &ic->ic_nw_keys[0] instead of ic->ic_nw_keys,
just be a little more parallel to &ic->ic_nw_keys[IEEE80211_WEP_NKID]
on the same line.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 25 04:02:45 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.9: +13 -15 lines
Diff to previous 1.9 (colored)

Let ieee80211_input do WEP-decapsulation.

Make iwi(4) provide a key-allocator that returns valid indices for
the four global keys.  Now net80211 should let the h/w do WEP
encryption/decryption.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 22 06:16:02 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.8: +38 -33 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 20 09:03:44 2005 UTC (18 years, 9 months ago) by sekiya
Branch: MAIN
Changes since 1.7: +33 -5 lines
Diff to previous 1.7 (colored)

Implement monitor mode.  From OpenBSD.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 7 11:33:55 2005 UTC (18 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Sync with pcidevs changes.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:06 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.4: +8 -8 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with -current

Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 13 00:19:44 2005 UTC (19 years ago) by mrg
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

fix an error message: could -> could not

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:11 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

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

Revision 1.4.4.3 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:18 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.2: +7 -7 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:33 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

nuke trailing whitespace

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Mon Jan 17 19:31:24 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.1: +2051 -0 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

Sync with HEAD.

Revision 1.4.4.1, Sat Jan 15 13:27:23 2005 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4: +0 -2051 lines
FILE REMOVED

file if_iwi.c was added on branch ktrace-lwp on 2005-01-17 19:31:24 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 15 13:27:23 2005 UTC (19 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base
Branch point for: yamt-km, ktrace-lwp, kent-audio2
Changes since 1.3: +2 -5 lines
Diff to previous 1.3 (colored)

Remove local PCI_PRODUCT defines

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 11 18:54:18 2005 UTC (19 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.2: +3 -5 lines
Diff to previous 1.2 (colored)

Disable the debug stuff

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 11 18:49:05 2005 UTC (19 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

NetBSD RCSID

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Jan 11 18:24:26 2005 UTC (19 years, 3 months ago) by skrll
Branch: FreeBSD, BERGAMINI
CVS Tags: iwi-netbsd-1-3-2
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

iwi(4) - Intel PRO/Wireless 2200AG/2915ABG driver.
Written by Damien Bergamini, from http://damien.bergamini.free.fr/ipw/

Ad-hoc mode and roaming are not fully implemented yet.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 11 18:24:26 2005 UTC (19 years, 3 months ago) by skrll
Branch: MAIN

Initial revision

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




CVSweb <webmaster@jp.NetBSD.org>