The NetBSD Project

CVS log for src/sys/dev/ic/an.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.76 / (download) - annotate - [select for diffs], Tue Sep 21 14:40:14 2021 UTC (2 years, 6 months ago) by christos
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.75: +3 -3 lines
Diff to previous 1.75 (colored)

don't opencode kauth_cred_get()

Revision 1.73.10.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:28 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.73: +4 -8 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Sync w/ HEAD.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Jun 16 00:21:18 2021 UTC (2 years, 10 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.74: +3 -7 lines
Diff to previous 1.74 (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.74 / (download) - annotate - [select for diffs], Fri Jun 11 05:00:41 2021 UTC (2 years, 10 months ago) by jdc
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

Add a missing htole16() around the length passed to bpf_mtap2().
Allows `tcpdump` to work on BE machines without panicing the kernel.

Revision 1.68.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:21 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.68.2.2: +7 -6 lines
Diff to previous 1.68.2.2 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:06 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.68.2.1: +13 -13 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored)

Merge changes from current as of 20200406

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:08 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.72: +13 -13 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Jan 29 14:09:58 2020 UTC (4 years, 2 months 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Branch point for: thorpej-i2c-spi-conf
Changes since 1.72: +13 -13 lines
Diff to previous 1.72 (colored)

Adopt <net/if_stats.h>.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Sep 23 17:37:04 2019 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.71: +6 -6 lines
Diff to previous 1.71 (colored)

Move the timeout check out of the loop, otherwise it is never reached.
Found by the lgtm bot.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Sep 20 11:29:47 2019 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
Changes since 1.70: +5 -4 lines
Diff to previous 1.70 (colored)

Don't use the same iterator in a nested loop. (How could this work?)

Found by the lgtm bot.

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

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Tue Feb 5 06:17:02 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

 Remove very old IFF_NOTRAILERS flag.

Revision 1.66.2.3 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:49 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.66.2.2: +3 -3 lines
Diff to previous 1.66.2.2 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

Sync with HEAD

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

Revision 1.69 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:31 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (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.66.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:44 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.66.2.1: +8 -6 lines
Diff to previous 1.66.2.1 (colored) to branchpoint 1.66 (colored)

Sync with HEAD

Revision 1.65.2.2 / (download) - annotate - [select for diffs], Thu Jul 26 23:55:29 2018 UTC (5 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.65.2.1: +3 -5 lines
Diff to previous 1.65.2.1 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #938):
	sys/arch/acorn32/podulebus/if_ie.c: revision 1.41
	sys/arch/amiga/dev/if_es.c: revision 1.58
	sys/arch/amiga/dev/if_qn.c: revision 1.45
	sys/arch/arm/at91/at91emac.c: revision 1.20
	sys/arch/arm/ep93xx/epe.c: revision 1.37
	sys/arch/emips/ebus/if_le_ebus.c: revision 1.14
	sys/arch/emips/ebus/if_le_ebus.c: revision 1.15
	sys/arch/mac68k/dev/if_mc.c: revision 1.46
	sys/arch/macppc/dev/am79c950.c: revision 1.39
	sys/arch/newsmips/apbus/if_sn.c: revision 1.40
	sys/arch/next68k/dev/mb8795.c: revision 1.59
	sys/arch/playstation2/dev/if_smap.c: revision 1.25
	sys/arch/playstation2/dev/if_smap.c: revision 1.26
	sys/arch/sun2/dev/if_ec.c: revision 1.28
	sys/arch/sun3/dev/if_ie.c: revision 1.63
	sys/arch/x68k/dev/if_ne_intio.c: revision 1.19
	sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.75
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.63
	sys/dev/bi/if_ni.c: revision 1.45
	sys/dev/cadence/if_cemac.c: revision 1.12
	sys/dev/ic/am7990.c: revision 1.78
	sys/dev/ic/am79900.c: revision 1.27
	sys/dev/ic/an.c: revision 1.67
	sys/dev/ic/cs89x0.c: revision 1.40
	sys/dev/ic/dm9000.c: revision 1.13
	sys/dev/ic/dm9000.c: revision 1.14
	sys/dev/ic/dp8390.c: revision 1.88
	sys/dev/ic/elink3.c: revision 1.141
	sys/dev/ic/elinkxl.c: revision 1.122
	sys/dev/ic/hme.c: revision 1.98
	sys/dev/ic/i82586.c: revision 1.77
	sys/dev/ic/lance.c: revision 1.53
	sys/dev/ic/mb86950.c: revision 1.27
	sys/dev/ic/mb86960.c: revision 1.86
	sys/dev/ic/mtd803.c: revision 1.34
	sys/dev/ic/pdq_ifsubr.c: revision 1.59
	sys/dev/ic/rrunner.c: revision 1.86
	sys/dev/ic/seeq8005.c: revision 1.58
	sys/dev/ic/sgec.c: revision 1.47
	sys/dev/ic/smc90cx6.c: revision 1.72
	sys/dev/ic/smc91cxx.c: revision 1.96
	sys/dev/ic/tropic.c: revision 1.49
	sys/dev/ic/wi.c: revision 1.245
	sys/dev/isa/if_eg.c: revision 1.93
	sys/dev/isa/if_el.c: revision 1.95
	sys/dev/isa/if_iy.c: revision 1.101
	sys/dev/ofw/ofnet.c: revision 1.58
	sys/dev/pci/if_alc.c: revision 1.27
	sys/dev/pci/if_de.c: revision 1.152
	sys/dev/pci/if_fpa.c: revision 1.61
	sys/dev/pci/if_jme.c: revision 1.34
	sys/dev/pci/if_tl.c: revision 1.108
	sys/dev/pci/if_vte.c: revision 1.19
	sys/dev/pci/ixgbe/ixgbe.h: revision 1.50
	sys/dev/pcmcia/if_cnw.c: revision 1.62
	sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.17
	sys/dev/pcmcia/if_ray.c: revision 1.89
	sys/dev/pcmcia/if_xi.c: revision 1.81
	sys/dev/pcmcia/mhzc.c: revision 1.51
	sys/dev/pcmcia/xirc.c: revision 1.34
	sys/dev/qbus/if_de.c: revision 1.33
	sys/dev/qbus/if_qe.c: revision 1.78
	sys/dev/qbus/if_qt.c: revision 1.22
	sys/dev/sbus/be.c: revision 1.87
	sys/dev/sbus/qe.c: revision 1.68
	sys/dev/scsipi/if_se.c: revision 1.96
	sys/dev/usb/if_atu.c: revision 1.59
	sys/net/if_l2tp.c: revision 1.28 via patch
	sys/net/if_ppp.c: revision 1.160
It's not required to include net/bpfdesc.h. Remove it.
--
Simplify like other drivers. NULL check of ifp->if_bpf is done in
bpf_mtap(), so it's not required to do it here.
--
Remove duplicated inclusion of net/bpf.h.
--
Remove duplicated inclusion of net/bpf.h.
--
Simplify bpf_mtap() call. No functional change.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Jun 26 06:48:00 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.67: +8 -6 lines
Diff to previous 1.67 (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.66.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:50 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.66: +3 -5 lines
Diff to previous 1.66 (colored)

Sync with HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Fri Jun 22 04:17:41 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.66: +3 -5 lines
Diff to previous 1.66 (colored)

 It's not required to include net/bpfdesc.h. Remove it.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Sun Dec 10 10:10:23 2017 UTC (6 years, 4 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.65: +26 -14 lines
Diff to previous 1.65 (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.59.18.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:03 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.59.18.1: +88 -25 lines
Diff to previous 1.59.18.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

update from HEAD

Revision 1.66 / (download) - annotate - [select for diffs], Mon Oct 23 09:24:34 2017 UTC (6 years, 5 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.65: +26 -14 lines
Diff to previous 1.65 (colored)

 If error occured in the attach function, free resources and return.

Revision 1.61.6.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:03 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.61.6.3: +3 -3 lines
Diff to previous 1.61.6.3 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Revision 1.65 / (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.64: +3 -3 lines
Diff to previous 1.64 (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.63.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:46 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.63: +63 -12 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with HEAD

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:28 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.63: +63 -12 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with HEAD

Revision 1.61.6.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:27 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.61.6.2: +63 -12 lines
Diff to previous 1.61.6.2 (colored) to branchpoint 1.61 (colored)

Sync with HEAD

Revision 1.64 / (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.63: +63 -12 lines
Diff to previous 1.63 (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.61.6.2 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:02 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.61.6.1: +3 -3 lines
Diff to previous 1.61.6.1 (colored) to branchpoint 1.61 (colored)

Sync with HEAD

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:13 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (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.61.6.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:09 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.61: +6 -6 lines
Diff to previous 1.61 (colored)

Sync with HEAD

Revision 1.61.4.1 / (download) - annotate - [select for diffs], Mon Feb 16 21:25:34 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.61: +6 -6 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Pull up following revision(s) (requested by maxv in ticket #520):
	sys/ufs/chfs/ebh.c: revision 1.6
	sys/dev/sdmmc/sdmmc_mem.c: revision 1.33
	sys/dev/ic/aic7xxx.c: revision 1.132
	sys/fs/nfs/common/krpc_subr.c: revision 1.2
	sys/modules/lua/lua.c: revision 1.16
	sys/fs/udf/udf_subr.c: revision 1.128
	sys/ufs/chfs/chfs_scan.c: revision 1.6
	sys/dev/ic/an.c: revision 1.62

Fix six memory leaks and two inconsistencies.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Feb 7 04:11:06 2015 UTC (9 years, 2 months ago) by christos
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.61: +6 -6 lines
Diff to previous 1.61 (colored)

set error. Reported by;
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4

Revision 1.59.18.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:37 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.59: +4 -11 lines
Diff to previous 1.59 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.59.8.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:21 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.59: +4 -11 lines
Diff to previous 1.59 (colored) next main 1.60 (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.59.22.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.59: +4 -11 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:09 2014 UTC (10 years, 1 month ago) by pooka
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, riastradh-drm2-base3, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.60: +3 -8 lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Thu Sep 12 11:42:26 2013 UTC (10 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.59: +3 -5 lines
Diff to previous 1.59 (colored)

Eliminate (mostly) unused "ostate" variable

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

sync with head.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:20 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.58: +7 -9 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

sync with head

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:12 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.58: +7 -9 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Apr 5 07:19:33 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.58: +7 -9 lines
Diff to previous 1.58 (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.51.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:28 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.51.4.2: +18 -42 lines
Diff to previous 1.51.4.2 (colored) to branchpoint 1.51 (colored)

sync with head

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jan 19 22:06:24 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.57: +7 -20 lines
Diff to previous 1.57 (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.57 / (download) - annotate - [select for diffs], Thu Nov 12 19:28:59 2009 UTC (14 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.56: +13 -24 lines
Diff to previous 1.56 (colored)

Simplify activation hook.  Replace each use of sc_invalid by either
calling config_deactivate(9) or device_is_active(9).

Revision 1.51.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:22 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.51.4.1: +3 -3 lines
Diff to previous 1.51.4.1 (colored) to branchpoint 1.51 (colored)

sync with head

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:22 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.54: +8 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

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

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

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

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:40 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.51: +31 -26 lines
Diff to previous 1.51 (colored)

sync with head.

Revision 1.52.4.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:25 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.52.4.1: +7 -4 lines
Diff to previous 1.52.4.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Apr 15 20:44:25 2009 UTC (15 years ago) by elad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.54: +7 -4 lines
Diff to previous 1.54 (colored)

Remove a few KAUTH_GENERIC_ISSUSER in favor of more descriptive
alternatives.

Discussed on tech-kern:

	http://mail-index.netbsd.org/tech-kern/2009/04/11/msg004798.html

Input from ad@, christos@, dyoung@, tsutsui@.

Okay ad@.

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:54 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.52: +5 -3 lines
Diff to previous 1.52 (colored)

Sync with HEAD.

Revision 1.50.10.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:54 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50.10.2: +3 -1 lines
Diff to previous 1.50.10.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD.

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

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

Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:11 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Nov 7 00:20:02 2008 UTC (15 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.52: +4 -2 lines
Diff to previous 1.52 (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.50.10.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:21 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50.10.1: +21 -21 lines
Diff to previous 1.50.10.1 (colored) to branchpoint 1.50 (colored)

Sync with HEAD.

Revision 1.51.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:03 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.51: +23 -23 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.51.8.1 / (download) - annotate - [select for diffs], Fri Jul 18 16:37:32 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.51: +23 -23 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with head.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jul 3 18:10:07 2008 UTC (15 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.51: +23 -23 lines
Diff to previous 1.51 (colored)

split device/softc (tested with an@pcmcia)

Revision 1.50.10.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:18 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.50: +24 -25 lines
Diff to previous 1.50 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Apr 8 12:07:25 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.50: +24 -25 lines
Diff to previous 1.50 (colored)

use aprint_*_dev and device_xname

Revision 1.35.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:53 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35.2.5: +2 -37 lines
Diff to previous 1.35.2.5 (colored) next main 1.36 (colored)

sync with head

Revision 1.48.16.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:45 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.48.16.1: +2 -37 lines
Diff to previous 1.48.16.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

sync with HEAD

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:15 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.49: +2 -37 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:27:38 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.49: +2 -37 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:57 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.49: +2 -37 lines
Diff to previous 1.49 (colored)

Merge jmcneill-pm branch.

Revision 1.48.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:26:22 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

sync with HEAD

Revision 1.35.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:30 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35.2.4: +3 -3 lines
Diff to previous 1.35.2.4 (colored)

sync with head.

Revision 1.48.14.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:36 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.48.14.1: +3 -3 lines
Diff to previous 1.48.14.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (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.48.20.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:30 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:13 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with head.

Revision 1.49 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:47 2007 UTC (16 years, 6 months ago) by ad
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.48: +3 -3 lines
Diff to previous 1.48 (colored)

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

Revision 1.48.14.1 / (download) - annotate - [select for diffs], Tue Sep 4 15:10:13 2007 UTC (16 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.48: +2 -37 lines
Diff to previous 1.48 (colored)

Convert an(4) to new style power management.

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

sync with head.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:26 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:49 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored)

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

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

sync with head.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:35 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.45.4.1: +3 -3 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Sync with head.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jan 4 18:44:45 2007 UTC (17 years, 3 months ago) by elad
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:01 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35.2.1: +6 -7 lines
Diff to previous 1.35.2.1 (colored)

sync with head.

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

Sync with head.

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:43 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Sat Oct 7 14:30:27 2006 UTC (17 years, 6 months ago) by peter
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Fix compilation with AN_DEBUG (use %zu instead of %d).

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:50:01 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.38: +54 -5 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head

Revision 1.40.2.4 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:10 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.40.2.3: +4 -5 lines
Diff to previous 1.40.2.3 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jul 21 16:48:48 2006 UTC (17 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.44: +4 -5 lines
Diff to previous 1.44 (colored)

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

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:01 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.40.2.2: +5 -5 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored)

sync with head.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:52 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.35: +63 -8 lines
Diff to previous 1.35 (colored)

sync with head.

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

Sync with head.

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

Sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Fri May 26 12:31:22 2006 UTC (17 years, 10 months ago) by blymn
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Changes since 1.43: +5 -5 lines
Diff to previous 1.43 (colored)

Clean up bogus whitespace

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

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

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:57:41 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.40.2.1: +6 -3 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

sync with head.

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

integrate kauth.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:54 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.38: +51 -4 lines
Diff to previous 1.38 (colored)

Sync with head.

Revision 1.40.4.3 / (download) - annotate - [select for diffs], Wed Apr 19 03:24:37 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.40.4.2: +12 -13 lines
Diff to previous 1.40.4.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head.

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

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 12 03:34:37 2006 UTC (18 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, peter-altq-base, elad-kernelauth-base
Branch point for: peter-altq
Changes since 1.41: +8 -9 lines
Diff to previous 1.41 (colored)

NetBSD authorities apprehended and confiscated these leading spaces
pursuant to KNF regulation 100145.92, "All your leading ASCII-SP
is belong to us."  The code was set up the ASCII-TAB.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Mar 12 03:07:50 2006 UTC (18 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.40: +6 -6 lines
Diff to previous 1.40 (colored)

Bug fix: fields in the radiotap header are little-endian, make it so.

Revision 1.40.4.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:39:01 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.40.4.1: +3 -3 lines
Diff to previous 1.40.4.1 (colored) to branchpoint 1.40 (colored)

generic_authorize() -> kauth_authorize_generic().

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

Adapt to kernel authorization KPI.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:12 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.38: +52 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Feb 20 16:50:37 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Feb 19 08:20:02 2006 UTC (18 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.38: +50 -2 lines
Diff to previous 1.38 (colored)

Add radiotap support to an(4).  From Eric Auge.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:25 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

merge ktrace-lwp.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Thu Dec 1 22:20:47 2005 UTC (18 years, 4 months ago) by riz
Branch: netbsd-2-1
Changes since 1.29: +35 -17 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Pull up following revision(s) (requested by jnemeth in ticket #10159):
	sys/dev/ic/an.c: revision 1.33 via patch
	sys/dev/ic/anvar.h: revision 1.9 via patch
Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame."  Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.
Add a sysctl for enabling/disabling debugging.
The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap.  The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.
While we're here, pad some RIDs to the length that new firmware
really expects.
Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches.  Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Thu Dec 1 22:20:42 2005 UTC (18 years, 4 months ago) by riz
Branch: netbsd-2-0
Changes since 1.29: +35 -17 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Pull up following revision(s) (requested by jnemeth in ticket #10159):
	sys/dev/ic/an.c: revision 1.33 via patch
	sys/dev/ic/anvar.h: revision 1.9 via patch
Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame."  Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.
Add a sysctl for enabling/disabling debugging.
The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap.  The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.
While we're here, pad some RIDs to the length that new firmware
really expects.
Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches.  Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Thu Dec 1 19:39:26 2005 UTC (18 years, 4 months ago) by riz
Branch: netbsd-2
Changes since 1.29: +35 -17 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Pull up following revision(s) (requested by jnemeth in ticket #10159):
	sys/dev/ic/an.c: revision 1.33 via patch
	sys/dev/ic/anvar.h: revision 1.9 via patch
Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame."  Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.
Add a sysctl for enabling/disabling debugging.
The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap.  The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.
While we're here, pad some RIDs to the length that new firmware
really expects.
Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches.  Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.

Revision 1.24.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:04:13 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.2.6: +55 -47 lines
Diff to previous 1.24.2.6 (colored) next main 1.25 (colored)

Sync with HEAD. Here we go again...

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jul 10 19:04:00 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.36: +9 -5 lines
Diff to previous 1.36 (colored)

Bring an_newstate up-to-date with net80211 conventions.  Now an(4)
works again.  Jonathan Perkins reported the bug and tested the
patch.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jul 6 23:58:14 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

Historically, an(4), ath(4), atw(4), rtw(4), and wi(4) have printed
out their modes and rates at boot.  Revert to the historical
behavior.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jun 22 06:15:51 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.34: +46 -43 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Mon Jun 20 02:49:18 2005 UTC (18 years, 10 months ago) by atatat
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Change the rest of the sysctl subsystem to use const consistently.
The __UNCONST macro is now used only where necessary and the RW macros
are gone.  Most of the changes here are consumers of the
sysctl_createv(9) interface that now takes a pair of const pointers
which used not to be.

Revision 1.24.2.6 / (download) - annotate - [select for diffs], Mon Jan 17 19:30:39 2005 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.2.5: +163 -17 lines
Diff to previous 1.24.2.5 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jan 15 11:01:46 2005 UTC (19 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2
Changes since 1.32: +163 -17 lines
Diff to previous 1.32 (colored)

Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame."  Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.

Add a sysctl for enabling/disabling debugging.

The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap.  The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.

While we're here, pad some RIDs to the length that new firmware
really expects.

Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches.  Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.

Revision 1.24.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:27:52 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.2.4: +2 -2 lines
Diff to previous 1.24.2.4 (colored)

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:35 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.2.2: +33 -32 lines
Diff to previous 1.24.2.2 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 24 00:53:29 2004 UTC (19 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.31: +33 -32 lines
Diff to previous 1.31 (colored)

Use ANSI function decls and more use of static.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:23 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24.2.1: +5 -2 lines
Diff to previous 1.24.2.1 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Aug 10 00:57:20 2004 UTC (19 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.30: +5 -2 lines
Diff to previous 1.30 (colored)

Make the node table into an LRU cache: least-recently used nodes
are at the end of the node queue.  Change the reference-counting
discipline: ni->ni_refcnt indicates how many times net80211 has
granted ni to the driver.  Every node in the table with ni_refcnt=0
is eligible to be garbage-collected.  The mere presence of a node
in the table does not any longer indicate its auth/assoc state;
nodes have a ni_state variable, now.  A sysctl,
net.link.ieee80211.maxnodecache, controls the maximum LRU cache
size.

While I am here, patch ieee80211_find_node_for_beacon to do a "best
match" by bssid/ssid/channel, not a "perfect match."  This keeps
net80211 from caching duplicate nodes in the table.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:46:10 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.24: +1096 -1274 lines
Diff to previous 1.24 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 23 08:34:11 2004 UTC (19 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +9 -9 lines
Diff to previous 1.29 (colored)

IEEE80211_F_WEPON -> IEEE80211_F_PRIVACY

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 28 15:07:52 2004 UTC (20 years, 2 months ago) by onoe
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-1, netbsd-2-0, netbsd-2
Changes since 1.28: +1096 -1285 lines
Diff to previous 1.28 (colored)

Adopt to new 802.11 framework.
Add support of version 5.30.17 firmware of PCMCIA 350 series.
MPI350 mini-PCI is NOT YET supported.
MONITOR mode is still not yet working.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Nov 2 11:07:45 2003 UTC (20 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Fix some typos. From Tom Cosgrove via jmc@openbsd.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 13 06:45:32 2003 UTC (20 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.26: +6 -3 lines
Diff to previous 1.26 (colored)

Switch an(4) to using the header files in the new 802.11 layer.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Sep 5 05:38:44 2003 UTC (20 years, 7 months ago) by itojun
Branch: MAIN
Changes since 1.25: +10 -2 lines
Diff to previous 1.25 (colored)

add DIAGNOSTIC check for AN_DEFAULT_xx

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jul 6 07:54:43 2003 UTC (20 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Prepare to consolidate 802.11 media handling (which is handled in
code duplicated by each driver, now) into the 802.11 framework.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 31 00:26:27 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.23: +9 -8 lines
Diff to previous 1.23 (colored)

Use aprint_*().

Revision 1.10.2.11 / (download) - annotate - [select for diffs], Fri Oct 18 02:41:47 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.10.2.10: +3 -3 lines
Diff to previous 1.10.2.10 (colored) next main 1.11 (colored)

Catch up to -current.

Revision 1.19.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:38:48 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.19.2.3: +3 -3 lines
Diff to previous 1.19.2.3 (colored) next main 1.20 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.23 / (download) - annotate - [select for diffs], Fri Sep 27 15:37:15 2002 UTC (21 years, 6 months ago) by provos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.10.2.10 / (download) - annotate - [select for diffs], Fri Jul 12 01:40:07 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.9: +2 -3 lines
Diff to previous 1.10.2.9 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.10.2.9 / (download) - annotate - [select for diffs], Wed Jul 10 17:22:25 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.8: +4 -6 lines
Diff to previous 1.10.2.8 (colored)

Whitespace.

Revision 1.10.2.8 / (download) - annotate - [select for diffs], Mon Jun 24 22:09:52 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.7: +6 -6 lines
Diff to previous 1.10.2.7 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:46:13 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.19.2.2: +2 -7 lines
Diff to previous 1.19.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.10.2.7 / (download) - annotate - [select for diffs], Mon Apr 1 07:45:17 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.6: +1 -6 lines
Diff to previous 1.10.2.6 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.22 / (download) - annotate - [select for diffs], Sat Mar 23 03:40:24 2002 UTC (22 years ago) by gmcgarry
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw
Changes since 1.21: +2 -7 lines
Diff to previous 1.21 (colored)

Remove FreeBSD RCSID.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:54:13 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.19.2.1: +4 -1 lines
Diff to previous 1.19.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:16 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.5: +4 -1 lines
Diff to previous 1.10.2.5 (colored)

Catch up to -current.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 13 13:14:34 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

add/cleanup RCSID

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Fri Aug 24 04:20:04 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.4: +6 -3 lines
Diff to previous 1.10.2.4 (colored)

A few files and lwp/proc conversions I missed in the last big update.
GENERIC runs again.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:15 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.3: +1135 -988 lines
Diff to previous 1.10.2.3 (colored)

Catch up with -current.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:56 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.19: +11 -11 lines
Diff to previous 1.19 (colored)

update to -current

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jul 18 02:06:44 2001 UTC (22 years, 9 months ago) by onoe
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.19: +11 -11 lines
Diff to previous 1.19 (colored)

Do not copy first keys into four key entries; the bug was introduced in 1.17

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 7 15:53:17 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

bcopy -> memcpy

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jul 7 05:35:39 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

bcmp -> memcmp

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 29 11:24:42 2001 UTC (22 years, 9 months ago) by onoe
Branch: MAIN
Changes since 1.16: +168 -119 lines
Diff to previous 1.16 (colored)

Experimental support for LEAP, which is cisco's implementation of IEEE802.11
EAP in aironet firmware.  Currently it seems that only cisco's RADIUS server
implements EAP for IEEE802.11, and the function is not tested at all.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 28 10:34:17 2001 UTC (22 years, 9 months ago) by onoe
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

Do not re-enable after resume if interface is marked down.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Thu Jun 21 20:02:13 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.2: +25 -6 lines
Diff to previous 1.10.2.2 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 21 12:49:06 2001 UTC (22 years, 10 months ago) by onoe
Branch: MAIN
Changes since 1.14: +1096 -997 lines
Diff to previous 1.14 (colored)

Add support for persistent key.
Fix promiscuous mode, taken from FreeBSD.
Fix to re-enable the card after suspend/resume.
Reflect current operational rate to if_media interface.
Avoid duplicate copy in transmit.
Move most of debug printfs into IFF_DEBUG.
Disable ANCACHE - designed for IPv4 only and no one use it.
Add IFF_ALLMULTI flags, as we don't have multicast filter.
Convert bzero/bcopy to memset/memcpy.
... sorry for jumbo commit.

Revision 1.14 / (download) - annotate - [select for diffs], Mon May 28 00:46:35 2001 UTC (22 years, 10 months ago) by onoe
Branch: MAIN
Changes since 1.13: +7 -1 lines
Diff to previous 1.13 (colored)

add a comment why IFF_PROMISC is handled separately for SIOCSIFFLAGS:
	Handle special case for IFF_PROMISC.  If only IFF_PROMISC
	flag is changed, do not call an_init() to avoid initiating
	reassociation to another access point.  It is really
	helpful for tcpdump(8).

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 24 08:12:28 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

minor style

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 24 08:06:04 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.11: +14 -1 lines
Diff to previous 1.11 (colored)

correct multicast filter handling.  without this, we cannot run IPv6 on an*.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Mon Apr 9 01:56:08 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.10.2.1: +5 -1 lines
Diff to previous 1.10.2.1 (colored)

Catch up with -current.

Revision 1.5.4.4 / (download) - annotate - [select for diffs], Mon Mar 12 13:30:14 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5.4.3: +5 -1 lines
Diff to previous 1.5.4.3 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Sun Mar 11 22:21:06 2001 UTC (23 years, 1 month ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.5.2.3: +5 -1 lines
Diff to previous 1.5.2.3 (colored) next main 1.6 (colored)

Pull up revision 1.11 (requested by thorpej):
  Make sure data after header is aligned, so that this works on
  architectures with strict alignment constraints.  Fixes PR#12356.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 8 16:33:43 2001 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

Make sure data after the header is aligned, so that this works on
systems with strict alignment constraints.
kern/12356, Feico Dillema <feico@pasta.cs.uit.no>.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:34 2001 UTC (23 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:33 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5.4.2: +203 -96 lines
Diff to previous 1.5.4.2 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 21 15:37:18 2000 UTC (23 years, 3 months ago) by onoe
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.9: +28 -15 lines
Diff to previous 1.9 (colored)

improve an_cmd() slightly:
- strip unnecessary loop to get command result status
- ack command after clearing busy bit

XXX: it still sometimes get timeout to get status(0xff50) or statistics(0xff68)
     probably due to heavy load of firmware in receiving.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 19 08:00:55 2000 UTC (23 years, 4 months ago) by onoe
Branch: MAIN
Changes since 1.8: +107 -83 lines
Diff to previous 1.8 (colored)

cleanup attach procedure, use tsleep() instead of long delay (and ignore
timeouts).
stop driver after suspend.
XXX: should use command interrupt but no document...
XXX: status update sometimes failed perhaps due to collision.
	(RID 0xff50 or 0xff68 access failed)

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Sat Dec 16 02:21:55 2000 UTC (23 years, 4 months ago) by he
Branch: netbsd-1-5
Changes since 1.5.2.2: +21 -1 lines
Diff to previous 1.5.2.2 (colored)

Apply patch (requested by he):
  Fix multicast packet reception; handle corresponding ioctl().

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 14 06:27:24 2000 UTC (23 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +4 -3 lines
Diff to previous 1.7 (colored)

ALTQ'ify.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 14 04:11:26 2000 UTC (23 years, 4 months ago) by onoe
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

Add PCI version of Aironet, not tested at all.
ISA/ISApnp version won't come since I don't know about isa...

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 13 20:21:10 2000 UTC (23 years, 4 months ago) by onoe
Branch: MAIN
Changes since 1.5: +71 -2 lines
Diff to previous 1.5 (colored)

Support 80211NWKEY and 80211POWER ioctl.

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:00 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5.4.1: +1603 -0 lines
Diff to previous 1.5.4.1 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Tue Dec 12 21:25:42 2000 UTC (23 years, 4 months ago) by he
Branch: netbsd-1-5
Changes since 1.5.2.1: +1608 -0 lines
Diff to previous 1.5.2.1 (colored)

Pull up revisions 1.1-1.3 (plus patch, new, requested by he):
  Add a driver for an(4), Aironet and Cisco wireless pcmcia cards.

Revision 1.5.4.1, Tue Dec 12 05:34:02 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5: +0 -1603 lines
FILE REMOVED

file an.c was added on branch thorpej_scsipi on 2000-12-13 15:50:00 +0000

Revision 1.5.2.1, Tue Dec 12 05:34:02 2000 UTC (23 years, 4 months ago) by he
Branch: netbsd-1-5
Changes since 1.5: +0 -1603 lines
FILE REMOVED

file an.c was added on branch netbsd-1-5 on 2000-12-12 21:25:42 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 12 05:34:02 2000 UTC (23 years, 4 months ago) by onoe
Branch: MAIN
Branch point for: thorpej_scsipi, netbsd-1-5
Changes since 1.4: +33 -13 lines
Diff to previous 1.4 (colored)

add support(?) for PC4500 which is a 2Mbps product.
Though ifconfig -m no longer show 5Mbps/11Mbps for PC4500 by this fix,
I cannot find how to set fixed transmit speed to the firmware.
FreeBSD version of driver apparently ignore the value set by ancontrol(8).

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 12 05:11:15 2000 UTC (23 years, 4 months ago) by onoe
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

cleanup headers: remove duplicate definition, split reg.h/var.h.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 12 01:32:34 2000 UTC (23 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

s/Ethernet/802.11/ when printing the address.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 11 23:58:55 2000 UTC (23 years, 4 months ago) by onoe
Branch: MAIN
Changes since 1.1: +9 -19 lines
Diff to previous 1.1 (colored)

To fix panic at "ifconfig an0 down",
define ANCACHE in if_an_pcmcia.c (XXX)
try not to access registers after interface down.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Dec 11 23:16:50 2000 UTC (23 years, 4 months ago) by onoe
Branch: MAIN

Port 'an' driver for Aironet PC4500/PC4800 IEEE802.11 card from FreeBSD.
This is very adhoc work for IETF meeting.
- Since it seems that 'an' and 'wi' have similar hardware, low level
  functions should be shared.
- There are PCI/ISA cards of Aironet but not supported yet.
- The wiconfig interface is changed so that wiconfig cannot be used.
- 'ancontrol' of FreeBSD is not ported.
- Only infrastructure mode is tested.
- WEP is not supported.

Though I only have an Aironet card, Cisco card should be expected to work.

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>