The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Sep 7 06:17:37 2024 UTC (2 months, 3 weeks ago) by andvar
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3 lines
spelling and grammar fixes, mainly in comments.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Jun 29 12:11:11 2024 UTC (5 months ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +5 -5 lines
if_stats(9): Add ifp argument to if_stat..._ref.

This will enable us to pass the ifp through to a dtrace probe inside.

No functional change intended in this change, but this is an API
change visible to modules so it shouldn't be pulled up.

PR kern/58377

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Feb 10 09:30:06 2024 UTC (9 months, 3 weeks ago) by andvar
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
s/alloted/allotted/ in comments.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Sep 25 18:43:32 2022 UTC (2 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -3 lines
Remove unnecessary include of <sys/malloc.h>.

Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:06 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.86.2.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.1: +58 -58 lines
Merge changes from current as of 20200406

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Mar 15 22:19:00 2020 UTC (4 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -10 lines
Don't bother with IFF_OACTIVE.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Mar 12 03:01:46 2020 UTC (4 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +5 -2 lines
Add support for MBUFTRACE.

Revision 1.90.4.2: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:08 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.90.4.1: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.4.1: +16 -12 lines
Sync with head.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Feb 7 00:56:48 2020 UTC (4 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +5 -4 lines
Use callout_setfunc() / callout_schedule().

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Jan 30 04:56:11 2020 UTC (4 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +13 -10 lines
Adopt <net/if_stats.h>.

Revision 1.90.4.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:46 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +40 -40 lines
Sync with head.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Jan 22 03:48:10 2020 UTC (4 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: ad-namecache-base2
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +40 -40 lines
Static'ify.

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

Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue May 28 07:41:48 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +5 -2 lines
 Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu May 23 13:10:51 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +9 -9 lines
 Whitespace fix (mainly tabify).

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu May 23 10:51:39 2019 UTC (5 years, 6 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +39 -36 lines
No functional change:
 - Simplify MII structure initialization and reference.
 - u_int*_t -> uint*_t.
 - KNF

Revision 1.85.12.2: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:06 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.85.12.1: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.12.1: +24 -18 lines
Sync with HEAD

Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Jan 22 03:42:26 2019 UTC (5 years, 10 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-20190127, isaki-audio2-base, isaki-audio2
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +24 -18 lines
 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.85.12.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:45 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3 lines
Sync with HEAD

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

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

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:04 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +6 -12 lines
update from HEAD

Revision 1.81.16.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:03 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.81.16.3: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.16.3: +4 -3 lines
Sync with HEAD

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:46 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +4 -3 lines
Sync with HEAD

Revision 1.83.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:28 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.83.2.1: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.2.1: +4 -3 lines
Sync with HEAD

Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Feb 20 07:43:29 2017 UTC (7 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: pgoyette-compat
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -3 lines
Apply deferred if_start to more drivers

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

Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:32 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -9 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Dec 15 09:28:05 2016 UTC (7 years, 11 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -9 lines
Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input

The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
  - Where/When if_ipackets is counted up
  - Note that some drivers still update packet statistics in their own
    way (periodical update)
- Moved bpf_mtap run in softint
  - This makes it easy to MP-ify bpf

Proposed on tech-kern and tech-net

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

Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Jun 10 13:27:13 2016 UTC (8 years, 5 months ago) by ozaki-r
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3 lines
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.81.16.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:09 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Sync with HEAD

Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Feb 9 08:32:10 2016 UTC (8 years, 9 months ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Introduce softint-based if_input

This change intends to run the whole network stack in softint context
(or normal LWP), not hardware interrupt context. Note that the work is
still incomplete by this change; to that end, we also have to softint-ify
if_link_state_change (and bpf) which can still run in hardware interrupt.

This change softint-ifies at ifp->if_input that is called from
each device driver (and ieee80211_input) to ensure Layer 2 runs
in softint (e.g., ether_input and bridge_input). To this end,
we provide a framework (called percpuq) that utlizes softint(9)
and percpu ifqueues. With this patch, rxintr of most drivers just
queues received packets and schedules a softint, and the softint
dequeues packets and does rest packet processing.

To minimize changes to each driver, percpuq is allocated in struct
ifnet for now and that is initialized by default (in if_attach).
We probably have to move percpuq to softc of each driver, but it's
future work. At this point, only wm(4) has percpuq in its softc
as a reference implementation.

Additional information including performance numbers can be found
in the thread at tech-kern@ and tech-net@:
http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html

Acknowledgment: riastradh@ greatly helped this work.
Thank you very much!

Revision 1.80.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:09 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +6 -6 lines
sync with head

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Jul 22 14:32:58 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +6 -6 lines
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.78.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:21 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.78.4.1: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.4.1: +2 -4 lines
sync with head

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Nov 13 13:52:02 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -4 lines
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.73.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:32 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.73.4.4: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.4.4: +4 -6 lines
sync with head.

Revision 1.78.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:25 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -6 lines
sync with head

Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:22 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +4 -6 lines
Sync with HEAD.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Apr 5 07:19:36 2010 UTC (14 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -6 lines
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.73.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:35 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.73.4.3: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.3: +4 -11 lines
sync with head

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:06:25 2010 UTC (14 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -11 lines
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.73.4.3: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:49 2009 UTC (15 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.73.4.2: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.2: +13 -9 lines
sync with head

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Sep 3 14:13:16 2009 UTC (15 years, 3 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, matt-premerge-20091211, jym-xensuspend-nbase
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +13 -9 lines
Replace shutdownhook_establish(9) with pmf_device_register1().
Tested EtherPower II 10/100 (SMC9432TX) on macppc.

Revision 1.73.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:44 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.73.4.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.4.1: +109 -122 lines
sync with head.

Revision 1.71.6.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:23 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.71.6.2: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.6.2: +107 -120 lines
Sync with HEAD.

Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:35:04 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +109 -122 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.75.4.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:33 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +109 -122 lines
Sync with head.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Jul 6 14:32:56 2008 UTC (16 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +109 -122 lines
Split device_t/softc with misc cosmetic changes.

Revision 1.71.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:27 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.71.6.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.6.1: +44 -63 lines
Sync with HEAD.

Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:45 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +3 -10 lines
sync with head.

Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:06 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -10 lines
sync with head.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun May 4 17:16:27 2008 UTC (16 years, 7 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3 lines
mii_dev is a device_t now.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:51 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Apr 8 12:07:27 2008 UTC (16 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +46 -58 lines
use aprint_*_dev and device_xname

Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:42 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +5 -5 lines
Sync with HEAD.

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:17 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +5 -5 lines
sync with head.

Revision 1.66.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:39 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.66.2.2: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.2: +25 -47 lines
sync with HEAD

Revision 1.59.4.5: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:43 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.59.4.4: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.4.4: +5 -5 lines
sync with head.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Mar 12 18:15:31 2008 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +5 -5 lines
epic_stop: clear IFF_RUNNING before disabling.

Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:41 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +29 -49 lines
Sync with HEAD.

Revision 1.59.4.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:43:09 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.59.4.3: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.4.3: +29 -49 lines
sync with head

Revision 1.67.8.2: download - view: text, markup, annotated - select for diffs
Sun Jan 20 17:51:33 2008 UTC (16 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.67.8.1: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.8.1: +20 -42 lines
Sync with HEAD

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Jan 19 22:10:17 2008 UTC (16 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +22 -44 lines
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.66.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:53:02 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.66.2.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.2.1: +9 -7 lines
sync with HEAD

Revision 1.67.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:54:17 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +9 -7 lines
Sync with HEAD

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Dec 30 00:04:47 2007 UTC (16 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -3 lines
Cosmetic: remark that EPIC may deserve one or two custom PHY drivers.
Change a !(bittest) to (bittest) == 0.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Dec 29 23:58:48 2007 UTC (16 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -5 lines
Use LIST_EMPTY(), LIST_FOREACH().

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Dec 29 17:59:20 2007 UTC (16 years, 11 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
Fix typo in comments.

Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:27:10 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4 lines
sync with HEAD

Revision 1.59.4.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:31:04 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.59.4.2: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.4.2: +4 -4 lines
sync with head.

Revision 1.65.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:01 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.65.6.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.6.1: +4 -4 lines
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.66.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:57 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +4 -4 lines
Sync with HEAD.

Revision 1.64.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:45 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.64.2.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.2: +4 -4 lines
Sync with head.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:01 2007 UTC (17 years, 1 month ago) by ad
Branches: 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, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -4 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:41:32 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.2.1: +3 -3 lines
Sync with head.

Revision 1.65.6.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:08 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
Sync with HEAD.

Revision 1.59.4.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:14 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.59.4.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.4.1: +11 -11 lines
sync with head.

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:20:27 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +3 -3 lines
Sync with HEAD.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Aug 27 14:48:55 2007 UTC (17 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: matt-armv6, bouyer-xenamd64
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
Constify: use CLLADDR() instead of LLADDR() wherever possible.

Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:06:12 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +3 -3 lines
Sync with head.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:39 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3 lines
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.64.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 21:47:55 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3 lines
Adapt to callout API change.

Revision 1.63.14.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:45 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +9 -9 lines
Sync with HEAD.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:01 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +9 -9 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.60.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:50:03 2006 UTC (18 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +23 -24 lines
sync with head

Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:56 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +23 -24 lines
sync with head.

Revision 1.60.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:25 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +23 -24 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.60.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:42 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +23 -24 lines
sync with head.

Revision 1.60.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:56 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +23 -24 lines
Sync with head.

Revision 1.60.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:24:40 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.60: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60: +23 -24 lines
sync with head.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Apr 16 00:38:59 2006 UTC (18 years, 7 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +16 -16 lines
u_intNN_t -> uintNN_t

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Apr 16 00:35:10 2006 UTC (18 years, 7 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +6 -7 lines
Use __arraycount().

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Apr 16 00:30:22 2006 UTC (18 years, 7 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -5 lines
i >= 0 can never be false if i is u_int. Noticed by OpenBSD.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:28 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
merge ktrace-lwp.

Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:52 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +37 -37 lines
sync with -current

Revision 1.56.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:04 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.56.6.1: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.6.1: +12 -12 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.53.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:33 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53.2.5: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.5: +12 -12 lines
Sync with HEAD.

Hi Perry!

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:02 2005 UTC (19 years, 9 months ago) by perry
Branches: 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, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, 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, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +12 -12 lines
nuke trailing whitespace

Revision 1.56.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:44 2005 UTC (19 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +27 -27 lines
sync with head.

Revision 1.53.2.5: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:45:27 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53.2.4: preferred, colored
Changes since revision 1.53.2.4: +27 -27 lines
Sync with HEAD.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:37 2005 UTC (19 years, 10 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +24 -24 lines
de-__P

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Jan 30 17:23:45 2005 UTC (19 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -5 lines
Eliminate use of M_HASFCS.

Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Mon Jan 24 21:40:31 2005 UTC (19 years, 10 months ago) by he
Branches: 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
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +6 -4 lines
Pull up revision 1.56 (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.53.2.4: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:31 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53.2.3: preferred, colored
Changes since revision 1.53.2.3: +6 -4 lines
Sync with HEAD.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Oct 30 18:08:40 2004 UTC (20 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -4 lines
When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.

Revision 1.53.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:28:08 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53.2.2: preferred, colored
Changes since revision 1.53.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:46:00 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53.2.1: preferred, colored
Changes since revision 1.53.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:19 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +24 -20 lines
Sync with HEAD

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Nov 8 16:08:13 2003 UTC (21 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-0-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, netbsd-2-0
Branch point for: netbsd-2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +23 -19 lines
Define all members in TX/RX DMA descriptors as u_int32_t and use proper shift
and mask ops since smc83c170 chips access them in 32bit width with proper
byteswap mechanism, so that all #if BYTE_ORDER in descriptors can be removed.
While here, do some slight optimizations in epic_start() and epic_intr().

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Nov 2 11:07:46 2003 UTC (21 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
Fix some typos. From Tom Cosgrove via jmc@openbsd.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Jan 31 00:26:31 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +11 -9 lines
Use aprint_*().

Revision 1.49.10.1: download - view: text, markup, annotated - select for diffs
Sun Jan 26 16:14:22 2003 UTC (21 years, 10 months ago) by he
Branches: 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, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +48 -12 lines
Pull up revision 1.52 (requested by bouyer in ticket #1083):
  For short (< ETHER_MIN_LEN) packets, supply a zeroed buffer
  for the extra bytes to make sure the chip doesn't send
  random data.

Revision 1.41.2.6: download - view: text, markup, annotated - select for diffs
Wed Jan 15 18:44:16 2003 UTC (21 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.41.2.5: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.5: +48 -12 lines
Sync with HEAD.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jan 13 17:00:18 2003 UTC (21 years, 10 months ago) by bouyer
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +48 -12 lines
For short (< ETHER_MIN_LEN) packets, supply a zero'd buffer for the extra
bytes to make sure the chip won't send random data.

Revision 1.41.2.5: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:10:04 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.2.4: preferred, colored
Changes since revision 1.41.2.4: +6 -4 lines
Catch up to -current

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Nov 7 07:48:35 2002 UTC (22 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -4 lines
Fix signed/unsigned comparison warnings.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Oct 22 00:01:57 2002 UTC (22 years, 1 month ago) by fair
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3 lines
Change the "dontcare bits" argument to ifmedia_init() to IFM_IMASK
so that it is possible select PHY instances other than the first
one (instance zero), if there is more than one PHY attached.

Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:55:03 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.46.2.1: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.1: +4 -1 lines
Sync kqueue branch with -current.

Revision 1.41.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:37 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.2.3: preferred, colored
Changes since revision 1.41.2.3: +4 -1 lines
Catch up to -current.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Nov 13 13:14:44 2001 UTC (23 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, kqueue-base, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -1 lines
add/cleanup RCSID

Revision 1.41.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:38 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.2.2: preferred, colored
Changes since revision 1.41.2.2: +8 -6 lines
Catch up with -current.

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:05 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +7 -5 lines
update to -current

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jul 23 17:20:04 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -2 lines
Make sure to initialize the all Rx descriptors properly in *_init()
even if mbufs for them are already allocated.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Jul 19 16:25:26 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -4 lines
Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Jul 7 05:35:42 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
bcmp -> memcmp

Revision 1.41.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:03:19 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41.2.1: preferred, colored
Changes since revision 1.41.2.1: +104 -20 lines
Catch up to -current.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Jun 12 22:32:50 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -13 lines
Don't need INET or NS includes here.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu May 17 19:00:18 2001 UTC (23 years, 6 months ago) by drochner
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
increase the delay after PHY reset - it seems that mii register accesses
can fail if attempted too soon after reset

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu May 17 17:32:47 2001 UTC (23 years, 6 months ago) by drochner
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +103 -7 lines
support BNC interfaces (serial mode) as on the SMC9432BTX and 100FX
on the SMC9432FTX

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:56:31 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
Catch up with -current.

Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:32:01 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.3: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.3: +2 -2 lines
Sync with HEAD.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Mar 15 13:45:00 2001 UTC (23 years, 8 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
Fix tyop in comments.

Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:47 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.2: +9 -7 lines
Sync with HEAD

Revision 1.32.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 31 20:15:01 2000 UTC (23 years, 11 months ago) by jhawk
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Diff to: previous 1.32.4.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.4.1: +6 -1 lines
Pull up revision 1.36 (requested by bouyer):
	Add support for 802.1Q virtual LANs.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Dec 19 00:06:02 2000 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -4 lines
Fix a problem with the ALTQ changes that can cause bogus memory
refernces.  Problem reported by Luke Mewburn.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Dec 14 06:27:26 2000 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -5 lines
ALTQ'ify.

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:03:31 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +7 -8 lines
Sync with HEAD.

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:55 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +59 -145 lines
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.39: download - view: text, markup, annotated - select for diffs
Wed Nov 15 01:02:17 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -5 lines
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Nov 14 18:21:02 2000 UTC (24 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -3 lines
NBPG -> PAGE_SIZE

Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Thu Nov 9 23:16:23 2000 UTC (24 years ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -2 lines
Pullup 1.37 [thorpej]:
One more fix to multicast hash computation.  Submitter confirms that
with this fix, multicast does indeed work properly on the EPIC.

From Zdenek Salvet <salvet@ics.muni.cz>.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Nov 8 15:20:29 2000 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -2 lines
One more fix to multicast hash computation.  Submitter confirms that
with this fix, multicast does indeed work properly on the EPIC.

From Zdenek Salvet <salvet@ics.muni.cz>.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Oct 18 16:49:13 2000 UTC (24 years, 1 month ago) by bouyer
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -1 lines
Looks like frame size isn't checked; just say we can do VLAN MTU.
Tested with a SMC9432TX.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Oct 15 20:00:50 2000 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -4 lines
Don't trim off the FCS, pass it up.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Oct 11 16:57:46 2000 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +23 -98 lines
Use ether_ioctl().

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Oct 1 23:32:42 2000 UTC (24 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -15 lines
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.32: download - view: text, markup, annotated - select for diffs
Fri May 26 00:14:41 2000 UTC (24 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +10 -3 lines
Don't use bcopy() to copy u_int16_t data to u_int8_t array.

Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Mon May 22 21:23:34 2000 UTC (24 years, 6 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.15.2.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.2: +4 -4 lines
Pull up revision 1.31 (via patch, requested by thorpej):
  Use the lower bits of the crc32 for the multicast address filter,
  not the upper bits.  Fixes PR#8268.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri May 12 16:57:30 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -9 lines
Oops!  We actually want the *lower* 6 bits of the crc32 of the multicast
address to generate the multicast filter bit index, not the upper 6.

Should address kern/8268.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri May 12 16:45:43 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -16 lines
Use ether_crc32_le().

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:32 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -4 lines
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.28: download - view: text, markup, annotated - select for diffs
Mon Mar 6 21:02:01 2000 UTC (24 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -3 lines
No longer necessary to futz with ifp->if_baudrate here.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Mar 6 10:21:46 2000 UTC (24 years, 9 months ago) by enami
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -2 lines
Remove redundant assignment.

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Tue Feb 8 22:04:45 2000 UTC (24 years, 10 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH002
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.2.1: +2 -3 lines
Pull up revision 1.26 (via patch, requested by thorpej):
  Don't rely on the receive descriptor's BCAST/MCAST status bits.
  Instead, test the Ethernet destination address to see if it's
  multicast.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Feb 8 00:22:13 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -5 lines
Don't rely on the receive descriptor's BCAST/MCAST status bits.  Test the
Ethernet destination address to see if it's multicast.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Feb 2 17:09:47 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
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.24: download - view: text, markup, annotated - select for diffs
Wed Feb 2 08:05:27 2000 UTC (24 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Bring some order to the chaos which was the MII code function naming
"conventions".

Revision 1.21.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:50 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +6 -2 lines
Pull up to last week's -current.

Revision 1.15.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:33:49 1999 UTC (25 years ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +3 -2 lines
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.21.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:36 1999 UTC (25 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +6 -2 lines
Sync with -current

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Nov 12 18:14:18 1999 UTC (25 years ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1 lines
Call mii_down() as appropriate.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Nov 4 00:24:01 1999 UTC (25 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -2 lines
Adapt to mii_phy_probe() change.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Aug 27 19:13:00 1999 UTC (25 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +24 -5 lines
- Include the RXE (receive error) interrupt in the interrupt enable mask,
  and consider it to be like an RCC (receive copy complete).  The RCC
  code path has always checked for bad received packets.
- Trim the CRC length off the recived packet length; the EPIC/100 always
  includes the CRC in the packet.
- Improve fatal error reporting.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Aug 25 22:44:26 1999 UTC (25 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -2 lines
When padding short packets on transmit, don't include the CRC length
in the computation.  kern/8194.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Aug 3 17:25:51 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +110 -48 lines
Be a little nicer about memory usage:
* Don't allocate receive buffers until the interface is actually brought
  up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
  a single header mbuf if it is small enough to fit in one, rather than
  burning an entire cluster on it.  Note that this change will be mostly
  moot if/when sbcompress() it changed to handle compressing clusters.

Revision 1.15.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:59:06 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.15.4.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.4.1: +4 -1 lines
Update from trunk.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jul 27 00:55:34 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1 lines
Make this "should work" on big endian systems.

Revision 1.15.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:17:53 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -5 lines
Sync w/ -current.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 18 18:13:52 1999 UTC (25 years, 5 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH001
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -2 lines
apply patch from thorpej, fixes transmit timeout bug

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jun 18 17:44:06 1999 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -2 lines
Fix that ANNOYING transmit timeout bug, caused by an unfortunate interaction
between a bug in the receive path (buffer length used instead of actual
received frame length) and the ARP code not correctly setting the length
of the reused mbuf, which all told caused the transmit logic in the chip
to wedge.

Also, make sure to count received packets.

Found and fixed by Zdenek Salvet <salvet@ics.muni.cz>, PR #7809.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue May 18 23:52:56 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -4 lines
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.15: download - view: text, markup, annotated - select for diffs
Thu Mar 25 23:19:59 1999 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: netbsd-1-4, kame, chs-ubc2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -4 lines
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.  Fix a bug where packets wouldn't be padded to the correct
minimum length.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Feb 18 02:24:30 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +33 -60 lines
Fix the code in epic_attach() that frees resources when the attach fails.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Feb 18 02:12:09 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +21 -11 lines
Only do the multicast filter bug work-around if in 10Mbps mode.  Also,
don't reset the interface if the multicast list changes.  Just reprogram
the multicast hash table.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Feb 17 09:11:29 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Change a straggling splimp -> splnet.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Feb 13 21:08:08 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +15 -3 lines
Make sure full-duplex is reflected in TXCON, and don't reset the interface
when the media changes.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Feb 12 05:55:27 1999 UTC (25 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +219 -276 lines
Cleanup of the EPIC/100 driver I did while hacking on the Rhine driver:
* Macroize hardware and software descriptor access (much easier to read).
* Simplify and optimize the transmit loop a bit, and use IFF_OACTIVE as
  appropriate.
* Fix a potential race condition in the transmit loop.  This change has
  made the driver significantly more stable (almost completely eliminated
  the "device timeout" errors that have plagued this driver).
* Implement transmit interrupt pacing.
* Add missing bus_dmamap_sync() calls (on transmit and receive descriptors
  and fraglists).  (Draining the write buffer when accessing these structures
  may have also contributed to the increased stability of this driver on
  the Alpha.)

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Fri Dec 11 04:53:00 1998 UTC (25 years, 11 months ago) by kenh
Branches: kenh-if-detach
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +11 -8 lines
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.9: download - view: text, markup, annotated - select for diffs
Mon Oct 5 19:10:22 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base, chs-ubc-base, chs-ubc
Branch point for: kenh-if-detach
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -1 lines
In epic_init(), attempt to start output on the interface once the interface
is initialized.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Aug 11 00:13:48 1998 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +165 -4 lines
Adapt to new MII code.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Aug 8 23:51:40 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
Use splnet, not splimp.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 23 17:37:38 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +31 -12 lines
Slight variation on last; be a bit more zealous about fixing up the
clock source.  Now, when my EtherPower II locks up, it eventually recovers!

(Geez, I'd like to know why it does this, and only apparently in 10mb/s mode).

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jul 20 21:39:05 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +12 -2 lines
Write the CLOCK TEST bit *at least 16 consecutive times* during initialization,
as the clock source will be set incorrectly otherwise!  From SMC Application
Note 7-15.  Thanks to Christoph Badura for the pointer!

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jul 20 20:45:06 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
The mystery bit in the TEST register is actually the CLOCK TEST bit.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jul 5 06:49:12 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
defopt NS, NSIP.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jul 5 00:51:20 1998 UTC (26 years, 5 months ago) by jonathan
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
defopt INET, NETATALK.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 2 01:29:42 1998 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
Device driver for the SMC 83c170 Ethernet PCI Integrated Controller (EPIC/100)
used in the SMC EtherPower II.

Media control isn't yet supported, due to some MII infrastructure
problems which I hope to address soon.  This isn't a huge deal, since
the PHY defaults to auto-negotiate mode.

Also, the device just programs the multicast hash table to accept all
multicast, to avoid a hardware bug that causes the multicast address
filter to lose in 10Mb/s mode.  This bug will be fixed in a more sane
way once the media control issues are dealt with.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>