The NetBSD Project

CVS log for src/sys/dev/mii/nsphy.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.61.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:08 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.61.4.1: +14 -9 lines
Diff to previous 1.61.4.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Merge changes from current as of 20200406

Revision 1.66 / (download) - annotate - [select for diffs], Sun Mar 15 23:04:50 2020 UTC (4 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, 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, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, 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, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.65: +12 -2 lines
Diff to previous 1.65 (colored)

Define and implement a locking protocol for the ifmedia / mii layers:
- MP-safe drivers provide a mutex to ifmedia that is used to serialize
  access to media-related structures / hardware regsiters.  Converted
  drivers use the new ifmedia_init_with_lock() function for this.  The
  new name is provided to ease the transition.
- Un-converted drivers continue to call ifmedia_init(), which will supply
  a compatibility lock to be used instead.  Several media-related entry
  points must be aware of this compatibility lock, and are able to acquire
  it recursively a limited number of times, if needed.  This is a SPIN
  mutex with priority IPL_NET.
- This same lock is used to serialize access to PHY registers and other
  MII-related data structures.

The PHY drivers are modified to acquire and release the lock, as needed,
and assert the lock is held as a diagnostic aid.

The "usbnet" framework has had an overhaul of its internal locking
protocols to fit in with the media / mii changes, and the drivers adapted.

USB wifi drivers have been changed to provide their own adaptive mutex
to the ifmedia later via a new ieee80211_media_init_with_lock() function.
This is required because the USB drivers need an adaptive mutex.

Besised "usbnet", a few other drivers are converted: vmx, wm, ixgbe / ixv.

mcx also now calls ifmedia_init_with_lock() because it needs to also use
an adaptive mutex.  The mcx driver still needs to be fully converted to
NET_MPSAFE.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Nov 27 10:19:20 2019 UTC (4 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.64: +4 -9 lines
Diff to previous 1.64 (colored)

- Simplify sc->mii_anegticks setting. Same as FreeBSD.

   Don't set the default value not in the attach function. Instead, set the
  default value (MII_ANEGTICKS) first in the beginning of the
  mii_phy_add_media(). The function already has the code to change the value to
  MII_ANEGTICKS_GIGE if it's gigabit capable.

- Remove extra pmf_device_register() call. It's done in mii_phy_add_media().

Revision 1.61.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:14 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.61: +44 -50 lines
Diff to previous 1.61 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Mon Mar 25 09:20:46 2019 UTC (5 years ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.63: +18 -24 lines
Diff to previous 1.63 (colored)

 KNF. No functional change.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Feb 24 17:22:21 2019 UTC (5 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.62: +4 -7 lines
Diff to previous 1.62 (colored)

use a macro to tidy up the phydesc array initialization, from FreeBSD

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Sat Jan 26 22:00:06 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.61: +26 -23 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jan 22 03:42:27 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127
Changes since 1.61: +26 -23 lines
Diff to previous 1.61 (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.57.22.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:06 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.57.22.1: +4 -5 lines
Diff to previous 1.57.22.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

update from HEAD

Revision 1.59.4.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:04 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59.4.1: +5 -5 lines
Diff to previous 1.59.4.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Sync with HEAD

Revision 1.61 / (download) - annotate - [select for diffs], Sat Aug 12 11:21:15 2017 UTC (6 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, 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, nick-nhusb-base-20170825, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored)

Do not deref a NULL pointer if no current media has been selected.
This error condition does not happen with properly working hardware, but it is
no good reason for a kernel panic either.

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:03 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.59: +3 -4 lines
Diff to previous 1.59 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:41 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, netbsd-8-base, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.59: +3 -4 lines
Diff to previous 1.59 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.57.18.1 / (download) - annotate - [select for diffs], Sun Nov 9 12:13:15 2014 UTC (9 years, 5 months ago) by martin
Branch: netbsd-6
Changes since 1.57: +7 -10 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1189):
	sys/dev/pci/if_wm.c: revision 1.270
	sys/dev/mii/inphy.c: revision 1.53
	sys/dev/mii/glxtphy.c: revision 1.24
	sys/dev/mii/tlphy.c: revision 1.62
	sys/dev/mii/iophy.c: revision 1.37
	sys/dev/mii/brgphy.c: revision 1.70
	sys/dev/mii/ihphy.c: revision 1.8
	sys/dev/mii/bmtphy.c: revision 1.31
	sys/dev/mii/urlphy.c: revision 1.30
	sys/dev/mii/makphy.c: revision 1.40
	sys/dev/mii/qsphy.c: revision 1.48
	sys/dev/mii/igphy.c: revision 1.23
	sys/dev/mii/nsphy.c: revision 1.58
	sys/dev/mii/mvphy.c: revision 1.10
	sys/dev/pci/if_txp.c: revision 1.41
	sys/dev/mii/nsphy.c: revision 1.59
	sys/dev/mii/rlphy.c: revision 1.28
	sys/dev/mii/icsphy.c: revision 1.49
	sys/dev/mii/rlphy.c: revision 1.29
	sys/dev/mii/lxtphy.c: revision 1.49
	sys/dev/mii/ciphyreg.h: revision 1.5
	sys/dev/mii/nsphyter.c: revision 1.38
	sys/dev/mii/sqphy.c: revision 1.50
	sys/dev/mii/gentbi.c: revision 1.26
	sys/dev/mii/gentbi.c: revision 1.27
	sys/dev/mii/tqphy.c: revision 1.39
	sys/dev/mii/ikphy.c: revision 1.10
	sys/dev/mii/dmphy.c: revision 1.35
	sys/dev/mii/amhphy.c: revision 1.20
	sys/dev/mii/acphy.c: revision 1.24
	sys/dev/mii/ciphy.c: revision 1.25
	sys/dev/mii/brgphyreg.h: revision 1.8
	sys/dev/mii/ukphy_subr.c: revision 1.12
	sys/dev/ic/rtl80x9.c: revision 1.16
	sys/arch/mips/adm5120/dev/if_admsw.c: revision 1.12
	sys/dev/pci/if_kse.c: revision 1.28
	sys/dev/mii/ukphy_subr.c: revision 1.13
	sys/dev/mii/mii.h: revision 1.18
	sys/dev/mii/gphyter.c: revision 1.29
No functional change:
- Fix typo.
- Remove trailing white spaces.
- Capitalize comments.
- Tabify.
- KNF.
 IFM_FDX and IFM_HDX use different bit, so set IFM_HDX bit if it's not full
duplex. For many drivers, it recognize half duplex if IFM_FDX isn't set,
but not for others. Same as {Free|Open}BSD.

Revision 1.57.22.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:41 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.57: +7 -10 lines
Diff to previous 1.57 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.57.36.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:53 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.57: +7 -10 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Rebase.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Jun 16 16:48:16 2014 UTC (9 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.58: +6 -9 lines
Diff to previous 1.58 (colored)

 IFM_FDX and IFM_HDX use different bit, so set IFM_HDX bit if it's not full
duplex. For many drivers, it recognize half duplex if IFM_FDX isn't set,
but not for others. Same as {Free|Open}BSD.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jun 16 14:43:22 2014 UTC (9 years, 9 months ago) by msaitoh
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

No functional change:
- Fix typo.
- Remove trailing white spaces.
- Capitalize comments.
- Tabify.
- KNF.

Revision 1.54.14.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:39 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync to netbsd-5

Revision 1.52.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:41 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.52.4.2: +2 -7 lines
Diff to previous 1.52.4.2 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:14 2009 UTC (14 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-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, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jym-xensuspend-nbase, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy, netbsd-6
Changes since 1.56: +2 -7 lines
Diff to previous 1.56 (colored)

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

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:15 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.55: +5 -5 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.52.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:52 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.52.4.1: +5 -8 lines
Diff to previous 1.52.4.1 (colored) to branchpoint 1.52 (colored)

sync with head.

Revision 1.54.10.1 / (download) - annotate - [select for diffs], Fri May 1 01:29:20 2009 UTC (14 years, 11 months ago) by snj
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

Pull up following revision(s) (requested by cegger in ticket #474):
	sys/dev/mii/inphy.c: revision 1.51
	sys/dev/mii/iophy.c: revision 1.35
	sys/dev/mii/nsphy.c: revision 1.56
	sys/dev/mii/rlphy.c: revision 1.25
	sys/dev/mii/ukphy_subr.c: revision 1.11
	sys/dev/pci/if_txp.c: revision 1.28
fix media priorities:
IEEE 802.3 Annex 28B.3 specifies the following relative
priorities of the technologies supported by
802.3 Selector Field value:
1000BASE-T full duplex
1000BASE-T
100BASE-T2 full duplex
100BASE-TX full duplex
100BASE-T2
100BASE-T4
100BASE-TX
10BASE-T full duplex
10BAST-T
Our drivers give 100BASE-T4 a higher priority than
100BASE-TX full duplex.
Fix this. This patch is based on changes in FreeBSD and OpenBSD.
Patch presented on tech-kern and tech-net:
http://mail-index.netbsd.org/tech-kern/2009/02/15/msg004397.html
http://mail-index.netbsd.org/tech-net/2009/02/15/msg001064.html
got no comments, no objections.

Revision 1.54.8.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:06 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.54.8.1: +5 -5 lines
Diff to previous 1.54.8.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Sync with HEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Feb 16 08:00:42 2009 UTC (15 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base
Changes since 1.55: +5 -5 lines
Diff to previous 1.55 (colored)

fix media priorities:

IEEE 802.3 Annex 28B.3 specifies the following relative
priorities of the technologies supported by
802.3 Selector Field value:

1000BASE-T full duplex
1000BASE-T
100BASE-T2 full duplex
100BASE-TX full duplex
100BASE-T2
100BASE-T4
100BASE-TX
10BASE-T full duplex
10BAST-T

Our drivers give 100BASE-T4 a higher priority than
100BASE-TX full duplex.
Fix this. This patch is based on changes in FreeBSD and OpenBSD.

Patch presented on tech-kern and tech-net:
http://mail-index.netbsd.org/tech-kern/2009/02/15/msg004397.html
http://mail-index.netbsd.org/tech-net/2009/02/15/msg001064.html

got no comments, no objections.

Revision 1.54.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:14 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.54: +2 -5 lines
Diff to previous 1.54 (colored)

Sync with HEAD.

Revision 1.51.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:58 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.51.6.1: +0 -3 lines
Diff to previous 1.51.6.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

Revision 1.54.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:27 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.54: +2 -5 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

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

Revision 1.55 / (download) - annotate - [select for diffs], Mon Nov 17 03:04:27 2008 UTC (15 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.54: +2 -5 lines
Diff to previous 1.54 (colored)

Reduce code duplication: most PHY drivers call mii_phy_add_media()
when they attach to the device tree, so call pmf_device_register(9)
once there instead of once in more than twenty drivers.

Revision 1.51.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:35 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.51: +9 -16 lines
Diff to previous 1.51 (colored)

Sync with HEAD.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:13 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.52: +9 -16 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

sync with head.

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:37 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.52: +9 -16 lines
Diff to previous 1.52 (colored)

sync with head.

Revision 1.54 / (download) - annotate - [select for diffs], Sun May 4 17:06:10 2008 UTC (15 years, 11 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, 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, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, haad-dm
Changes since 1.53: +9 -9 lines
Diff to previous 1.53 (colored)

device_t/softc split for all mii(4) devices, and other related
cosmetic changes.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:53 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.52: +2 -9 lines
Diff to previous 1.52 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.52 / (download) - annotate - [select for diffs], Tue Apr 8 20:10:20 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

use aprint_*_dev and device_xname

Revision 1.49.30.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:51 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.49: +2 -5 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with HEAD.

Revision 1.43.4.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:28 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.43.4.2: +5 -5 lines
Diff to previous 1.43.4.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

sync with head

Revision 1.49.24.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:23 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.49: +5 -5 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with HEAD

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:54:34 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.50: +2 -5 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

Sync with HEAD

Revision 1.51 / (download) - annotate - [select for diffs], Sat Dec 29 19:34:55 2007 UTC (16 years, 3 months 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, matt-armv6-base, 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.50: +2 -5 lines
Diff to previous 1.50 (colored)

Remove the device_is_active() check from each individual PHY's
service routine.  Add a wrapper for PHY_SERVICE(), called phy_service(),
and check device_is_active() there.  Make the mii_*() routines call
the PHY service routines thorugh phy_service() instead of PHY_SERVICE().

In mii_phy_resume(), restore a PHY's state after resetting it by
sending a MII_MEDIACHG command.  This change makes bnx(4) resume
more reliably and more quickly; it should help other NICs to resume,
too, if they attach PHYs through MII.

Revision 1.49.34.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:37 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.49: +5 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.49.36.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:29:24 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.49: +5 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:04 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.49: +5 -2 lines
Diff to previous 1.49 (colored)

Merge jmcneill-pm branch.

Revision 1.49.22.2 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:18 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.49.22.1: +3 -3 lines
Diff to previous 1.49.22.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.49.22.1 / (download) - annotate - [select for diffs], Tue Nov 27 09:28:23 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.49: +5 -2 lines
Diff to previous 1.49 (colored)

Register MII PHY drives with the PM framework. Nothing to do on suspend,
just reset the PHY on resume.

Revision 1.43.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:38 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.43.4.1: +5 -4 lines
Diff to previous 1.43.4.1 (colored) to branchpoint 1.43 (colored)

sync with head.

Revision 1.46.10.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:36 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.46.10.1: +5 -5 lines
Diff to previous 1.46.10.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.46.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:26 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.46: +5 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with head.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Nov 16 21:24:07 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-kmem-base, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: yamt-kmem, vmlocking2, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

- don't hardcode 5, 10 define and use MII_ANEGTICKS{,_GIGE}
- instead of != limit, use <= limit (conservative)

Revision 1.48 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:06 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

__unused removal on arguments; approved by core.

Revision 1.46.10.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:12 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.46: +5 -4 lines
Diff to previous 1.46 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:25 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.46: +5 -4 lines
Diff to previous 1.46 (colored)

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

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:03 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:04:46 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

sync with head.

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:11 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with head.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:23 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:11 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

sync with head.

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:22 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Mar 29 07:05:24 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

Use device_private().

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:21 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Feb 20 16:50:37 2006 UTC (18 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:42 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

merge ktrace-lwp.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:04 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with -current

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:59 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.39.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:44:57 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.4: +3 -3 lines
Diff to previous 1.39.2.4 (colored) next main 1.40 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.43 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:31 2005 UTC (19 years, 1 month ago) by perry
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, 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
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

nuke trailing whitespace

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:30:41 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.3: +2 -2 lines
Diff to previous 1.39.2.3 (colored)

Fix the sync with head I botched.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:48:44 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.2: +2 -2 lines
Diff to previous 1.39.2.2 (colored)

Sync with HEAD.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:58:05 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.1: +14 -15 lines
Diff to previous 1.39.2.1 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Mon Aug 23 06:16:06 2004 UTC (19 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.41: +14 -15 lines
Diff to previous 1.41 (colored)

Make use of static.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:48:49 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39: +44 -4 lines
Diff to previous 1.39 (colored)

Sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Sun Nov 2 11:10:36 2003 UTC (20 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-base, 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, 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, netbsd-2
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Fix some typos. From Tom Cosgrove via jmc@openbsd.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Nov 2 01:42:28 2003 UTC (20 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.39: +43 -3 lines
Diff to previous 1.39 (colored)

Implement a separate nsphy_reset().  There are two reasons for this:

	1) This PHY can take an inordinate amount of time to reset if
	   media is attached.  Under fairly normal circumstances, up
	   to near one second.  This is because it appears to go through
	   an implicit autonegotiation cycle as part of the reset.

	2) During reset and autonegotiation, the BMCR will clear the reset
	   bit before the process is complete.  It will return 0 until the
	   process is complete and it's safe to access the PHY again.

This gets the on-board pcnet + nsphy ethernet working properly for me on
an IBM PC Server/325.  Fixes PR/16346.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 29 01:49:34 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.38: +7 -6 lines
Diff to previous 1.38 (colored)

Use aprint*().

Revision 1.28.2.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:42:48 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.28.2.6: +2 -4 lines
Diff to previous 1.28.2.6 (colored) next main 1.29 (colored)

Catch up to -current.

Revision 1.31.2.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:09 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.31.2.4: +4 -6 lines
Diff to previous 1.31.2.4 (colored) next main 1.32 (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.38 / (download) - annotate - [select for diffs], Wed Oct 2 16:34:19 2002 UTC (21 years, 6 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.37: +3 -3 lines
Diff to previous 1.37 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Sep 30 21:57:49 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +4 -6 lines
Diff to previous 1.36 (colored)

Use CFATTACH_DECL().

Revision 1.36 / (download) - annotate - [select for diffs], Fri Sep 27 20:39:24 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Declare all cfattach structures const.

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:45:03 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.31.2.3: +2 -3 lines
Diff to previous 1.31.2.3 (colored)

sync kqueue branch with HEAD

Revision 1.28.2.6 / (download) - annotate - [select for diffs], Thu Aug 1 02:45:07 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.5: +0 -1 lines
Diff to previous 1.28.2.5 (colored)

Catch up to -current.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:31 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.34: +2 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

catch up with -current.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jul 3 06:25:52 2002 UTC (21 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.34: +2 -3 lines
Diff to previous 1.34 (colored)

Don't include <malloc.h> - no memory management style functions are use
in any of the MII drivers.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:47:25 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.31.2.2: +3 -3 lines
Diff to previous 1.31.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.28.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:46:12 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.4: +2 -2 lines
Diff to previous 1.28.2.4 (colored)

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

Revision 1.34 / (download) - annotate - [select for diffs], Mon Mar 25 20:51:25 2002 UTC (22 years ago) by thorpej
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-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, netbsd-1-6
Branch point for: gehenna-devsw
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Get flags passed down to PHY drivers correctly.  This was done on
an adhoc basis in a couple of PHY drivers, this fixes it more generally.

Per a discussion w/ Cliff Neighbors <cliff@allegronetworks.com>.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:16 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.31.2.1: +4 -1 lines
Diff to previous 1.31.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.28.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:03 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.3: +4 -1 lines
Diff to previous 1.28.2.3 (colored)

Catch up to -current.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Nov 13 07:41:37 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Changes since 1.32: +4 -1 lines
Diff to previous 1.32 (colored)

add RCSID

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:50 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.2: +9 -18 lines
Diff to previous 1.28.2.2 (colored)

Catch up to -current.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:46 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.31: +9 -18 lines
Diff to previous 1.31 (colored)

Update the kqueue branch to HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Aug 25 18:04:01 2001 UTC (22 years, 7 months ago) by thorpej
Branch: 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
Changes since 1.31: +9 -18 lines
Diff to previous 1.31 (colored)

ANSI'ify.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:04:24 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.1: +14 -5 lines
Diff to previous 1.28.2.1 (colored)

Catch up to -current.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jun 2 21:39:40 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.30: +13 -5 lines
Diff to previous 1.30 (colored)

Make PHY matching all table-driven.

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 31 16:02:29 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored)

Make the number of ticks between auto-negotiation tries PHY-specific,
and default every PHY to 5 seconds (what we used before).  If we find
Gig-E media on a PHY, bump it to 10 seconds, since it can take 5
seconds just to negotiate a Gig-E link.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Sat Apr 21 17:49:04 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.18.2.1: +4 -4 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:56:55 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Catch up with -current.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Mar 28 14:16:49 2001 UTC (23 years ago) by drochner
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

update for miidevs changes

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:11 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.18: +31 -87 lines
Diff to previous 1.18 (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.16.6.2 / (download) - annotate - [select for diffs], Mon Jul 31 17:21:00 2000 UTC (23 years, 8 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.16.6.1: +7 -4 lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Pull up revision 1.28 (requested by martin):
  Fix autonegotiation problem with some fxp cards.  Fixes PR#10550.

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Fri Jul 28 10:10:30 2000 UTC (23 years, 8 months ago) by martin
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.26.4.1: +7 -4 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Pullup revision 1.28 (approved by Jason Thorpe)

  Fix to autonegotiation problem with some fxp cards. Fix found and reported
  by Erich T. Enke et al. on current-users.

Fixes PR 10550.

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jul 27 22:14:48 2000 UTC (23 years, 8 months ago) by martin
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.27: +7 -4 lines
Diff to previous 1.27 (colored)

Fix to autonegotiation problem with some fxp cards. Fix found and reported
by Erich T. Enke et al. on current-users. This fixes PR 10550.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Tue Jul 4 04:11:13 2000 UTC (23 years, 9 months ago) by thorpej
Branch: netbsd-1-5
Changes since 1.26: +8 -5 lines
Diff to previous 1.26 (colored)

Update from trunk:
Restructure the PHY entry points to use a structure of entry points
instead of discrete function pointers, and extend this to include
a "reset" entry point.  Make sure any PHY-specific reset routine is
always used, and provide one for the LXT-970 which disables MII
interrupts (as is done for a few other PHYs we have drivers for).

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 4 03:28:59 2000 UTC (23 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +8 -5 lines
Diff to previous 1.26 (colored)

Restructure the PHY entry points to use a structure of entry points
instead of discrete function pointers, and extend this to include
a "reset" entry point.  Make sure any PHY-specific reset routine is
always used, and provide one for the LXT-970 which disables MII
interrupts (as is done for a few other PHYs we have drivers for).

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 6 20:56:57 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.25: +3 -36 lines
Diff to previous 1.25 (colored)

Factor out the tick handling code into a common function, and send
rt_ifmsg's when the link speed or link status changes.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 2 23:34:57 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.24: +2 -13 lines
Diff to previous 1.24 (colored)

Let mii_phy_setmedia() handle the IFM_AUTO case, too.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 2 17:50:45 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

Make PHY drivers provide a pointer to their status routine, and add
a generic mii_phy_status() that calls back into the PHY.  It doesn't
do anything interesting yet, but it will soon.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Feb 2 17:09:44 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +2 -8 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Wed Feb 2 08:05:33 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

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

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jan 27 16:44:30 2000 UTC (24 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +6 -2 lines
Diff to previous 1.20 (colored)

Add detachment support to the MII layer.

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:13 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.18: +9 -26 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up to last week's -current.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:40:56 1999 UTC (24 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.18: +9 -26 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with -current

Revision 1.20 / (download) - annotate - [select for diffs], Fri Nov 12 18:13:01 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored)

Add mii_down(), which is used by MAC drivers to inform PHYs that the
interface is now down.  PHYs use this to cancel pending asynchronous
operations.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 3 22:30:32 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +5 -26 lines
Diff to previous 1.18 (colored)

Clean up the code that adds media a little, and make media selection
table-driven in preparation for some other changes to be made.

Revision 1.16.6.1.2.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:01:09 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.16.6.1.2.1: +4 -5 lines
Diff to previous 1.16.6.1.2.1 (colored) to branchpoint 1.16.6.1 (colored) next main 1.16.6.2 (colored)

Update from trunk.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 14 23:57:36 1999 UTC (24 years, 9 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.17: +4 -5 lines
Diff to previous 1.17 (colored)

Correct the sense of the PCR_FLINK100 bit.  From Dave Sainty, PR #7832.

Revision 1.16.6.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:18:22 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.16.6.1: +0 -0 lines
Diff to previous 1.16.6.1 (colored)

Sync w/ -current.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Fri Apr 23 15:39:44 1999 UTC (24 years, 11 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored)

pullup 1.16->1.17 (thorpej): Fix PR7361

Revision 1.17 / (download) - annotate - [select for diffs], Fri Apr 23 04:24:32 1999 UTC (24 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored)

Implement asynchronous autonegotiation when driven by the MII tick
(one-second clock).  Prevents .5s delays every 5 seconds when the interface
is up but there is no link.  Fixes PR 7361.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 5 04:08:02 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Branch point for: netbsd-1-4
Changes since 1.15: +3 -9 lines
Diff to previous 1.15 (colored)

Common code for media-from-bmcr.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 5 00:19:32 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +49 -56 lines
Diff to previous 1.14 (colored)

Place the essentially common "ticks" and "active" members into the
mii_softc (generic phy goo), and just switch all of the PHY drivers
(except tlphy, which really does have special stuff) to use an mii_softc
instead of a private one.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 4 23:44:09 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Return a higher-priority match than 1.  These are specific drivers.  This
allows for a "generic unknown PHY" driver to be implemented.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 4 23:28:15 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +10 -31 lines
Diff to previous 1.12 (colored)

Factor out the common reset code.  Use the NOISOLATE flags as appropriate
to prevent a PHY from being isolated in the event the MAC can't deal with
this.  (3Com 3c905B-TX, and Intel i82557).

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 4 23:07:15 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +8 -31 lines
Diff to previous 1.11 (colored)

Factor out some common code from all the PHY drivers (autonegotiation, for
now.)

Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 4 22:15:40 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +26 -31 lines
Diff to previous 1.10 (colored)

Define and use generic PHY read/write reg macros.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 2 22:31:37 1998 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +9 -13 lines
Diff to previous 1.9 (colored)

When doing a media change service request, use the media word from the
current ifmedia_entry, not from the user-supplied media word.  The
user supplied media word may not necessarily match e.g. instance (if
the parent MAC driver is intentionally ignoring instance if its expecting
multiple PHYs with non-overlapping media, e.g. TI ThunderLAN) the media
word we are actually switching to.

Since PHY drivers use `instance' to determine if they should isolate
themselves, the ThunderLAN PHY was sometimes being incorrectly isolated
when in fact the user attempted to select that PHY (for e.g. BNC operation).

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 14 00:23:26 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +29 -3 lines
Diff to previous 1.8 (colored)

Make sure CIMDIS is set and FLINK is clear in the PCR.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Aug 12 22:41:21 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +33 -2 lines
Diff to previous 1.7 (colored)

If the autonegotiation is enabled, the PAR doesn't indicate duplex mode
properly!  Work around this by determing current active media by taking
the highest-order common bit of our advertised capabilites and the link
partner's.

If the link partner doens't do autonegotiation, then parallel detection will
pick up the media type, which will never be full-duplex, so reading the PAR
is ok in this case.

Bug pointed out by Matthias Drochner, work-around inspired by reading
the dp83840 manual, section 3.9 (IEEE 802.3u auto-negotiation).

Revision 1.7 / (download) - annotate - [select for diffs], Wed Aug 12 20:56:35 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

If autonegotiation is enabled in the BMSR, and the BMCR doens't claim
that it has completed, report "none" as the active media type.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Aug 12 20:46:47 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

Ugh, don't print out "autonegotiation failed to complete" if it did.
We get these once a second if we're in auto mode, the interface is up,
and there's no carrier.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 10 23:58:39 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +316 -68 lines
Diff to previous 1.4 (colored)

Adapt to the new MII layer.  This PHY driver now properly supports
802.3u autonegotiation, and will report the precise media selected
by autonegotiation by reading PHY-specific registers.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 9 07:30:44 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.3: +1 -9 lines
Diff to previous 1.3 (colored)

Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 12 09:28:53 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +1 -5 lines
Diff to previous 1.2 (colored)

Adjust for config changes.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 17 09:02:27 1997 UTC (26 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +21 -18 lines
Diff to previous 1.1 (colored)

KNF.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 17 17:34:02 1997 UTC (26 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3

Generic functions for the MII layer. mii attaches to mii-capable network
adapters, and provide media-selections and status to the parent.
This includes drivers for the Thunderland integrated PHY, and
National Semiconductor's DP83840A.
Note: The interface betweeen network controller and mii is not complete yet,
and will need some minors tweaks to support media auto-selection.

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>