CVS log for src/sys/dev/pcmcia/if_malo_pcmcia.c
Up to [cvs.NetBSD.org] / src / sys / dev / pcmcia
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Feb 9 22:08:36 2024 UTC (10 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +16 -16
lines
fix spelling mistakes, mainly in comments and log messages.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Nov 10 17:19:30 2021 UTC (3 years, 1 month ago) by msaitoh
Branches: 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
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4
lines
s/endianess/endianness/
Revision 1.25.10.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:30 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +6 -15
lines
Sync w/ HEAD.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Jun 16 00:21:19 2021 UTC (3 years, 5 months ago) by riastradh
Branches: 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
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -15
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.18.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:46 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.18.2.2: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.2: +3 -5
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:11 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.1: +5 -5
lines
Merge changes from current as of 20200406
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:15 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +5 -5
lines
Sync with head.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jan 29 13:54:41 2020 UTC (4 years, 10 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.24: preferred, colored
Changes since revision 1.24: +5 -5
lines
Adopt <net/if_stats.h>.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:36 2019 UTC (5 years, 1 month ago) by chs
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.23: preferred, colored
Changes since revision 1.23: +4 -4
lines
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Oct 11 04:25:11 2019 UTC (5 years, 2 months ago) by kre
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -3
lines
Delete unused var (made redundant in previous commit). Unbreak build.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Oct 10 23:37:13 2019 UTC (5 years, 2 months ago) by bad
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -4
lines
if we can memcpy to body->macaddr, we can memcpy from it.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:30 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -6
lines
Sync with HEAD
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Mar 5 08:25:02 2019 UTC (5 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
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
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3
lines
Centralize ETHER_ALIGN into net/if_ether.h. Note that this commit also changes
if_upgt.c's ETHER_ALIGN from 0 to 2.
Revision 1.16.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:42 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.16.2.2: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.2: +4 -4
lines
Synch with HEAD
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jan 8 08:47:21 2019 UTC (5 years, 11 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -4
lines
Whitespace fix.
Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:47 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.1: +3 -3
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Nov 15 10:56:29 2018 UTC (6 years ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-1226,
pgoyette-compat-1126
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Remove the 'copy' argument from m_devget(), unused. While here rename
off0->off.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:57 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -4
lines
Sync with HEAD
Revision 1.13.6.3: download - view: text, markup, annotated - select for diffs
Thu Jul 26 23:55:30 2018 UTC (6 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
Diff to: previous 1.13.6.2: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.2: +3 -4
lines
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.18: download - view: text, markup, annotated - select for diffs
Tue Jun 26 06:48:01 2018 UTC (6 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
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.17: download - view: text, markup, annotated - select for diffs
Mon Jun 25 09:57:25 2018 UTC (6 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -4
lines
Simplify bpf_mtap() call. No functional change.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jan 22 14:40:53 2018 UTC (6 years, 10 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0625,
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.15: preferred, colored
Changes since revision 1.15: +7 -3
lines
Fix memory leak, looks like there is still something wrong here.
Revision 1.13.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 10:10:24 2017 UTC (7 years ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.6.1: +19 -5
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.13.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 09:50:59 2017 UTC (7 years ago) by snj
Branches: netbsd-8
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2
lines
Pull up following revision(s) (requested by msaitoh in ticket #426):
sys/dev/pcmcia/if_malo_pcmcia.c: revision 1.14
two spl leaks, found by Mootja
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:30 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +63 -20
lines
update from HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Oct 23 09:24:34 2017 UTC (7 years, 1 month ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +19 -5
lines
If error occured in the attach function, free resources and return.
Revision 1.7.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:26 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.7.4.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.2: +4 -2
lines
Sync with HEAD
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jun 25 12:25:02 2017 UTC (7 years, 5 months ago) by maxv
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2
lines
two spl leaks, found by Mootja
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:52 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +45 -14
lines
Sync with HEAD
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:38 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +45 -14
lines
Sync with HEAD
Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:45 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.7.4.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.4.1: +45 -18
lines
Sync with HEAD
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Feb 2 10:05:35 2017 UTC (7 years, 10 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,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +45 -14
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.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:40 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -9
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Dec 15 09:28:06 2016 UTC (7 years, 11 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -8
lines
Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input
The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
- Where/When if_ipackets is counted up
- Note that some drivers still update packet statistics in their own
way (periodical update)
- Moved bpf_mtap run in softint
- This makes it easy to MP-ify bpf
Proposed on tech-kern and tech-net
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Dec 8 01:12:01 2016 UTC (8 years ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -3
lines
Apply deferred if_start framework
if_schedule_deferred_start checks if the if_snd queue contains packets,
so drivers don't need to check it by themselves.
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:18 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4
lines
Sync with HEAD
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Mar 11 22:09:54 2016 UTC (8 years, 9 months ago) by macallan
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
fix tpyo
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Mar 11 18:34:15 2016 UTC (8 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
PR/50949: David Binderman: Fix misplaced parens.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:11 2016 UTC (8 years, 10 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Introduce softint-based if_input
This change intends to run the whole network stack in softint context
(or normal LWP), not hardware interrupt context. Note that the work is
still incomplete by this change; to that end, we also have to softint-ify
if_link_state_change (and bpf) which can still run in hardware interrupt.
This change softint-ifies at ifp->if_input that is called from
each device driver (and ieee80211_input) to ensure Layer 2 runs
in softint (e.g., ether_input and bridge_input). To this end,
we provide a framework (called percpuq) that utlizes softint(9)
and percpu ifqueues. With this patch, rxintr of most drivers just
queues received packets and schedules a softint, and the softint
dequeues packets and does rest packet processing.
To minimize changes to each driver, percpuq is allocated in struct
ifnet for now and that is initialized by default (in if_attach).
We probably have to move percpuq to softc of each driver, but it's
future work. At this point, only wm(4) has percpuq in its softc
as a reference implementation.
Additional information including performance numbers can be found
in the thread at tech-kern@ and tech-net@:
http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html
Acknowledgment: riastradh@ greatly helped this work.
Thank you very much!
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:49 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -6
lines
Rebase to HEAD as of a few days ago.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:57 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +4 -4
lines
Rebase.
Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:34 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.2: +6 -8
lines
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.1.6.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:45 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +6 -8
lines
sync with head
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon May 12 02:26:19 2014 UTC (10 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
rmind-smpnet-nbase,
rmind-smpnet-base,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
kill unused array split
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Apr 21 22:40:00 2014 UTC (10 years, 7 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -5
lines
Revert previous and fix correctly. Thanks, joerg
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Apr 21 20:24:21 2014 UTC (10 years, 7 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -3
lines
Insert { ... } to keep gcc happy when DPRINTF() macro is empty.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 21 02:10:40 2014 UTC (10 years, 9 months ago) by christos
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
PR/48606: Lloyd Parkes: Drivers not using ifp->if_input but using ether_input
directly.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jan 28 12:18:56 2014 UTC (10 years, 10 months ago) by martin
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -4
lines
Remove an unused variable
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Dec 17 01:00:16 2013 UTC (10 years, 11 months ago) by joerg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3
lines
Fix memset arguments.
Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:57 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +2148 -0
lines
sync with head
Revision 1.1.4.1
Sat Aug 25 08:20:03 2012 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.1: +0 -2148
lines
file if_malo_pcmcia.c was added on branch yamt-pagecache on 2012-10-30 17:21:57 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Aug 25 08:20:03 2012 UTC (12 years, 3 months ago) by kiyohara
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys,
rmind-smpnet
Add malo@pcmcia.
CVSweb <webmaster@jp.NetBSD.org>