Up to [cvs.NetBSD.org] / src / sys / arch / arm / at91
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.35 / (download) - annotate - [select for diffs], Tue Sep 27 06:36:41 2022 UTC (18 months, 3 weeks ago) by skrll
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.34: +2 -3
lines
Diff to previous 1.34 (colored) to selected 1.4 (colored)
Remove unnecessary sys/malloc.h include
Revision 1.34 / (download) - annotate - [select for diffs], Sat Sep 17 19:32:01 2022 UTC (19 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +6 -7
lines
Diff to previous 1.33 (colored) to selected 1.4 (colored)
Eliminate use of IFF_OACTIVE.
Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 4 06:57:51 2021 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.32: +3 -3
lines
Diff to previous 1.32 (colored) to selected 1.4 (colored)
Remove unnecessary duplicate bit define in mask PR port-arm/50687
Revision 1.21.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:28 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.21.2.1: +10 -31
lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.4 (colored)
Merge changes from current as of 20200406
Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:17 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.29: +10 -31
lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.4 (colored)
Sync with head.
Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 19 02:51:54 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
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
Changes since 1.31: +4 -25
lines
Diff to previous 1.31 (colored) to selected 1.4 (colored)
When a media change is requested, don't just all (*if_init)(). That's needlessly disruptive and incompatible with future locking changes. We can use both ether_mediachange() and ether_mediastatus() instead.
Revision 1.31 / (download) - annotate - [select for diffs], Tue Feb 11 15:09:14 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.30: +4 -4
lines
Diff to previous 1.30 (colored) to selected 1.4 (colored)
More <net/if_stats.h>
Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 4 07:35:34 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.29: +6 -6
lines
Diff to previous 1.29 (colored) to selected 1.4 (colored)
Adopt <net/if_stats.h>
Revision 1.21.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:52 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.21: +131 -117
lines
Diff to previous 1.21 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.29 / (download) - annotate - [select for diffs], Tue May 28 07:41:46 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119,
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,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Changes since 1.28: +4 -2
lines
Diff to previous 1.28 (colored) to selected 1.4 (colored)
Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.
Revision 1.28 / (download) - annotate - [select for diffs], Thu May 23 16:05:01 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.27: +16 -15
lines
Diff to previous 1.27 (colored) to selected 1.4 (colored)
- Fix compile error (remove unused variable). - KNF. - ac -> ec - Remove extra RCS Id.
Revision 1.27 / (download) - annotate - [select for diffs], Thu May 23 13:10:50 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.26: +29 -29
lines
Diff to previous 1.26 (colored) to selected 1.4 (colored)
Whitespace fix (mainly tabify).
Revision 1.26 / (download) - annotate - [select for diffs], Thu May 23 10:51:38 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.25: +80 -65
lines
Diff to previous 1.25 (colored) to selected 1.4 (colored)
No functional change: - Simplify MII structure initialization and reference. - u_int*_t -> uint*_t. - KNF
Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 22 08:05:00 2019 UTC (4 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.24: +4 -8
lines
Diff to previous 1.24 (colored) to selected 1.4 (colored)
On drivers which use MII(4) and have hook SIOC[GS]IFMEDIA which just pass to ifmedia_ioctl(), the hook is not required because ether_ioctl has it (if_ethersubr.c rev. 1.160). These drivers don't return ENETRESET in ifmedia_ioctl(), so no functional change.
Revision 1.24 / (download) - annotate - [select for diffs], Tue Feb 5 06:17:00 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: isaki-audio2-base,
isaki-audio2
Changes since 1.23: +4 -4
lines
Diff to previous 1.23 (colored) to selected 1.4 (colored)
Remove very old IFF_NOTRAILERS flag.
Revision 1.19.12.3 / (download) - annotate - [select for diffs], Sat Jan 26 21:59:59 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.19.12.2: +13 -9
lines
Diff to previous 1.19.12.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.23 / (download) - annotate - [select for diffs], Tue Jan 22 03:42:24 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.22: +13 -9
lines
Diff to previous 1.22 (colored) to selected 1.4 (colored)
Change MII PHY read/write API from: int (*mii_readreg_t)(device_t, int, int); void (*mii_writereg_t)(device_t, int, int, int); to: int (*mii_readreg_t)(device_t, int, int, uint16_t *); int (*mii_writereg_t)(device_t, int, int, uint16_t); Now we can test if a read/write operation failed or not by the return value. In 802.3 spec says that the PHY shall not respond to read/write transaction to the unimplemented register(22.2.4.3). Detecting timeout can be used to check whether a register is implemented or not (if the register conforms to the spec). ukphy(4) can be used this for MII_MMDACR and MII_MMDAADR. Note that I noticed that the following code do infinite loop in the read/wirte function. If it accesses unimplemented PHY register, it will hang. It should be fixed: arm/at91/at91emac.c arm/ep93xx/epe.c arm/omap/omapl1x_emac.c mips/ralink/ralink_eth.c arch/powerpc/booke/dev/pq3etsec.c(read) dev/cadence/if_cemac.c <- hkenken dev/ic/lan9118.c Tested with the following device: axe+ukphy axe+rgephy axen+rgephy (tested by Andrius V) wm+atphy wm+ukphy wm+igphy wm+ihphy wm+makphy sk+makphy sk+brgphy sk+gentbi msk+makphy sip+icsphy sip+ukphy re+rgephy bge+brgphy bnx+brgphy gsip+gphyter rtk+rlphy fxp+inphy (tested by Andrius V) tlp+acphy ex+exphy epic+qsphy vge+ciphy (tested by Andrius V) vr+ukphy (tested by Andrius V) vte+ukphy (tested by Andrius V) Not tested (MAC): arm:at91emac arm:cemac arm:epe arm:geminigmac arm:enet arm:cpsw arm:emac(omac) arm:emac(sunxi) arm:npe evbppc:temac macppc:bm macppc:gm mips:aumac mips:ae mips:cnmac mips:reth mips:sbmac playstation2:smap powerpc:tsec powerpc:emac(ibm4xx) sgimips:mec sparc:be sf ne(ax88190, dl10019) awge ep gem hme smsh mtd sm age alc ale bce cas et jme lii nfe pcn ste stge tl xi aue mue smsc udav url Not tested (PHY): amhphy bmtphy dmphy etphy glxtphy ikphy iophy lxtphy nsphyter pnaphy rdcphy sqphy tlphy tqphy urlphy
Revision 1.19.12.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:27 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.19.12.1: +4 -8
lines
Diff to previous 1.19.12.1 (colored) to branchpoint 1.19 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.19.6.1 / (download) - annotate - [select for diffs], Thu Jul 26 23:55:28 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.19: +4 -6
lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.4 (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.22 / (download) - annotate - [select for diffs], Sun Jul 15 05:16:41 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728
Changes since 1.21: +3 -7
lines
Diff to previous 1.21 (colored) to selected 1.4 (colored)
Retire ipkdb entirely. The option was removed from the config files yesterday. ok kamil christos
Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 26 06:47:57 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base
Branch point for: phil-wifi
Changes since 1.20: +4 -4
lines
Diff to previous 1.20 (colored) to selected 1.4 (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.19.12.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:39 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.19: +4 -6
lines
Diff to previous 1.19 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.20 / (download) - annotate - [select for diffs], Fri Jun 22 04:17:40 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.19: +4 -6
lines
Diff to previous 1.19 (colored) to selected 1.4 (colored)
It's not required to include net/bpfdesc.h. Remove it.
Revision 1.11.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:51 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.11.2.1: +19 -22
lines
Diff to previous 1.11.2.1 (colored) next main 1.12 (colored) to selected 1.4 (colored)
update from HEAD
Revision 1.13.14.6 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:29 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.13.14.5: +6 -6
lines
Diff to previous 1.13.14.5 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.18.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:23 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.18: +6 -6
lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.17.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:10 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.17.2.1: +6 -6
lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 20 08:25:57 2017 UTC (7 years, 1 month ago) by ozaki-r
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: pgoyette-compat,
netbsd-8
Changes since 1.18: +6 -6
lines
Diff to previous 1.18 (colored) to selected 1.4 (colored)
Apply deferred if_start to more drivers...
Revision 1.13.14.5 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:03 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.13.14.4: +3 -4
lines
Diff to previous 1.13.14.4 (colored) to branchpoint 1.13 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:11 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.17: +3 -4
lines
Diff to previous 1.17 (colored) to selected 1.4 (colored)
Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 15 09:28:02 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107,
nick-nhusb-base-20170204,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.17: +3 -4
lines
Diff to previous 1.17 (colored) to selected 1.4 (colored)
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.13.14.4 / (download) - annotate - [select for diffs], Sat Jul 9 20:24:50 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.13.14.3: +5 -5
lines
Diff to previous 1.13.14.3 (colored) to branchpoint 1.13 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:10 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: 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,
localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.16: +4 -4
lines
Diff to previous 1.16 (colored) to selected 1.4 (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.13.14.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:29:55 2016 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.13.14.2: +4 -4
lines
Diff to previous 1.13.14.2 (colored) to branchpoint 1.13 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 9 08:32:07 2016 UTC (8 years, 2 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Changes since 1.15: +4 -4
lines
Diff to previous 1.15 (colored) to selected 1.4 (colored)
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.13.14.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:37 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.13.14.1: +31 -28
lines
Diff to previous 1.13.14.1 (colored) to branchpoint 1.13 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 21 13:31:30 2015 UTC (8 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226,
nick-nhusb-base-20150921
Changes since 1.14: +14 -11
lines
Diff to previous 1.14 (colored) to selected 1.4 (colored)
Deal with unused variable warnings
Revision 1.13.14.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:55 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.13: +3 -8
lines
Diff to previous 1.13 (colored) to selected 1.4 (colored)
Sync with HEAD
Revision 1.14 / (download) - annotate - [select for diffs], Wed May 20 09:17:17 2015 UTC (8 years, 11 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.13: +3 -8
lines
Diff to previous 1.13 (colored) to selected 1.4 (colored)
Remove leftover use of AF_NS and NS option Unnecessary NETISR_NS is also removed.
Revision 1.10.2.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:45 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.10.2.1: +13 -13
lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.4 (colored)
sync with (a bit old) head
Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:03 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.11: +15 -15
lines
Diff to previous 1.11 (colored) to selected 1.4 (colored)
Resync to 2012-11-19 00:00:00 UTC
Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 12 18:00:36 2012 UTC (11 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: nick-nhusb
Changes since 1.12: +13 -13
lines
Diff to previous 1.12 (colored) to selected 1.4 (colored)
C99 types
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:18:58 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.10: +14 -11
lines
Diff to previous 1.10 (colored) to selected 1.4 (colored)
sync with head
Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 27 17:17:36 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.11: +5 -5
lines
Diff to previous 1.11 (colored) to selected 1.4 (colored)
split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 22 14:32:49 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.10: +12 -9
lines
Diff to previous 1.10 (colored) to selected 1.4 (colored)
Fix mii_statchg to take a 'struct ifnet *' instead of device_t. This fixes problem with a common MDIO bus used for multiple interfaces. Some drivers converted to CFATTACL_DECL_NEW.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 1 19:31:17 2011 UTC (12 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
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,
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
Branch point for: yamt-pagecache
Changes since 1.9: +4 -4
lines
Diff to previous 1.9 (colored) to selected 1.4 (colored)
#include <sys/bus.h> instead of <machine/bus.h>.
Revision 1.1.20.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:40 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.20.2: +5 -7
lines
Diff to previous 1.1.20.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.4 (colored)
sync with head.
Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:16:38 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.8: +5 -7
lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.4 (colored)
sync with head
Revision 1.8.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:08 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.8: +5 -7
lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.4 (colored)
Sync with HEAD.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 5 07:19:29 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base7,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.8: +5 -7
lines
Diff to previous 1.8 (colored) to selected 1.4 (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.1.20.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:04 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.20.1: +6 -20
lines
Diff to previous 1.1.20.1 (colored) to branchpoint 1.1 (colored) to selected 1.4 (colored)
sync with head
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 22 08:56:04 2010 UTC (14 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored) to selected 1.4 (colored)
Unify the name of the device property to hold a MAC address - there was no clear majority for either "mac-addr" vs. "mac-address", but a quick gallup poll among developers selected the latter.
Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 19 22:06:19 2010 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.6: +5 -12
lines
Diff to previous 1.6 (colored) to selected 1.4 (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.6 / (download) - annotate - [select for diffs], Fri Oct 23 06:53:13 2009 UTC (14 years, 5 months ago) by snj
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.5: +3 -10
lines
Diff to previous 1.5 (colored) to selected 1.4 (colored)
Drop 3rd and 4th clauses. Approved by all copyright holders: joff and Embedtronics Oy's owners (Jukka Marin and Sami Kantoluoto).
Revision 1.2.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:16:13 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.2: +15 -30
lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.4 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.1.20.1 / (download) - annotate - [select for diffs], Mon May 4 08:10:39 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +901 -0
lines
Diff to previous 1.1 (colored) to selected 1.4 (colored)
sync with head.
Revision 1.2.6.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:33:43 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.2: +15 -30
lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.4 (colored)
Sync with HEAD.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:09 2009 UTC (15 years, 1 month 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,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base
Changes since 1.4: +4 -4
lines
Diff to previous 1.4 (colored)
bzero -> memset
Revision 1.4 / (download) - annotate - [selected], Sat Mar 14 21:04:05 2009 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.3: +5 -9
lines
Diff to previous 1.3 (colored)
ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:01 2009 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.2: +12 -23
lines
Diff to previous 1.2 (colored) to selected 1.4 (colored)
Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
Revision 1.1.16.1 / (download) - annotate - [select for diffs], Sun Sep 28 10:39:48 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1: +916 -0
lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.4 (colored)
Sync with HEAD.
Revision 1.2.4.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:19 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.2.4.1: +916 -0
lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.4 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.1.22.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:51 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.1: +916 -0
lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.4 (colored)
Sync with head.
Revision 1.2.4.1, Thu Jul 3 01:15:38 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.2: +0 -916
lines
FILE REMOVED
file at91emac.c was added on branch wrstuden-revivesa on 2008-09-18 04:33:19 +0000
Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 3 01:15:38 2008 UTC (15 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
nick-hppapmap-base2,
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,
mjf-devfs2-base,
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-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: wrstuden-revivesa,
nick-hppapmap,
jym-xensuspend
Changes since 1.1: +916 -0
lines
Diff to previous 1.1 (colored) to selected 1.4 (colored)
Add AT91 support. (XXX need to finish timecounter support).
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sat Nov 10 02:56:31 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-nb4-arm
Changes since 1.1: +921 -0
lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.4 (colored)
Add AT91 support from Sami Kantoluoto Add TI OMAP2430 support from Marty Fouts @ Danger Inc
Revision 1.1, Sat Nov 10 02:56:30 2007 UTC (16 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
mjf-devfs-base,
mjf-devfs,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
simonb-wapbl,
mjf-devfs2,
matt-nb4-arm
FILE REMOVED
file at91emac.c was initially added on branch matt-nb4-arm.