The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35.10.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:28 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.35: +3 -21 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync w/ HEAD.

Revision 1.36 / (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-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, 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.35: +3 -21 lines
Diff to previous 1.35 (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.32.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:22 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.32.2.2: +2 -2 lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.32.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.32.2.1: +14 -14 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored)

Merge changes from current as of 20200406

Revision 1.34.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.34: +14 -14 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with head.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Fri Jan 31 11:14:51 2020 UTC (4 years, 2 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #671):

	sys/dev/pci/if_bce.c: revision 1.53
	sys/dev/pci/pccbbreg.h: revision 1.16
	sys/dev/ic/rt2860.c: revision 1.34
	sys/dev/pci/if_alc.c: revision 1.45
	sys/dev/pci/if_mcx.c: revision 1.5
	sys/dev/pci/if_pcn.c: revision 1.72
	sys/dev/pci/if_ale.c: revision 1.37
	sys/dev/pci/if_age.c: revision 1.65
	sys/dev/ieee1394/fwohcireg.h: revision 1.20
	sys/dev/ieee1394/fwohci.c: revision 1.143
	sys/dev/ieee1394/firewire.c: revision 1.49
	sys/dev/ic/am79900reg.h: revision 1.10

 Use unsigned to avoid undefined behavior. Found by kUBSan.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jan 29 15:06:12 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.34: +14 -14 lines
Diff to previous 1.34 (colored)

Adopt <net/if_stats.h>.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Sep 3 14:26:55 2019 UTC (4 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

 Use unsigned to avoid undefined behavior. Found by kUBSan.

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

Sync with HEAD

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

Sync with HEAD

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

Revision 1.33 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:31 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (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.30.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:45 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.30.2.1: +6 -6 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

Sync with HEAD

Revision 1.32 / (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.31: +6 -6 lines
Diff to previous 1.31 (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.30.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.30: +3 -3 lines
Diff to previous 1.30 (colored)

Sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jun 23 06:40:43 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

constify

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 14 18:23:03 2018 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: 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.29: +14 -6 lines
Diff to previous 1.29 (colored)

Fix awful use of m_defrag, this code just can't work. And don't forget to
return the updated pointer, because otherwise use-after-free.

I couldn't test this change because I don't have the hardware.

Revision 1.26.2.3 / (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-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.26.2.2: +21 -3 lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (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.29.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:04 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.29.2.1: +4301 -0 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

update from HEAD

Revision 1.29.2.1, Mon Oct 23 09:31:17 2017 UTC (6 years, 5 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.29: +0 -4301 lines
FILE REMOVED

file rt2860.c was added on branch tls-maxphys on 2017-12-03 11:37:04 +0000

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

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

Revision 1.10.2.7 / (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.10.2.6: +21 -11 lines
Diff to previous 1.10.2.6 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Tue Aug 1 23:10:00 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.26.2.1: +19 -9 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored)

Pull up following revision(s) (requested by maya in ticket #162):
	sys/dev/pci/if_ral_pci.c: revision 1.24
	sys/dev/ic/rt2860.c: revision 1.28
	sys/dev/ic/rt2860var.h: revision 1.5
enable rt2860 power management code
adjust to fit netbsd:
make suspend,resume functions match desired pmf* prototypes
remove wakeup/activate wrapper functions
avoid jumping to NULL on resume by initializing if_stop
the problem machine has other issues on resume, so there might be further
issues, but it's an improvement over a jump to NULL.
tested by Riccardo Mottola

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 25 23:17:20 2017 UTC (6 years, 8 months ago) by maya
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Changes since 1.27: +19 -9 lines
Diff to previous 1.27 (colored)

enable rt2860 power management code

adjust to fit netbsd:
make suspend,resume functions match desired pmf* prototypes
remove wakeup/activate wrapper functions

avoid jumping to NULL on resume by initializing if_stop

the problem machine has other issues on resume, so there might be further
issues, but it's an improvement over a jump to NULL.

tested by Riccardo Mottola

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Jul 25 02:08:31 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Pull up following revision(s) (requested by maya in ticket #150):
	sys/dev/ic/rt2860.c: revision 1.27
Use kmem_free for kmem_alloc'd memory
Fixes diagnostic crash on detach, tested by Riccardo Mottola

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jul 20 18:17:25 2017 UTC (6 years, 8 months ago) by maya
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

Use kmem_free for kmem_alloc'd memory

Fixes diagnostic crash on detach, tested by Riccardo Mottola

Revision 1.26 / (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, netbsd-8-base
Branch point for: netbsd-8
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (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.24.2.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.24: +57 -5 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:28 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.21.2.1: +57 -5 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync with HEAD

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:28 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.10.2.5: +57 -5 lines
Diff to previous 1.10.2.5 (colored) to branchpoint 1.10 (colored)

Sync with HEAD

Revision 1.25 / (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.24: +57 -5 lines
Diff to previous 1.24 (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.10.2.5 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:01 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.10.2.4: +16 -30 lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored)

Sync with HEAD

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:09 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.21: +61 -47 lines
Diff to previous 1.21 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Sat Oct 8 15:57:11 2016 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.23: +16 -30 lines
Diff to previous 1.23 (colored)

sync antenna vals with OpenBSD, some changes from FreeBSD.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:41 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.10.2.3: +57 -33 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Tue Sep 27 20:37:05 2016 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20161004
Changes since 1.22: +3 -4 lines
Diff to previous 1.22 (colored)

remove stray debugging, fix debugging message.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Sep 27 20:16:35 2016 UTC (7 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.21: +48 -19 lines
Diff to previous 1.21 (colored)

works, tested without privacy, wep and wpa. Soft crypto only for now.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jul 13 00:01:27 2016 UTC (7 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.20: +5 -9 lines
Diff to previous 1.20 (colored)

Use the proper channel for some things.
Remove debugging now that it all works.

Revision 1.10.2.3 / (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.10.2.2: +455 -66 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 8 01:24:53 2016 UTC (7 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907
Changes since 1.19: +105 -54 lines
Diff to previous 1.19 (colored)

more fixes.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jul 7 02:18:05 2016 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.18: +2 -3 lines
Diff to previous 1.18 (colored)

kill RAL_DEBUG

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jul 7 01:24:16 2016 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.17: +314 -24 lines
Diff to previous 1.17 (colored)

add 539x support from FreeBSD (not working)

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 24 16:08:54 2016 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.16: +26 -5 lines
Diff to previous 1.16 (colored)

diff reduction with openbsd; turn debugging on.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 17 17:03:20 2016 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored)

ifdef out unused code.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 17 15:38:54 2016 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.14: +18 -9 lines
Diff to previous 1.14 (colored)

disable hardware crypto for now.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 16 15:51:13 2016 UTC (7 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Use m_set_rcvif, not M_SETCTX.

M_SETCTX is only for driver-private use of rcvif, whereas here we
really mean to set the receiving interface with m_set_rcvif.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 16 15:21:49 2016 UTC (7 years, 10 months ago) by nonaka
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

use M_SETCTX() macro.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 16 13:01:08 2016 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.11: +28 -12 lines
Diff to previous 1.11 (colored)

more conservating handling of memory.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jun 16 12:56:49 2016 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.10: +5 -4 lines
Diff to previous 1.10 (colored)

fix mbuf handling; we don't crash anymore.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sun May 29 08:44:21 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.10.2.1: +3822 -0 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

Sync with HEAD

Revision 1.10.2.1, Thu May 26 05:04:46 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.10: +0 -3822 lines
FILE REMOVED

file rt2860.c was added on branch nick-nhusb on 2016-05-29 08:44:21 +0000

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

Introduce M_CLEARCTX and use it instead of open-coding rcvif

No functional change.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 26 05:01:12 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Use M_GETCTX

No functional change.

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 6 18:07:17 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.7: +27 -19 lines
Diff to previous 1.7 (colored)

misc cleanups.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 3 00:19:32 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.6: +8 -6 lines
Diff to previous 1.6 (colored)

minor nits

Revision 1.6 / (download) - annotate - [select for diffs], Mon May 2 17:37:23 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.5: +15 -2 lines
Diff to previous 1.5 (colored)

Make it look more like rt2560.c

Revision 1.5 / (download) - annotate - [select for diffs], Sun May 1 10:49:59 2016 UTC (7 years, 11 months ago) by nonaka
Branch: MAIN
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

Remove RAL_DEBUG define. Fix amd64 ALL kernel build failure.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Apr 29 02:27:06 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.3: +4 -78 lines
Diff to previous 1.3 (colored)

remove in %s\n", __func__ debugging

Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 28 12:24:51 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Pass the proper device_t to the attach hook.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 27 19:49:26 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.1: +539 -475 lines
Diff to previous 1.1 (colored)

Make RT 2860 for the if_ral_pci.c driver compile.
This work was done by Jeff Rizzo

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 26 21:17:20 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN

Unmodified OpenBSD sources (except Ids)

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>