The NetBSD Project

CVS log for src/sys/dev/pci/if_tl.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.125 / (download) - annotate - [select for diffs], Fri Sep 2 23:48:10 2022 UTC (5 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.124: +2 -3 lines
Diff to previous 1.124 (colored)

Remove unnecessary inclusion of <net/netisr.h>.

Revision 1.124 / (download) - annotate - [select for diffs], Wed Feb 23 21:54:41 2022 UTC (11 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.123: +3 -3 lines
Diff to previous 1.123 (colored)

fix various typos in comments, mainly immediatly/immediately/,
as well shared and recently fixed typos in OpenBSD code by Jonathan Grey.

Revision 1.123 / (download) - annotate - [select for diffs], Mon Sep 6 20:55:08 2021 UTC (16 months, 4 weeks ago) by andvar
Branch: MAIN
Changes since 1.122: +4 -4 lines
Diff to previous 1.122 (colored)

fix typos in word "segment" and two additional typos in if_tl.c.

Revision 1.122 / (download) - annotate - [select for diffs], Tue Jul 7 06:27:37 2020 UTC (2 years, 7 months ago) by msaitoh
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.121: +4 -3 lines
Diff to previous 1.121 (colored)

No functional change:

 - u_int32_t -> uint32_t
 - KNF.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Jun 11 02:39:30 2020 UTC (2 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored)

Update for proplib(3) API changes.

Revision 1.109.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:26 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.109.2.2: +0 -1 lines
Diff to previous 1.109.2.2 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.109.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:09 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.109.2.1: +13 -39 lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored)

Merge changes from current as of 20200406

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

Sync with head.

Revision 1.120 / (download) - annotate - [select for diffs], Fri Feb 28 06:53:22 2020 UTC (2 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.119: +3 -13 lines
Diff to previous 1.119 (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 ether_mediachange() instead.

Revision 1.119 / (download) - annotate - [select for diffs], Thu Jan 30 05:24:53 2020 UTC (3 years ago) by thorpej
Branch: MAIN
Changes since 1.118: +11 -9 lines
Diff to previous 1.118 (colored)

Adopt <net/if_stats.h>.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Dec 22 23:23:32 2019 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.117: +3 -21 lines
Diff to previous 1.117 (colored)

Cleanup i2c bus acquire / release, centralizing all of the logic into
iic_acquire_bus() / iic_release_bus().  "acquire" and "release" hooks
no longer need to be provided by back-end controller drivers (only if
they need special handling, e.g. powering on the i2c controller).
This results in the removal of a bunch of rendundant code from each
back-end controller driver.

Assert that we are not in hard interrupt context in iic_acquire_bus(),
iic_exec(), and iic_release_bus().

Revision 1.107.2.2 / (download) - annotate - [select for diffs], Wed Nov 6 10:04:47 2019 UTC (3 years, 3 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.107.2.1: +2 -3 lines
Diff to previous 1.107.2.1 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

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

	sys/arch/arm/broadcom/bcm53xx_eth.c: revision 1.39
	sys/dev/pcmcia/if_xi.c: revision 1.91
	sys/dev/ic/aic6915.c: revision 1.40
	sys/dev/pci/if_tl.c: revision 1.117
	sys/arch/arm/gemini/gemini_gmac.c: revision 1.18
	sys/dev/ic/elinkxl.c: revision 1.133
	sys/dev/pci/if_ste.c: revision 1.57
	sys/dev/pci/if_alc.c: revision 1.43
	sys/dev/pci/if_stge.c: revision 1.72
	sys/dev/pci/if_ale.c: revision 1.34
	sys/dev/pci/if_age.c: revision 1.62
	sys/dev/pci/if_txp.c: revision 1.60
	sys/dev/ic/i82557.c: revision 1.156
	sys/dev/pci/if_vte.c: revision 1.27
	sys/arch/powerpc/booke/dev/pq3etsec.c: revision 1.47
	sys/arch/arm/gemini/if_gpn.c: revision 1.13

 if_percpuq(9) and ether_input() automatically increment if_ipackets, so don't add number of
RX frames from device's statistics counter to if_ipackets to avoid double
count.

Revision 1.116.2.1 / (download) - annotate - [select for diffs], Wed Nov 6 09:59:38 2019 UTC (3 years, 3 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.116: +2 -3 lines
Diff to previous 1.116 (colored) next main 1.117 (colored)

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

	sys/arch/arm/broadcom/bcm53xx_eth.c: revision 1.39
	sys/dev/pcmcia/if_xi.c: revision 1.91
	sys/dev/ic/aic6915.c: revision 1.40
	sys/dev/pci/if_tl.c: revision 1.117
	sys/arch/arm/gemini/gemini_gmac.c: revision 1.18
	sys/dev/ic/elinkxl.c: revision 1.133
	sys/dev/pci/if_ste.c: revision 1.57
	sys/dev/pci/if_alc.c: revision 1.43
	sys/dev/pci/if_stge.c: revision 1.72
	sys/dev/pci/if_ale.c: revision 1.34
	sys/dev/pci/if_age.c: revision 1.62
	sys/dev/pci/if_txp.c: revision 1.60
	sys/dev/ic/i82557.c: revision 1.156
	sys/dev/pci/if_vte.c: revision 1.27
	sys/arch/powerpc/booke/dev/pq3etsec.c: revision 1.47
	sys/arch/arm/gemini/if_gpn.c: revision 1.13

 if_percpuq(9) and ether_input() automatically increment if_ipackets, so don't add number of
RX frames from device's statistics counter to if_ipackets to avoid double
count.

Revision 1.117 / (download) - annotate - [select for diffs], Wed Oct 30 07:26:28 2019 UTC (3 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.116: +2 -3 lines
Diff to previous 1.116 (colored)

 if_percpuq(9) automatically increments if_ipackets, so don't add number of
RX frames from device's statistics counter to if_ipackets to avoid double
count.

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

Sync with HEAD

Revision 1.116 / (download) - annotate - [select for diffs], Tue May 28 07:41:49 2019 UTC (3 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Changes since 1.115: +6 -3 lines
Diff to previous 1.115 (colored)

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

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

 Whitespace fix (mainly tabify).

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

No functional change:
 - Simplify MII structure initialization and reference.
 - u_int*_t -> uint*_t.
 - KNF

Revision 1.113 / (download) - annotate - [select for diffs], Wed Apr 24 08:54:35 2019 UTC (3 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.112: +2 -4 lines
Diff to previous 1.112 (colored)

 Remove extra test of SIOCSIFMEDIA.

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

 Remove very old IFF_NOTRAILERS flag.

Revision 1.107.8.4 / (download) - annotate - [select for diffs], Sat Jan 26 22:00:07 2019 UTC (4 years ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.107.8.3: +15 -11 lines
Diff to previous 1.107.8.3 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

Sync with HEAD

Revision 1.111 / (download) - annotate - [select for diffs], Tue Jan 22 03:42:27 2019 UTC (4 years ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.110: +15 -11 lines
Diff to previous 1.110 (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.107.8.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:50 2018 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.107.8.2: +4 -4 lines
Diff to previous 1.107.8.2 (colored) to branchpoint 1.107 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.110 / (download) - annotate - [select for diffs], Sun Dec 9 11:14:02 2018 UTC (4 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.109: +4 -4 lines
Diff to previous 1.109 (colored)

use pci_intr_establish_xname() everywhere

Revision 1.107.8.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:46 2018 UTC (4 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.107.8.1: +3 -3 lines
Diff to previous 1.107.8.1 (colored) to branchpoint 1.107 (colored)

Sync with HEAD

Revision 1.107.2.1 / (download) - annotate - [select for diffs], Thu Jul 26 23:55:30 2018 UTC (4 years, 6 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.107: +2 -4 lines
Diff to previous 1.107 (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.109 / (download) - annotate - [select for diffs], Tue Jun 26 06:48:01 2018 UTC (4 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, 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.108: +3 -3 lines
Diff to previous 1.108 (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.107.8.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:52 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.107: +2 -4 lines
Diff to previous 1.107 (colored)

Sync with HEAD

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

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

Revision 1.98.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:08 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.98.2.2: +10 -11 lines
Diff to previous 1.98.2.2 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored)

update from HEAD

Revision 1.101.4.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:05 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.101.4.4: +5 -6 lines
Diff to previous 1.101.4.4 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD

Revision 1.107 / (download) - annotate - [select for diffs], Tue May 23 02:19:14 2017 UTC (5 years, 8 months ago) by ozaki-r
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, 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
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.106: +5 -6 lines
Diff to previous 1.106 (colored)

Apply deferred if_start to more drivers

And annotate some XXX_start as it runs in softint to clarify that
it doesn't need deferred if_start.

Revision 1.101.4.4 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:30 2017 UTC (6 years ago) by skrll
Branch: nick-nhusb
Changes since 1.101.4.3: +2 -3 lines
Diff to previous 1.101.4.3 (colored) to branchpoint 1.101 (colored)

Sync with HEAD

Revision 1.105.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:33 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.105: +2 -3 lines
Diff to previous 1.105 (colored) next main 1.106 (colored)

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

Revision 1.106 / (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, nick-nhusb-base-20170204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.105: +2 -3 lines
Diff to previous 1.105 (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.101.4.3 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:04 2016 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.101.4.2: +7 -6 lines
Diff to previous 1.101.4.2 (colored) to branchpoint 1.101 (colored)

Sync with HEAD

Revision 1.105 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:41 2016 UTC (6 years, 7 months ago) by msaitoh
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.104: +6 -5 lines
Diff to previous 1.104 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:14 2016 UTC (6 years, 7 months ago) by ozaki-r
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (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.101.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:10 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.101.4.1: +3 -3 lines
Diff to previous 1.101.4.1 (colored) to branchpoint 1.101 (colored)

Sync with HEAD

Revision 1.103 / (download) - annotate - [select for diffs], Tue Feb 9 08:32:11 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.102: +3 -3 lines
Diff to previous 1.102 (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.101.4.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:09 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

Sync with HEAD

Revision 1.102 / (download) - annotate - [select for diffs], Mon Apr 13 16:33:25 2015 UTC (7 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored)

Convert sys/dev to use <sys/rndsource.h>.

Revision 1.98.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:42 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.98.2.1: +3 -2 lines
Diff to previous 1.98.2.1 (colored) to branchpoint 1.98 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Aug 10 16:44:36 2014 UTC (8 years, 5 months ago) by tls
Branch: MAIN
CVS Tags: tls-maxphys-base, 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
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (colored)

Merge tls-earlyentropy branch into HEAD.

Revision 1.96.8.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:25 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.96.8.2: +5 -4 lines
Diff to previous 1.96.8.2 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

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.99.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:40 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.99: +4 -3 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

sync with head

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Mon Apr 7 03:37:33 2014 UTC (8 years, 10 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
   RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
   and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
   places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
   that had stubbed out code, other minor cleanups.

Revision 1.100 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:25 2014 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.99: +4 -3 lines
Diff to previous 1.99 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.98.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:18 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

resync from head

Revision 1.99 / (download) - annotate - [select for diffs], Sat Mar 30 03:21:08 2013 UTC (9 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

remove trailing whitespace

Revision 1.96.8.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:32 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.96.8.1: +5 -5 lines
Diff to previous 1.96.8.1 (colored) to branchpoint 1.96 (colored)

sync with head

Revision 1.98 / (download) - annotate - [select for diffs], Sun Jul 22 14:33:04 2012 UTC (10 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.97: +5 -5 lines
Diff to previous 1.97 (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.96.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:48 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.96: +3 -11 lines
Diff to previous 1.96 (colored)

sync with head

Revision 1.96.12.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:42 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.96: +3 -11 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

merge to -current.

Revision 1.97 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:05 2012 UTC (11 years ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, 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-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
Changes since 1.96: +3 -11 lines
Diff to previous 1.96 (colored)

Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.

Revision 1.94.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:44 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.94.4.1: +2 -3 lines
Diff to previous 1.94.4.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)

sync with head

Revision 1.96 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:07 2010 UTC (12 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.95: +2 -3 lines
Diff to previous 1.95 (colored)

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.86.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:48 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.86.4.3: +4 -6 lines
Diff to previous 1.86.4.3 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

sync with head.

Revision 1.94.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:35 2010 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.94: +4 -6 lines
Diff to previous 1.94 (colored)

sync with head

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:37 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.94: +4 -6 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

Sync with HEAD.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Apr 5 07:20:27 2010 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.94: +4 -6 lines
Diff to previous 1.94 (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.86.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:48 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.86.4.2: +4 -16 lines
Diff to previous 1.86.4.2 (colored) to branchpoint 1.86 (colored)

sync with head

Revision 1.94 / (download) - annotate - [select for diffs], Tue Jan 19 22:07:02 2010 UTC (13 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.93: +4 -11 lines
Diff to previous 1.93 (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.93 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:15 2009 UTC (13 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.92: +2 -7 lines
Diff to previous 1.92 (colored)

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.86.4.2 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:51 2009 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.86.4.1: +19 -12 lines
Diff to previous 1.86.4.1 (colored) to branchpoint 1.86 (colored)

sync with head

Revision 1.92 / (download) - annotate - [select for diffs], Sat Sep 5 13:50:15 2009 UTC (13 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.91: +19 -12 lines
Diff to previous 1.91 (colored)

Replace shutdownhook_establish(9) with pmf_device_register1(9).
Tested Compaq Netelligent 10/100 TX.

Revision 1.86.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:57 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.86: +198 -215 lines
Diff to previous 1.86 (colored)

sync with head.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:26 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Sync with HEAD.

Revision 1.85.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:00 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.85.6.2: +1 -1 lines
Diff to previous 1.85.6.2 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored)

Sync with HEAD.

Revision 1.89.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:35 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.89.4.1: +3 -3 lines
Diff to previous 1.89.4.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Nov 16 02:11:29 2008 UTC (14 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: 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-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

Fix tyop in #ifdef TLDEBUG part.

Revision 1.89.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:39 2008 UTC (14 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.89: +3 -2 lines
Diff to previous 1.89 (colored)

Sync with HEAD.

Revision 1.86.6.2 / (download) - annotate - [select for diffs], Fri Oct 10 22:32:17 2008 UTC (14 years, 3 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.86.6.1: +3 -2 lines
Diff to previous 1.86.6.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Sync with HEAD.

Revision 1.85.6.2 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:30 2008 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.85.6.1: +1 -0 lines
Diff to previous 1.85.6.1 (colored) to branchpoint 1.85 (colored)

Sync with HEAD.

Revision 1.90 / (download) - annotate - [select for diffs], Sat Oct 4 21:00:28 2008 UTC (14 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, 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, 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-dm-base1
Branch point for: nick-hppapmap
Changes since 1.89: +3 -2 lines
Diff to previous 1.89 (colored)

Add missing splx(). Funny that it didn't cause issues ...

Revision 1.86.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:11 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.86: +197 -215 lines
Diff to previous 1.86 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:14 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.86: +197 -215 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

sync with head

Revision 1.85.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:40 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.85: +196 -218 lines
Diff to previous 1.85 (colored)

Sync with HEAD.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Jun 1 00:38:29 2008 UTC (14 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl
Branch point for: haad-dm
Changes since 1.88: +195 -210 lines
Diff to previous 1.88 (colored)

Split device_t/softc, with misc cosmetic changes.

Revision 1.88 / (download) - annotate - [select for diffs], Sat May 31 23:53:32 2008 UTC (14 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

My Compaq Netelligent 10/100 TX has 24C02 (2kbit) serial EEPROM,
so pass 256 (bytes) rather than 512 to seeprom_bootstrap_read().

Revision 1.87 / (download) - annotate - [select for diffs], Thu May 22 01:23:48 2008 UTC (14 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.86: +3 -6 lines
Diff to previous 1.86 (colored)

KNF.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:37 2008 UTC (14 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Changes since 1.85: +29 -33 lines
Diff to previous 1.85 (colored)

use aprint_*_dev and device_xname

Revision 1.83.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:48 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.83.8.1: +15 -30 lines
Diff to previous 1.83.8.1 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

sync with HEAD

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:57 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.84: +15 -30 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

Sync with HEAD.

Revision 1.70.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:01 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.70.2.4: +15 -30 lines
Diff to previous 1.70.2.4 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

sync with head

Revision 1.84.8.1 / (download) - annotate - [select for diffs], Sun Jan 20 17:51:39 2008 UTC (15 years ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.84: +15 -30 lines
Diff to previous 1.84 (colored) next main 1.85 (colored)

Sync with HEAD

Revision 1.85 / (download) - annotate - [select for diffs], Sat Jan 19 22:10:19 2008 UTC (15 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.84: +15 -30 lines
Diff to previous 1.84 (colored)

Make many ethernet drivers share the common code for MII media
handling, ether_mediastatus() and ether_mediachange().  Check for
a non-ENXIO error return from mii_mediachg().  (ENXIO indicates
that a PHY is suspended.)

This patch shrinks the source code size by 979 lines.  There was
a 5100-byte savings on the NetBSD/i386 kernel configuration, ALL.

I have made a few miscellaneous changes, too:

gem(4): use LIST_EMPTY(), LIST_FOREACH().
mtd(4): handle media ioctls, for a change!
axe(4): do not track link status in sc->axe_link any longer
nfe(4), aue(4), axe(4), udav(4), url(4): do not reset all PHYs
        on a change of media

Except for the change to mtd(4), no functional changes are intended.

XXX This patch affects more architectures than I can feasibly
XXX compile and run.  I have compiled macppc, sparc64, i386.  I
XXX have run the patches on i386 boxen with bnx(4) and sip(4).
XXX Compiling and running on evbmips (MERAKI, ADM5120) is in
XXX progress.

Revision 1.83.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:08 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored)

sync with HEAD

Revision 1.70.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:33:03 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.70.2.3: +4 -4 lines
Diff to previous 1.70.2.3 (colored) to branchpoint 1.70 (colored)

sync with head.

Revision 1.83.6.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:23 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.83.12.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:05 2007 UTC (15 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with HEAD.

Revision 1.82.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:09:03 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.82.2.1: +4 -4 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Sync with head.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:48 2007 UTC (15 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: 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, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.70.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:04 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.70.2.2: +8 -8 lines
Diff to previous 1.70.2.2 (colored) to branchpoint 1.70 (colored)

sync with head.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:43 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Sync with head.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:55 2007 UTC (15 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Sun Jul 1 21:48:11 2007 UTC (15 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Adapt to callout API change.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:22 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.81: +6 -6 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with HEAD.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Sun Mar 4 13:58:23 2007 UTC (15 years, 11 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.77: +23 -7 lines
Diff to previous 1.77 (colored) next main 1.78 (colored)

Pull up following revision(s) (requested by rumble in ticket #478):
	sys/dev/pci/if_tl.c: revision 1.78 - 1.80
	sys/dev/ic/tulip.c: revision 1.148
Make the ThunderLAN part of the Set Engineering GIO board for sgimips (IP22)
work.
Extract mac addresses on Phobos G100 boards.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:23 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.81: +6 -6 lines
Diff to previous 1.81 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:41 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.75.2.1: +25 -9 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

Sync with head.

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:45 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.70.2.1: +32 -28 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored)

sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Dec 25 18:36:05 2006 UTC (16 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.80: +4 -4 lines
Diff to previous 1.80 (colored)

Spell "schedule" correctly. From Zafer Aydogan.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Dec 24 19:15:15 2006 UTC (16 years, 1 month ago) by rumble
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

Make this compile again when KASSERT is enabled.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Dec 24 01:49:45 2006 UTC (16 years, 1 month ago) by rumble
Branch: MAIN
Changes since 1.78: +37 -70 lines
Diff to previous 1.78 (colored)

Revert the previous change and specify the appropriate page boundary to
bus_dmamap_create(9) via a proplib number entry.

Recommended by Izumi Tsutsui.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Dec 23 21:24:32 2006 UTC (16 years, 1 month ago) by rumble
Branch: MAIN
Changes since 1.77: +67 -18 lines
Diff to previous 1.77 (colored)

The Set Engineering GIO board for sgimips (IP22) sits behind a special
bridge that precludes the ThunderLAN's DMA engine from performing segment
transfers across page boundaries. Add logic under #ifdef TL_SETENG_GFE to
split up these segment transfers appropriately.

It's unknown whether this issue could also affect the RX path, though no
problems have been observed yet.

Revision 1.75.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:44 2006 UTC (16 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.75.4.1: +7 -7 lines
Diff to previous 1.75.4.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

sync with head.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:31 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.75: +6 -13 lines
Diff to previous 1.75 (colored)

Sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:09 2006 UTC (16 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.76: +7 -7 lines
Diff to previous 1.76 (colored)

__unused removal on arguments; approved by core.

Revision 1.75.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:17 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.75: +8 -15 lines
Diff to previous 1.75 (colored)

sync with head

Revision 1.76 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:30 2006 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.75: +8 -15 lines
Diff to previous 1.75 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.72.8.2 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:33 2006 UTC (16 years, 4 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.72.8.1: +4 -9 lines
Diff to previous 1.72.8.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

sync with head.

Revision 1.72.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:18 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.72: +5 -10 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

sync with head

Revision 1.75 / (download) - annotate - [select for diffs], Thu Sep 7 02:40:33 2006 UTC (16 years, 5 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.74: +2 -7 lines
Diff to previous 1.74 (colored)

remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Sep 7 00:00:02 2006 UTC (16 years, 5 months ago) by rumble
Branch: MAIN
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

Avoid a panic on adapter check interrupts: the 'tl_restart' callout expects
a pointer to struct ifnet, not tl_softc.

Revision 1.72.8.1 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:22 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Wed Aug 30 23:29:01 2006 UTC (16 years, 5 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Make this compile again when TLDEBUG is defined.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:05 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.70: +8 -8 lines
Diff to previous 1.70 (colored)

sync with head.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Dec 24 20:27:42 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.71: +8 -8 lines
Diff to previous 1.71 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:50 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

merge ktrace-lwp.

Revision 1.57.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:02 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.57.2.6: +5 -3 lines
Diff to previous 1.57.2.6 (colored) next main 1.58 (colored)

Sync with HEAD. Here we go again...

Revision 1.70 / (download) - annotate - [select for diffs], Mon May 30 04:35:22 2005 UTC (17 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

- const poisoning
- avoid variable shadowing.

Revision 1.64.2.1.2.3 / (download) - annotate - [select for diffs], Sun May 1 10:19:50 2005 UTC (17 years, 9 months ago) by tron
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.64.2.1.2.2: +2 -0 lines
Diff to previous 1.64.2.1.2.2 (colored) to branchpoint 1.64.2.1 (colored) next main 1.65 (colored)

Pull up revision 1.69 (requested by bouyer in ticket #1438):
Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218
by A L Meyers.

Revision 1.52.4.3 / (download) - annotate - [select for diffs], Sun May 1 10:02:08 2005 UTC (17 years, 9 months ago) by tron
Branch: netbsd-1-6
Changes since 1.52.4.2: +2 -0 lines
Diff to previous 1.52.4.2 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

Pull up revision 1.69 (requested by bouyer in ticket #5756):
Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218
by A L Meyers.

Revision 1.66.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:06 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.66: +53 -37 lines
Diff to previous 1.66 (colored) next main 1.67 (colored)

sync with -current

Revision 1.68.4.1 / (download) - annotate - [select for diffs], Thu Apr 21 18:50:27 2005 UTC (17 years, 9 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.68: +4 -2 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Pull up revision 1.69 (requested by bouyer in ticket #180):
Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218
by A L Meyers.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Apr 20 21:33:39 2005 UTC (17 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.68: +4 -2 lines
Diff to previous 1.68 (colored)

Add "Compaq Netelligent 10 T/2 PCI UTP/Coax Controller". Fix kern/29218
by A L Meyers.

Revision 1.64.2.1.2.2 / (download) - annotate - [select for diffs], Sat Apr 16 12:19:04 2005 UTC (17 years, 9 months ago) by tron
Branch: netbsd-2
Changes since 1.64.2.1.2.1: +14 -0 lines
Diff to previous 1.64.2.1.2.1 (colored) to branchpoint 1.64.2.1 (colored)

Pull up revision 1.67 (requested by dan in ticket #1117):
attach tl(4) as an event source to rnd(4)
patches from Sean Davis in PR/28556
(slightly modified to actually catch our own interrupts)

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:47 2005 UTC (17 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.67: +37 -37 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

sync with head.

Revision 1.57.2.6 / (download) - annotate - [select for diffs], Fri Feb 4 11:46:38 2005 UTC (18 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.57.2.5: +37 -37 lines
Diff to previous 1.57.2.5 (colored)

Sync with HEAD.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:45 2005 UTC (18 years ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.67: +37 -37 lines
Diff to previous 1.67 (colored)

de-__P

Revision 1.64.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jan 24 21:40:55 2005 UTC (18 years ago) by he
Branch: netbsd-2
Changes since 1.64.2.1: +2 -1 lines
Diff to previous 1.64.2.1 (colored)

Pull up revision 1.66 (requested by thorpej in ticket #939):
  When adding or deleting multicast addresses, only change
  the address filter if the interface is marked RUNNING.
  Fixes PR#27678.

Revision 1.57.2.5 / (download) - annotate - [select for diffs], Mon Jan 24 08:35:26 2005 UTC (18 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.57.2.4: +16 -2 lines
Diff to previous 1.57.2.4 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jan 23 10:53:19 2005 UTC (18 years ago) by dan
Branch: MAIN
CVS Tags: yamt-km-base
Branch point for: yamt-km
Changes since 1.66: +16 -2 lines
Diff to previous 1.66 (colored)

attach tl(4) as an event source to rnd(4)
patches from Sean Davis in PR/28556
(slightly modified to actually catch our own interrupts)

Revision 1.57.2.4 / (download) - annotate - [select for diffs], Tue Nov 2 07:52:10 2004 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.57.2.3: +4 -3 lines
Diff to previous 1.57.2.3 (colored)

Sync with HEAD.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Oct 30 18:09:22 2004 UTC (18 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Changes since 1.65: +4 -3 lines
Diff to previous 1.65 (colored)

When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.

Revision 1.57.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:03 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.57.2.2: +2 -2 lines
Diff to previous 1.57.2.2 (colored)

Fix the sync with head I botched.

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:04 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.57.2.1: +0 -0 lines
Diff to previous 1.57.2.1 (colored)

Sync with HEAD.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:09 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.57: +163 -119 lines
Diff to previous 1.57 (colored)

Sync with HEAD

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Tue Jun 22 15:24:54 2004 UTC (18 years, 7 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.64: +4 -2 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Pull up revision 1.65 (requested by bouyer in ticket #537):
Apply patch from kern/25936 by Michael Blake: Add support for the
Netelligent 10/100 TX variant found on the Compaq Proliant Professional
Workstation 5100.

Revision 1.52.4.2 / (download) - annotate - [select for diffs], Tue Jun 22 15:16:39 2004 UTC (18 years, 7 months ago) by tron
Branch: netbsd-1-6
Changes since 1.52.4.1: +4 -2 lines
Diff to previous 1.52.4.1 (colored) to branchpoint 1.52 (colored)

Pull up revision 1.65 (requested by bouyer in ticket #1718):
Apply patch from kern/25936 by Michael Blake: Add support for the
Netelligent 10/100 TX variant found on the Compaq Proliant Professional
Workstation 5100.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jun 15 19:47:23 2004 UTC (18 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.64: +4 -2 lines
Diff to previous 1.64 (colored)

Apply patch from kern/25936 by Michael Blake: Add support for the
Netelligent 10/100 TX variant found on the Compaq Proliant Professional
Workstation 5100.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Nov 10 08:51:52 2003 UTC (19 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

Spell address with two d's. Inspired by similar changes in OpenBSD,
originating from Jonathon Gray and forwarded by jmc@openbsd.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Nov 2 10:50:40 2003 UTC (19 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored)

deferred, not deffered. Inspired by Tom Cosgrove.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Oct 5 14:57:14 2003 UTC (19 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Increase number of transmit/receive buffers from 10 to 32 to avoid
RX buffer overrun.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Oct 5 14:50:09 2003 UTC (19 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.60: +7 -6 lines
Diff to previous 1.60 (colored)

Pass proper dma mapsize of TX/RX mbufs to bus_dmamap_sync().
Now tl(4) works on sgimips.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Oct 5 14:44:55 2003 UTC (19 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Oops, more white space nit.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Oct 5 14:42:45 2003 UTC (19 years, 4 months ago) by tsutsui
Branch: MAIN
Changes since 1.58: +35 -35 lines
Diff to previous 1.58 (colored)

TAB/space nits.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Sep 30 00:35:30 2003 UTC (19 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +116 -75 lines
Diff to previous 1.57 (colored)

New generic I2C framework.  Supports bit-bang and "intelligent" I2C
interface controllers (of varying intelligence levels).

Contributed by Wasabi Systems, Inc.  Primarily written by Steve Woodford,
with some modification by me.

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Mon Jun 30 02:47:21 2003 UTC (19 years, 7 months ago) by grant
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Changes since 1.52: +7 -2 lines
Diff to previous 1.52 (colored)

Pull up revision 1.57 (requested by bouyer in ticket #1350):

tl(4) supports ETHERCAP_VLAN_MTU.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Mar 19 17:23:26 2003 UTC (19 years, 10 months ago) by bouyer
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.56: +7 -2 lines
Diff to previous 1.56 (colored)

tl(4) supports ETHERCAP_VLAN_MTU.

Revision 1.39.2.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:07 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.39.2.6: +5 -6 lines
Diff to previous 1.39.2.6 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Catch up to -current.

Revision 1.42.2.6 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:48 2002 UTC (20 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.42.2.5: +5 -6 lines
Diff to previous 1.42.2.5 (colored) next main 1.43 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.56 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:33 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:40 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +4 -5 lines
Diff to previous 1.54 (colored)

Use CFATTACH_DECL().

Revision 1.54 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:20 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Declare all cfattach structures const.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Sep 27 15:37:26 2002 UTC (20 years, 4 months ago) by provos
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.42.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:47:44 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.42.2.4: +4 -4 lines
Diff to previous 1.42.2.4 (colored)

catch up with -current on kqueue branch

Revision 1.39.2.6 / (download) - annotate - [select for diffs], Thu Jun 20 03:45:30 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.5: +4 -4 lines
Diff to previous 1.39.2.5 (colored) to branchpoint 1.39 (colored)

Catch up to -current.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Apr 17 09:16:27 2002 UTC (20 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, gehenna-devsw-base, gehenna-devsw
Branch point for: netbsd-1-6
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

Fix two typos in comments. kern/16386 by Sean Davis.

Revision 1.39.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:46:25 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.4: +8 -9 lines
Diff to previous 1.39.2.4 (colored) to branchpoint 1.39 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.42.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:14 2002 UTC (20 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.42.2.3: +8 -9 lines
Diff to previous 1.42.2.3 (colored)

Catch up with -current.

Revision 1.32.4.3 / (download) - annotate - [select for diffs], Mon Mar 11 22:23:51 2002 UTC (20 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.32.4.2: +2 -2 lines
Diff to previous 1.32.4.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Revert pull-up of revision 1.51 (requested by christos):
  tl_init() changed interface between the netbsd-1-5 branch and -current.
  Therefore, application of 1.51 is wrong, so undo it here.

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Sat Mar 9 16:52:53 2002 UTC (20 years, 11 months ago) by he
Branch: netbsd-1-5
Changes since 1.32.4.1: +3 -3 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored)

Pull up revisions 1.49,1.51 (via patch, requested by christos):
  Make sure ifp->sc_softc is initialized before we set the media
  callbacks, and correct argument error in invocation of tl_init().

Revision 1.51 / (download) - annotate - [select for diffs], Thu Mar 7 21:42:20 2002 UTC (20 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

stupid void pointers... tl_init() needs struct ifnet *...

Revision 1.50 / (download) - annotate - [select for diffs], Tue Mar 5 04:12:59 2002 UTC (20 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.49: +6 -7 lines
Diff to previous 1.49 (colored)

bring in latest ALTQ from kjc.  ALTQify some of the drivers.

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:02 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.3: +4 -6 lines
Diff to previous 1.39.2.3 (colored) to branchpoint 1.39 (colored)

Catch up to -current.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Feb 28 00:52:21 2002 UTC (20 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

PR/15754: Sean Davis: Initialize if_softc before calling the mii init
routines to avoid NULL pointer de-referencing in the callbacks.

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Mon Feb 11 20:09:59 2002 UTC (20 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.42.2.2: +4 -6 lines
Diff to previous 1.42.2.2 (colored)

Sync w/ -current.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jan 12 16:17:06 2002 UTC (21 years ago) by tsutsui
Branch: MAIN
Changes since 1.47: +4 -6 lines
Diff to previous 1.47 (colored)

Call malloc(9) with M_ZERO flag instead of memset() after malloc().

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:45 2002 UTC (21 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.42.2.1: +46 -135 lines
Diff to previous 1.42.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:19 2001 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.2: +4 -1 lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored)

Catch up to -current.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Tue Nov 13 21:41:58 2001 UTC (21 years, 2 months ago) by he
Branch: netbsd-1-5
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Pull up revision 1.40 (requested by bouyer):
  Fix media support for Compaq Deskpro 4000.  Fixes PR#13244.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:45 2001 UTC (21 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.46: +4 -1 lines
Diff to previous 1.46 (colored)

add RCSID

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:45:55 2001 UTC (21 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.45: +43 -135 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Catch up with -current.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:57 2001 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.2.1: +43 -135 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored)

Catch up to -current.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Sep 20 10:04:10 2001 UTC (21 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Changes since 1.45: +43 -135 lines
Diff to previous 1.45 (colored)

- Allocate control structures at attach time rather than at init time.
  Avoids using bus_dmamem_alloc/bus_dmamem_map at interrupt time.
  Should fix PRs kern/13924 and kern/13979 from dive@endersgame.net
- while I'm there convert to use ether_ioctl.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:16:23 2001 UTC (21 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.42: +251 -182 lines
Diff to previous 1.42 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:10:09 2001 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39: +254 -183 lines
Diff to previous 1.39 (colored)

Catch up with -current.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Aug 7 16:53:06 2001 UTC (21 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.44: +12 -6 lines
Diff to previous 1.44 (colored)

Properly set/clear IFF_OACTIVE.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 6 19:20:26 2001 UTC (21 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.43: +42 -61 lines
Diff to previous 1.43 (colored)

Improvement: allocate one page of dmamem for Rx, Tx and nullbuff instead of
3 different ones.
Also pass the rigth seg/nseg to bus_dmamem_free().
Correct types in debug printf's

Revision 1.43 / (download) - annotate - [select for diffs], Fri Aug 3 16:53:08 2001 UTC (21 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.42: +254 -172 lines
Diff to previous 1.42 (colored)

- kill the carrier detect code. It's not usefull any more and can give
  false informations on a loaded ethernet segement.
- convert to bus_dma(9) (better late than never :)
- add proper le32toh/htole32 so that it works on big-endian system (tested
  on macppc).
Close PR kern/10327.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jul 7 16:46:35 2001 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

bzero -> memset

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jul 7 16:40:24 2001 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.40: +7 -5 lines
Diff to previous 1.40 (colored)

bcopy -> memcpy, strcpy

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jun 21 16:33:33 2001 UTC (21 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Proper media support for Compaq Deskpro 4000. PR kern/13244 from
Andrew Gillham.

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:09 2001 UTC (22 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.24.2.2: +3 -2 lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:13 2000 UTC (22 years, 1 month ago) by sommerfeld
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.38: +2 -3 lines
Diff to previous 1.38 (colored)

Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q

Revision 1.38 / (download) - annotate - [select for diffs], Thu Dec 14 06:42:57 2000 UTC (22 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored)

ALTQ'ify.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:04:07 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.24.2.1: +1 -5 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

Sync with HEAD.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:24 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.24: +33 -46 lines
Diff to previous 1.24 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Nov 15 01:02:15 2000 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +1 -5 lines
Diff to previous 1.36 (colored)

Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().

Revision 1.36 / (download) - annotate - [select for diffs], Sun Oct 1 23:32:44 2000 UTC (22 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +6 -21 lines
Diff to previous 1.35 (colored)

Move the check for "promisc + unicast + not for us" into ether_input(),
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).

Revision 1.35 / (download) - annotate - [select for diffs], Tue Sep 5 22:37:33 2000 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +13 -13 lines
Diff to previous 1.34 (colored)

Cast arg to vtophys() to vaddr_t.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Jun 28 16:08:46 2000 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:12 2000 UTC (22 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.32: +1 -3 lines
Diff to previous 1.32 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Mar 23 07:01:39 2000 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.31: +10 -7 lines
Diff to previous 1.31 (colored)

New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Mar 6 21:02:02 2000 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +1 -3 lines
Diff to previous 1.30 (colored)

No longer necessary to futz with ifp->if_baudrate here.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 2 17:09:40 2000 UTC (23 years ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Don't dry to diving MIIF_NOISOLATE in the PHY drivers.  Instead, pass
flags down from the parent to child vi mii_attach().

Revision 1.29 / (download) - annotate - [select for diffs], Wed Feb 2 08:05:29 2000 UTC (23 years ago) by thorpej
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Bring some order to the chaos which was the MII code function naming
"conventions".

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:18 1999 UTC (23 years, 1 month ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.24: +6 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pull up to last week's -current.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Dec 12 17:55:21 1999 UTC (23 years, 2 months ago) by tron
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.27: +76 -31 lines
Diff to previous 1.27 (colored)

As suggested by Jason Thorpe back out revision 1.27 because it broke
PHY probing for the ThunderLan driver.

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Tue Nov 30 13:34:03 1999 UTC (23 years, 2 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.23: +37 -1 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Nov 19 18:27:18 1999 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +32 -77 lines
Diff to previous 1.26 (colored)

Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:41:02 1999 UTC (23 years, 2 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.24: +6 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with -current

Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 12 18:14:19 1999 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

Call mii_down() as appropriate.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Nov 4 00:24:33 1999 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

Adapt to mii_phy_probe() change.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:18:35 1999 UTC (23 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.23: +3 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync w/ -current.

Revision 1.24 / (download) - annotate - [select for diffs], Tue May 18 23:52:58 1999 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.23: +3 -5 lines
Diff to previous 1.23 (colored)

Rework layer 2 protocol input routines.  Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 25 16:15:00 1999 UTC (23 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628
Branch point for: kame, chs-ubc2
Changes since 1.22: +36 -7 lines
Diff to previous 1.22 (colored)

First pass at support of Compaq NetFlex 3/P PCI: this one has
IO and Mem base address register inverted.
Still need some MII hack to get it fully fonctionnal.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jan 11 22:45:41 1999 UTC (24 years, 1 month ago) by tron
Branch: MAIN
Changes since 1.21: +14 -15 lines
Diff to previous 1.21 (colored)

Because memory mapped access doesn't fail only with the docking station
for the TI TravelMate 5000 but also with at least one Compaq NIC we
prefer I/O mapped access again. Fixes PR kern/6690.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Fri Dec 11 04:53:03 1998 UTC (24 years, 2 months ago) by kenh
Branch: kenh-if-detach
Changes since 1.21: +34 -30 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

The beginnings of interface detach support.  Still some bugs, but mostly
works for me.

This work was originally by Bill Studenmund, and cleaned up by me.

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Tue Nov 10 06:02:44 1998 UTC (24 years, 3 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.1.2.4: +3 -3 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

patch from bouyer to address sysinst and media selection issues:
set the default media to UTP, and don't include 'none' in the media
list, so that sysinst will be able to set media properly.  Done
differently in -current, because there the code uses MII.  (bouyer)

Revision 1.21 / (download) - annotate - [select for diffs], Fri Oct 30 23:30:16 1998 UTC (24 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, chs-ubc-base, chs-ubc
Branch point for: kenh-if-detach
Changes since 1.20: +1 -5 lines
Diff to previous 1.20 (colored)

Manuel confirms that defaulting to AUTO is ok, to Do It.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 18 08:00:17 1998 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

vm_offset_t -> vaddr_t

Revision 1.19 / (download) - annotate - [select for diffs], Sat Aug 15 17:04:52 1998 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +5 -1 lines
Diff to previous 1.18 (colored)

Oops, don't forget to tick the MII once a second.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Aug 15 16:58:53 1998 UTC (24 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fix typos in last commit.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Aug 15 16:49:33 1998 UTC (24 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.16: +310 -261 lines
Diff to previous 1.16 (colored)

correct indent.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Aug 13 02:10:54 1998 UTC (24 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Merge paddr_t changes into the main branch.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Aug 11 00:09:26 1998 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +175 -176 lines
Diff to previous 1.14 (colored)

Adapt to the new MII code.  This required splitting some structures into
if_tlvar.h, since the ThunderLAN PHY driver needs to know some things
about it's parent (and since it can only attach to a ThunderLAN chip,
this is the easiest way).

Revision 1.14 / (download) - annotate - [select for diffs], Sat Aug 8 23:51:42 1998 UTC (24 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Use splnet, not splimp.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Thu Jul 30 14:04:02 1998 UTC (24 years, 6 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 5 06:49:15 1998 UTC (24 years, 7 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

defopt NS, NSIP.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 5 00:51:24 1998 UTC (24 years, 7 months ago) by jonathan
Branch: MAIN
Changes since 1.11: +3 -1 lines
Diff to previous 1.11 (colored)

defopt INET, NETATALK.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 8 06:55:56 1998 UTC (24 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +1 -9 lines
Diff to previous 1.10 (colored)

Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 5 07:17:12 1998 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +24 -37 lines
Diff to previous 1.9 (colored)

Slighly less brutal hack to deal with broken memory-mapped access of
the ThunderLAN on the TI TravelMate 5000 docking station: single it out,
and allow memory-mapped access on the Compaq products.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 11 19:02:14 1998 UTC (24 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)

Correct a bogosity in the adapter->mii attach code pointed out by cgd:
in pci/if_tl.c, call config_found() with a print function, instead of
printing ourself a message in if_tl.c if no miibus was found. The print
function is in mii/mii.c (mii_adapter_print()) so that it can be used by any
adapter (idea from the scsi system).

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 12 09:40:04 1998 UTC (25 years ago) by thorpej
Branch: MAIN
Changes since 1.7: +1 -5 lines
Diff to previous 1.7 (colored)

Update for config changes.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Nov 30 15:18:58 1997 UTC (25 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.6: +9 -1 lines
Diff to previous 1.6 (colored)

make it compile without "__BROKEN_INDIRECT_CONFIG"

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Tue Nov 18 23:41:09 1997 UTC (25 years, 2 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.1.2.3: +4 -6 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored)

Pull rev 1.6 up from trunk (bouyer)

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 18 12:26:09 1997 UTC (25 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.5: +4 -6 lines
Diff to previous 1.5 (colored)

Fix for systems with multiple tl interfaces:
nullbuf (used to pad packets < ETHER_MIN_SIZE) is used for all tl
interfaces. Allocates only once, and never deallocate it (as we can't say
if another instance of the driver is interface is using it).

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Mon Nov 17 08:16:50 1997 UTC (25 years, 2 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.1.2.2: +23 -1 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Sync w/ trunk.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 17 08:14:53 1997 UTC (25 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +23 -1 lines
Diff to previous 1.4 (colored)

Sigh, now that we've fixed a bug in PCI space management (the bug caused
i/o-mapped space to always be used), we discover that at least one
ThunderLAN interface can't read the EEPROM properly if memory-mapped
access is used.  Kludge around this for now by "prefering" i/o space.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Nov 17 02:07:41 1997 UTC (25 years, 2 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.1.2.1: +142 -137 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Sync w/ trunk.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 17 01:58:29 1997 UTC (25 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +142 -143 lines
Diff to previous 1.3 (colored)

Fix a couple of bugs/annoyances in match/attach:
- Do PCI space configuration like the other drivers.  In particular,
  don't _disable_ the space we're not using because some lame firmware
  implementations might not reenable it on warm boot.  Also, prefer
  memory space always.
- Make match and info-gathering in attach table-driven.
- Rearrange things a bit to be a bit more visually pleasing during boot.

Also, fixup some #include problems.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Nov 16 22:33:19 1997 UTC (25 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.2: +8 -2 lines
Diff to previous 1.2 (colored)

PR/4510: William Coldwell: Add TI thunderlan support.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Oct 21 08:22:30 1997 UTC (25 years, 3 months ago) by mrg
Branch: netbsd-1-3
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

pull up from trunk:  Correct ThunderLAN spelling

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 21 05:54:31 1997 UTC (25 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

Correct 'ThunderLAN' spelling

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 17 18:38:30 1997 UTC (25 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3

Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).

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>