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


Keyword substitution: kv
Default branch: MAIN


Revision 1.35.10.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:28 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -21 lines
Sync w/ HEAD.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jun 16 00:21:18 2021 UTC (3 years, 10 months ago) by riastradh
Branches: 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, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -21 lines
if_attach and if_initialize cannot fail, don't test return value

These were originally made failable back in 2017 when if_initialize
allocated a softint in every interface for link state changes, so
that it could fail gracefully instead of panicking:

https://mail-index.NetBSD.org/source-changes/2017/10/23/msg089053.html

However, this spawned many seldom- or never-tested error branches,
which are risky to have around.  And that softint in every interface
has since been replaced by a single global workqueue, because link
state changes require thread context but not low latency or high
throughput:

https://mail-index.NetBSD.org/source-changes/2020/02/06/msg113759.html

So there is no longer any reason for if_initialize to fail.  (The
subroutine if_stats_init can't fail because percpu_alloc can't fail
either.)

There is a snag: the softint_establish in if_percpuq_create could
fail, potentially leading to bad consequences later on trying to use
the softint.  This change doesn't introduce any new bugs because of
the snag -- if_percpuq_attach was already broken.  However, the snag
can be better addressed without spawning error branches, either by
using a single softint or making softints less scarce.

(Separate commit will change the signatures of if_attach and
if_initialize to return void, scheduled to ride whatever is the next
convenient kernel bump.)

