The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35 / (download) - annotate - [select for diffs], Sun Sep 25 18:43:32 2022 UTC (4 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.34: +1 -2 lines
Diff to previous 1.34 (colored)

Remove unnecessary include of <sys/malloc.h>.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Sep 18 17:54:46 2022 UTC (4 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.33: +13 -17 lines
Diff to previous 1.33 (colored)

Eliminate use of IFF_OACTIVE.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Dec 31 14:25:22 2021 UTC (13 months ago) by riastradh
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

sys: Use if_init wrapper function.

Exception: Not in kern_pmf.c, for the kind of silly reason that it
avoids having kern_pmf.c refer to symbols defined only in net; this
avoids a pain in the rump.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 5 07:26:35 2021 UTC (13 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

s/receieve/receive/

Revision 1.31 / (download) - annotate - [select for diffs], Wed Nov 10 17:19:30 2021 UTC (14 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

s/endianess/endianness/

Revision 1.30 / (download) - annotate - [select for diffs], Sat Sep 11 20:28:06 2021 UTC (16 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Add missing double p and d for stopped and overriden accordingly.
Fix few more typos along the way, mainly in copy-pasted comments.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 27 13:34:20 2020 UTC (2 years, 7 months ago) by jmcneill
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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

prop_data_data_nocopy -> prop_data_value

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:06 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.15.2.1: +571 -673 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Merge changes from current as of 20200406

Revision 1.28 / (download) - annotate - [select for diffs], Thu Apr 2 13:38:50 2020 UTC (2 years, 10 months ago) by nisimura
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

add aprint_debug_dev() call for CI20

Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 2 07:26:45 2020 UTC (2 years, 10 months ago) by skrll
Branch: MAIN
Changes since 1.26: +6 -7 lines
Diff to previous 1.26 (colored)

Fix evmips CI20 build

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 31 07:50:42 2020 UTC (2 years, 10 months ago) by nisimura
Branch: MAIN
Changes since 1.25: +5 -4 lines
Diff to previous 1.25 (colored)

fix negated loop condition. make break when reset.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 31 02:47:34 2020 UTC (2 years, 10 months ago) by nisimura
Branch: MAIN
Changes since 1.24: +5 -3 lines
Diff to previous 1.24 (colored)

add comment to clearify hw nature

Revision 1.24 / (download) - annotate - [select for diffs], Tue Mar 31 02:32:25 2020 UTC (2 years, 10 months ago) by nisimura
Branch: MAIN
Changes since 1.23: +571 -673 lines
Diff to previous 1.23 (colored)


- reorgazine the entire structure to utilise ifmedia(4)/mii(4) and
  redefine starting point of debug.
- nuke duplicated standard MII register definition.  Davicom PHY extension
  is defined in dev/mii/dmphyreg.h

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 29 23:16:52 2020 UTC (2 years, 10 months ago) by nisimura
Branch: MAIN
Changes since 1.22: +36 -39 lines
Diff to previous 1.22 (colored)

reorganise rcv frame address filter code

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:08 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jan 29 14:14:55 2020 UTC (3 years ago) by thorpej
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored)

Adopt <net/if_stats.h>.

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

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Wed May 29 10:07:29 2019 UTC (3 years, 8 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.20: +2 -6 lines
Diff to previous 1.20 (colored)

Even if we don't use MII(4), use the common path of SIOC[GS]IFMEDIA in
sys/net/if_ethersubr.c if we can.
 - Add ec_ifmedia into struct ethercom.
 - ec_mii in struct ethercom is kept and used as it is. It might be used in
   future. Note that some Ethernet drivers which _DOESN'T_ use mii(4) use
   ec_mii for keeping the if_media. Those should be changed in future.

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 28 07:41:48 2019 UTC (3 years, 8 months ago) by msaitoh
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

 Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.

Revision 1.19 / (download) - annotate - [select for diffs], Thu May 23 13:10:51 2019 UTC (3 years, 8 months ago) by msaitoh
Branch: MAIN
Changes since 1.18: +12 -12 lines
Diff to previous 1.18 (colored)

 Whitespace fix (mainly tabify).

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 23 10:57:28 2019 UTC (3 years, 8 months ago) by msaitoh
Branch: MAIN
Changes since 1.17: +9 -8 lines
Diff to previous 1.17 (colored)

-No functional change:
  - KNF
  - u_int*_t -> uint*_t.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Apr 24 08:21:25 2019 UTC (3 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.16: +34 -42 lines
Diff to previous 1.16 (colored)

 KNF. No functional change.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Feb 5 06:17:02 2019 UTC (3 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

 Remove very old IFF_NOTRAILERS flag.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:45 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.12.2.1: +2 -2 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with HEAD

Revision 1.11.8.2 / (download) - annotate - [select for diffs], Thu Jul 26 23:55:29 2018 UTC (4 years, 6 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.11.8.1: +4 -6 lines
Diff to previous 1.11.8.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (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.15 / (download) - annotate - [select for diffs], Tue Jun 26 06:48:00 2018 UTC (4 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (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.12.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:50 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.12: +4 -6 lines
Diff to previous 1.12 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 22 04:41:57 2018 UTC (4 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-0625
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored)

 Simplify like other drivers. NULL check of ifp->if_bpf is done in
bpf_mtap(), so it's not required to do it here.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jun 22 04:17:42 2018 UTC (4 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.12: +3 -4 lines
Diff to previous 1.12 (colored)

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

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:03 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.4: +155 -47 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

update from HEAD

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:03 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.5: +7 -2 lines
Diff to previous 1.5.2.5 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Fri Aug 18 15:08:21 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-6
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pull up following revision(s) (requested by mrg in ticket #1477):
	sys/dev/ic/dm9000.c: revision 1.12
Check for MCLGET failure in dme_alloc_receive_buffer.
From Ilja Van Sprundel.

Revision 1.4.16.1 / (download) - annotate - [select for diffs], Fri Aug 18 15:08:02 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-6-1
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pull up following revision(s) (requested by mrg in ticket #1477):
	sys/dev/ic/dm9000.c: revision 1.12
Check for MCLGET failure in dme_alloc_receive_buffer.
From Ilja Van Sprundel.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Fri Aug 18 15:07:37 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-6-0
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pull up following revision(s) (requested by mrg in ticket #1477):
	sys/dev/ic/dm9000.c: revision 1.12
Check for MCLGET failure in dme_alloc_receive_buffer.
From Ilja Van Sprundel.

Revision 1.4.22.2 / (download) - annotate - [select for diffs], Sat Aug 12 03:45:15 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.4.22.1: +7 -2 lines
Diff to previous 1.4.22.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Pull up following revision(s) (requested by mrg in ticket #1473):
	sys/dev/ic/dm9000.c: revision 1.12
Check for MCLGET failure in dme_alloc_receive_buffer.
From Ilja Van Sprundel.

Revision 1.4.22.1.6.1 / (download) - annotate - [select for diffs], Sat Aug 12 03:44:39 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-7-1
CVS Tags: netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE
Changes since 1.4.22.1: +7 -2 lines
Diff to previous 1.4.22.1 (colored) next main 1.4.22.2 (colored)

Pull up following revision(s) (requested by mrg in ticket #1473):
	sys/dev/ic/dm9000.c: revision 1.12
Check for MCLGET failure in dme_alloc_receive_buffer.
From Ilja Van Sprundel.

Revision 1.4.22.1.2.1 / (download) - annotate - [select for diffs], Sat Aug 12 03:44:15 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-7-0
Changes since 1.4.22.1: +7 -2 lines
Diff to previous 1.4.22.1 (colored) next main 1.4.22.2 (colored)

Pull up following revision(s) (requested by mrg in ticket #1473):
	sys/dev/ic/dm9000.c: revision 1.12
Check for MCLGET failure in dme_alloc_receive_buffer.
From Ilja Van Sprundel.

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Sat Aug 5 04:53:34 2017 UTC (5 years, 5 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.11: +7 -2 lines
Diff to previous 1.11 (colored)

Pull up following revision(s) (requested by spz in ticket #186):
	sys/dev/ic/dm9000.c: revision 1.12
Check for MCLGET failure in dme_alloc_receive_buffer.
From Ilja Van Sprundel.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 29 01:31:20 2017 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, nick-nhusb-base-20170825
Branch point for: pgoyette-compat
Changes since 1.11: +7 -2 lines
Diff to previous 1.11 (colored)

Check for MCLGET failure in dme_alloc_receive_buffer.

From Ilja Van Sprundel.

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:27 2017 UTC (5 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.4: +1 -4 lines
Diff to previous 1.5.2.4 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:31 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.10: +1 -4 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 15 09:28:05 2016 UTC (6 years, 1 month ago) by ozaki-r
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.10: +1 -4 lines
Diff to previous 1.10 (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.5.2.4 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:02 2016 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.3: +2 -2 lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:13 2016 UTC (6 years, 7 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.9: +2 -2 lines
Diff to previous 1.9 (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.5.2.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:09 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.2: +2 -2 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 9 08:32:10 2016 UTC (6 years, 11 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (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.5.2.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:58 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5.2.1: +33 -3 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 12 17:24:02 2015 UTC (7 years, 7 months ago) by macallan
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.7: +33 -3 lines
Diff to previous 1.7 (colored)

actually check the return value from m_gethdr() and deal with errors
now we no longer segfault in dme_allocate_buffer()

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:09 2015 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.5: +114 -37 lines
Diff to previous 1.5 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Sat Mar 14 13:45:43 2015 UTC (7 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.6: +41 -41 lines
Diff to previous 1.6 (colored)

KNF police

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 10 18:01:04 2015 UTC (7 years, 10 months ago) by macallan
Branch: MAIN
Changes since 1.5: +81 -4 lines
Diff to previous 1.5 (colored)

support 8bit mode, needed for ci20

Revision 1.4.22.1 / (download) - annotate - [select for diffs], Fri Jan 2 20:24:14 2015 UTC (8 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, 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
Branch point for: netbsd-7-1, netbsd-7-0
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

Pull up following revision(s) (requested by skrll in ticket #365):
	sys/dev/ic/dm9000.c: revision 1.5
	sys/arch/arm/s3c2xx0/s3c2440_sdi.c: revision 1.3
Appease gcc 4.8 - from Greg Willatt in private email.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Nov 26 22:50:22 2014 UTC (8 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

Appease gcc 4.8 - from Greg Willatt in private email.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:32 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.3: +514 -220 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:16 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.3: +514 -220 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

merge to -current.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 28 08:29:55 2012 UTC (11 years ago) by nisimura
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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, netbsd-7-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-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-7, netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.3: +514 -220 lines
Diff to previous 1.3 (colored)


- add DM9000 internal PHY manipulating routines.
- now capable of auto-negotiation, use this as default media selection.
- add multicast filter support.
- code cleanup.

Code update from Paul Fleischer.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:39 2011 UTC (11 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

dependant -> dependent

Revision 1.2.10.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:14 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2.10.1: +839 -0 lines
Diff to previous 1.2.10.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:56 2010 UTC (12 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2.4.1: +839 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD (-D20101022).

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:06 2010 UTC (12 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2.2.1: +839 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head

Revision 1.2.10.1, Fri Sep 10 08:58:36 2010 UTC (12 years, 4 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.2: +0 -839 lines
FILE REMOVED

file dm9000.c was added on branch rmind-uvmplock on 2011-03-05 20:53:14 +0000

Revision 1.2.4.1, Fri Sep 10 08:58:36 2010 UTC (12 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2: +0 -839 lines
FILE REMOVED

file dm9000.c was added on branch uebayasi-xip on 2010-10-22 07:21:56 +0000

Revision 1.2.2.1, Fri Sep 10 08:58:36 2010 UTC (12 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.2: +0 -839 lines
FILE REMOVED

file dm9000.c was added on branch yamt-nfs-mp on 2010-10-09 03:32:06 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Sep 10 08:58:36 2010 UTC (12 years, 4 months ago) by ahoka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-nfs-mp, uebayasi-xip, rmind-uvmplock
Changes since 1.1: +1 -5 lines
Diff to previous 1.1 (colored)

remove debug leftover

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 8 22:01:29 2010 UTC (12 years, 4 months ago) by ahoka
Branch: MAIN

Driver for Davicom DM9000 ethernet chips.

Written by Paul Fleischer, minor modifications by me.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>