Patch and testing on amd64 and evbmips64-eb by maya@; commit message
soliloquy, and compile-testing on evbppc/i386/earmv7hf, by me.

Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:22 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.32.2.2: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.2: +2 -2 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:06 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.32.2.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.1: +14 -14 lines
Merge changes from current as of 20200406

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:08 2020 UTC (5 years, 1 month ago) by ad
Branches: ad-namecache
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +14 -14 lines
Sync with head.

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Fri Jan 31 11:14:51 2020 UTC (5 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 29 15:06:12 2020 UTC (5 years, 2 months ago) by thorpej
Branches: 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
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +14 -14 lines
Adopt <net/if_stats.h>.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Sep 3 14:26:55 2019 UTC (5 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
 Use unsigned to avoid undefined behavior. Found by kUBSan.

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:11 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Sync with HEAD

Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:50 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.2: +3 -3 lines
Sync with HEAD

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

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:31 2018 UTC (6 years, 7 months ago) by riastradh
Branches: 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
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:45 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +6 -6 lines
Sync with HEAD

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:00 2018 UTC (6 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -6 lines
 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

 This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:50 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Sync with HEAD

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jun 23 06:40:43 2018 UTC (6 years, 10 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-0625
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
constify

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jan 14 18:23:03 2018 UTC (7 years, 3 months ago) by maxv
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +14 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 10 10:10:23 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.26.2.2: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.2: +21 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #427):
	sys/arch/amiga/dev/if_bah_zbus.c: 1.17
	sys/arch/arm/broadcom/bcm53xx_eth.c: 1.30
	sys/arch/powerpc/booke/dev/pq3etsec.c: 1.32
	sys/arch/usermode/dev/if_veth.c: 1.9
	sys/dev/ic/an.c: 1.66
	sys/dev/ic/athn.c: 1.17
	sys/dev/ic/atw.c: 1.162
	sys/dev/ic/bwi.c: 1.33
	sys/dev/ic/dwc_gmac.c: 1.41-1.42
	sys/dev/ic/malo.c: 1.10
	sys/dev/ic/rt2560.c: 1.31
	sys/dev/ic/rt2661.c: 1.36
	sys/dev/ic/rt2860.c: 1.29
	sys/dev/ic/rtw.c: 1.127
	sys/dev/ic/rtwvar.h: 1.46
	sys/dev/ic/smc90cx6.c: 1.71
	sys/dev/ic/smc90cx6var.h: 1.12
	sys/dev/ic/wi.c: 1.244
	sys/dev/pci/if_ipw.c: 1.66
	sys/dev/pci/if_iwi.c: 1.104
	sys/dev/pci/if_iwm.c: 1.76
	sys/dev/pci/if_iwn.c: 1.86
	sys/dev/pci/if_rtwn.c: 1.13
	sys/dev/pci/if_wm.c: 1.541
	sys/dev/pci/if_wpi.c: 1.79
	sys/dev/pci/ixgbe/ixgbe.c: 1.106
	sys/dev/pci/ixgbe/ixv.c: 1.73 via patch
	sys/dev/pcmcia/if_malo_pcmcia.c: 1.15
	sys/dev/scsipi/if_se.c: 1.95
	sys/dev/usb/if_upl.c: 1.60
	sys/net/if.c: 1.396
	sys/net/if.h: 1.241
	sys/net/if_arc.h: 1.23
	sys/net/if_arcsubr.c: 1.78
	sys/net/if_bridge.c: 1.136-1.137
	sys/net/if_etherip.c: 1.39
	sys/net/if_faith.c: 1.56
	sys/net/if_gif.c: 1.131
	sys/net/if_loop.c: 1.96
	sys/net/if_mpls.c: 1.30
	sys/net/if_pppoe.c: 1.129
	sys/net/if_srt.c: 1.27
	sys/net/if_stf.c: 1.102
	sys/net/if_tap.c: 1.100
	sys/net/if_vlan.c: 1.105
	sys/netinet/ip_carp.c: 1.91
	sys/rump/net/lib/libshmif/if_shmem.c: 1.73-1.74
	sys/rump/net/lib/libvirtif/if_virt.c: 1.55-1.56
 if_initalize() and if_attach() failed when resource allocation failed
(e.g. allocating softint). Without this change, it panics. It's bad because
resource shortage really occured when a lot of pseudo interface is created.
To avoid this problem, don't panic and change return value of if_initialize()
and if_attach() to int. Caller fanction will be recover from error cleanly by
checking the return value.
 Return if bah_attach_subr() failed.
 If if_attach() failed in the attach function, return.
- If if_initialize() failed in the attach function, free resources and return.
- Add some missing frees in bridge_clone_destroy().
- KNF
 If error occured in bcmeth_ccb_attach(), free resources and return.
 If error occured in pq3etsec_attach(), free resources and return.
 If error occured in the attach function, free resources and return.
- If if_initialize() failed in athn_attach(), free resources and return.
- Add missing pmf_event_deregister() in athn_detach().
- Free resources correctly on some errors in atw_attach().
- Use apint*() insread of printf() in the attach function.
 If if_initialize() failed in the attach function, return.
- If if_initialize() failed in the attach function, free resources and return.
- Add missing dwc_gmac_free_dma_rings() and mutex_destroy() when attach
   failed.
- If if_initialize() failed in the attach function, free resources and return.
- ifp is always not NULL in iwi_detach(). Check correctly with ifp->if_softc.
- If if_initialize() failed in the attach function, free resources and return.
- Fix error path in the attach function correctly.
 If if_initialize() failed in the attach function, free resources and return.
 If if_attach() failed in the attach function, free resources and return.
 - If if_initialize() failed in the attach function, free resources and return.
 - KNF
 - If if_attach() failed in the attach function, free resources and return.
 - KNF
 Fix compile error.
 Fix compile error.
We don't need '&mii', but just 'mii' for mii_detach().
Don't free sc_rthash twice

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:04 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.1: +4301 -0 lines
update from HEAD

Revision 1.29.2.1
Mon Oct 23 09:31:17 2017 UTC (7 years, 6 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.29: +0 -4301 lines
file rt2860.c was added on branch tls-maxphys on 2017-12-03 11:37:04 +0000

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Oct 23 09:31:17 2017 UTC (7 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Branch point for: tls-maxphys
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +21 -3 lines
 If if_initialize() failed in the attach function, free resources and return.

Revision 1.10.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:03 2017 UTC (7 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.2.6: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.6: +21 -11 lines
Sync with HEAD

Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 1 23:10:00 2017 UTC (7 years, 8 months ago) by snj
Branches: netbsd-8
CVS tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.1: +19 -9 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 25 23:17:20 2017 UTC (7 years, 9 months ago) by maya
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +19 -9 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 25 02:08:31 2017 UTC (7 years, 9 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 20 18:17:25 2017 UTC (7 years, 9 months ago) by maya
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
Use kmem_free for kmem_alloc'd memory

Fixes diagnostic crash on detach, tested by Riccardo Mottola

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue May 23 02:19:14 2017 UTC (7 years, 11 months ago) by ozaki-r
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base
Branch point for: netbsd-8
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:46 2017 UTC (8 years ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +57 -5 lines
Sync with HEAD

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:28 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +57 -5 lines
Sync with HEAD

Revision 1.10.2.6: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:28 2017 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.2.5: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.5: +57 -5 lines
Sync with HEAD

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Feb 2 10:05:35 2017 UTC (8 years, 2 months ago) by nonaka
Branches: 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
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +57 -5 lines
wlan interfaces make interrupt routine running on softint context.

see http://mail-index.netbsd.org/tech-kern/2016/12/06/msg021281.html

tested device:
 * ath at pci: AR5212, AR5424
 * athn at pci: AR9287
 * ipw at pci: 2100BG
 * iwi at pci: 2915ABG
 * iwm at pci: 3165, 7260, 8260
 * iwn at pci: 4945, 6235
 * ral at pci: RT2560
 * rtwn at pci: RTL8192CE

Revision 1.10.2.5: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:01 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.2.4: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.4: +16 -30 lines
Sync with HEAD

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:09 2016 UTC (8 years, 5 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +61 -47 lines
Sync with HEAD

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Oct 8 15:57:11 2016 UTC (8 years, 6 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +16 -30 lines
sync antenna vals with OpenBSD, some changes from FreeBSD.

Revision 1.10.2.4: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:41 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.2.3: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.3: +57 -33 lines
Sync with HEAD

Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Sep 27 20:37:05 2016 UTC (8 years, 7 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20161004
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -4 lines
remove stray debugging, fix debugging message.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Sep 27 20:16:35 2016 UTC (8 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +48 -19 lines
works, tested without privacy, wep and wpa. Soft crypto only for now.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jul 13 00:01:27 2016 UTC (8 years, 9 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -9 lines
Use the proper channel for some things.
Remove debugging now that it all works.

Revision 1.10.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:02 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.2.2: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.2: +455 -66 lines
Sync with HEAD

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jul 8 01:24:53 2016 UTC (8 years, 9 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160907
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +105 -54 lines
more fixes.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jul 7 02:18:05 2016 UTC (8 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -3 lines
kill RAL_DEBUG

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jul 7 01:24:16 2016 UTC (8 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +314 -24 lines
add 539x support from FreeBSD (not working)

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jun 24 16:08:54 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +26 -5 lines
diff reduction with openbsd; turn debugging on.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Jun 17 17:03:20 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -2 lines
ifdef out unused code.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jun 17 15:38:54 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +18 -9 lines
disable hardware crypto for now.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 16 15:51:13 2016 UTC (8 years, 10 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 16 15:21:49 2016 UTC (8 years, 10 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
use M_SETCTX() macro.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jun 16 13:01:08 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +28 -12 lines
more conservating handling of memory.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 16 12:56:49 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -4 lines
fix mbuf handling; we don't crash anymore.

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Sun May 29 08:44:21 2016 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.1: +3822 -0 lines
Sync with HEAD

Revision 1.10.2.1
Thu May 26 05:04:46 2016 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.10: +0 -3822 lines
file rt2860.c was added on branch nick-nhusb on 2016-05-29 08:44:21 +0000

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu May 26 05:04:46 2016 UTC (8 years, 11 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529
Branch point for: nick-nhusb
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Introduce M_CLEARCTX and use it instead of open-coding rcvif

No functional change.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu May 26 05:01:12 2016 UTC (8 years, 11 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Use M_GETCTX

No functional change.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri May 6 18:07:17 2016 UTC (8 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +27 -19 lines
misc cleanups.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 3 00:19:32 2016 UTC (8 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +8 -6 lines
minor nits

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon May 2 17:37:23 2016 UTC (8 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +15 -2 lines
Make it look more like rt2560.c

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 1 10:49:59 2016 UTC (8 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -3 lines
Remove RAL_DEBUG define. Fix amd64 ALL kernel build failure.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Apr 29 02:27:06 2016 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -78 lines
remove in %s\n", __func__ debugging

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Apr 28 12:24:51 2016 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -6 lines
Pass the proper device_t to the attach hook.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Apr 27 19:49:26 2016 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +539 -475 lines
Make RT 2860 for the if_ral_pci.c driver compile.
This work was done by Jeff Rizzo

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Apr 26 21:17:20 2016 UTC (9 years ago) by christos
Branches: MAIN
Unmodified OpenBSD sources (except Ids)

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>