CVS log for src/sys/dev/mii/ukphy.c
Up to [cvs.NetBSD.org] / src / sys / dev / mii
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.54.8.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:24 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -4
lines
Sync with HEAD.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Jun 29 21:03:36 2021 UTC (5 years, 4 months ago) by pgoyette
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -4
lines
Rework the xxxVERBOSE option to share the common module-hook-based
verbose mechanism with MIIVERBOSE. This reduces some duplicated code
and allows us to once again permit auto-unload of MIIVERBOSE.
Change details:
* Update dev/devlist2h.awk to accomodate miidevs, including generation
of MII_STR_oui_model definitions and use of oui and model rather than
vendor and product. This also changes the compressed data in the
xxxdevs_data.h files to uint32_t (since mii oui's are up to 6 hex
digits long)
* Update a couple of phy drivers to use new calls to get verbose data
* Regen all of the xxxdevs{,_data}.h files (separate commit, coming
very soon)
* Update mii/mii_verbose.[ch] and mii/mii_physubr.c to use the various
DEV_VERBOSE_xxx macros
* Update the pci, usb, and hdaudio code as needed, to #include the
xxxdevs.h files (in order to get the proper printf format strings)
* Since dev/dev_verbose.c now uses non-literal printf format strings,
(to deal with the vendor/product vs oui/model issue), we need to
make sure it gets compiled with -Wno-error=format-nonliteral, even
in userland's libpci and librumpdev!
* Bump kernel version for the change in module interfaces
Welcome to 9.99.86!
XXX It might be useful in the future to extend the MII_STR_oui_model
XXX definitions to PCI as well (and perhaps USB and HDAUDIO). This
XXX would allow for a single centralized location for the products'
XXX descriptions, rather than being dispersed among individual
XXX drivers' xxx_match tables.
Revision 1.49.18.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:08 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.49.18.1: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.18.1: +12 -13
lines
Merge changes from current as of 20200406
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Mar 28 18:37:18 2020 UTC (6 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
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
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -5
lines
Don't set DVF_DETACH_SHUTDOWN. The MII layer wants to manage the lifecycle
of the PHY devices, and if a NIC driver chooses not to detach its PHYs
at shutdown, that's the driver's business.
PR kern/55121.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Mar 15 23:04:50 2020 UTC (6 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +8 -2
lines
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.52: download - view: text, markup, annotated - select for diffs
Wed Nov 27 10:19:21 2019 UTC (6 years, 11 months ago) by msaitoh
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -10
lines
- 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.49.18.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:14 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +17 -22
lines
Sync with HEAD
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Mar 25 09:20:46 2019 UTC (7 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-5-RELEASE,
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,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +12 -18
lines
KNF. No functional change.
Revision 1.49.16.1: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:06 2019 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +7 -6
lines
Sync with HEAD
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Jan 22 03:42:27 2019 UTC (7 years, 9 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-compat-20190127
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -6
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.43.18.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:06 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.43.18.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.18.1: +6 -2
lines
update from HEAD
Revision 1.46.10.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:03 2016 UTC (10 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.46.10.2: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.10.2: +3 -4
lines
Sync with HEAD
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:41 2016 UTC (10 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
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,
localcount-20160914,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -4
lines
KNF. Remove extra spaces. No functional change.
Revision 1.43.14.1: download - view: text, markup, annotated - select for diffs
Fri May 6 18:43:34 2016 UTC (10 years, 6 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +5 -2
lines
Pull up following revision(s) (requested by msaitoh in ticket #1366):
sys/dev/pci/if_wm.c: 1.281, 1.318, 1.320, 1.324-1.332, 1.334, 1.336, 1.343-1.344, 1.347-1.348, 1.350, 1.376-1.382, 1.386-1.387, 1.389 via patch
sys/dev/pci/if_wmreg.h: 1.68-1.70, 1.73-1.77, 1.79-1.80, 1.82, 1.86-1.88 via patch
sys/dev/pci/if_wmvar.h: 1.22-1.23, 1.25-1.30 via patch
sys/dev/mii/igphy.c: 1.25
sys/dev/mii/ukphy.c: 1.48
Sync wm(4) as of if_wm.c rev 1.389 except SERDES, MSI/MSI-X, multiqueue
and NET_MPSAFE:
- Set ICH9 and ICH10's PBA size to 14K if the RX buffer size is more
than 4096. Almost the same as other OSes.
- For 82576 and newer devices, the PBA register is deleted. Don't write
PBA for those chips. Also change the calculation of RX packet buffer
size in new way.
- Print NVM image version and option ROM version.
- Add workaround for I210 Errata 25 and I211 Errata 10 (PLL bug). This
workaround is required if the NVM image version < 3.25.
- Fix a bug that wm_detach() didn't unmap the FHASH's area. Now
"drvctl -d wm0" -> "drvctl -r pci0" works on ICH* and PCH*.
- Add workaround for 82574 Errata 25 and 82583 Errata 12 "Dropped RX
packets" and for 82573 (unknown). Set GCR_L1_ACT_WITHOUT_L0S_RX bit.
The NVM Image version 2.1.4 and newer have this workaround.
- Check PHY type correctly. This change is required to use igphy(4)
device correctly.
- Disable LPLU (Low Power Link Up) on D0 state on 82574, 82583 and ICH*
too.
- Call wm_get_hw_control() correctly. This change fixes a bug that some
AMT based systems doesn't linkup at 1000BaseT. The problem was
observed on HP Compaq dc7700. A lot of fixes have been done for wm(4)
and igphy(4), so now PR#44893 should be fixed.
- Call wm_get_wakeup(sc) before checking WM_F_HAS_AMT. It's required to
check the existence of AMT correctly.
- Fix a problem that wm_gate_hw_phy_config_ich8lan() isn't called in
wm_reset() on PCH2.
- Clear WMREG_WUC in wm_reset() if the chip >= 82544. This might fix
the behavior on suspend/resume.
- Fix logic of wm_check_reset_block() on ICH* and PCH*. This change
might fix a problem that PHY's read/write functions can't get
semaphore.
- On ICH8, call wm_gig_downshift_workaround_ich8lan() when link changed
down.
- Drop PHY_CTRL_GBE_DIS explicitly in wm_lplu_d0_disable() in case BIOS
sets this bit.
- Fix two bugs in wm_kmrn_lock_loss_workaround_ich8lan(). Now the
function checks the status correctly but it causes linkdown up to 10
times, so it's disabled for the time being.
- PR/50527: David Binderman: Fix impossible code. Odd offsets need
special treatment.
- Fix RAL table's size of PCH2 and PCH_LPT.
- PCH_LPT (and newer device) is required to check FWSM_WLOCK_MAC bit to
determine the range of the RAL.
- Use sc->sc_itr instead of hard-coded number.
- Rename wm_tbi_check_link() to wm_tbi_tick() because this function
acts as mii_tick().
- ACK Accelerate Disable in the RFCTL register is not bit 13 but 12.
No binary change because this definition has not used yet.
- Add ACK data Disable bit's definition (not used yet).
- PHY_CTRL_GBE_DIS is not bit 4 but bit 6. This change has no any
effect by default because WM_WOL is not defined yet and
m_kmrn_lock_loss_workaround_ich8lan() is broken.
- Fix wm_check_mng_mode_ich8lan(). This function is used only when
WM_WOL is defined and it's disabled by default.
- Rename wm_check_reset_block() to wm_phy_resetisblocked() and make it
returns bool. No functional change.
- Reorder function definitions and macro definitions. No functional
change.
- Fix comment. Add comment. Update comment.
- KNF.
Revision 1.46.8.1: download - view: text, markup, annotated - select for diffs
Fri Feb 26 22:08:17 2016 UTC (10 years, 8 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
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
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +5 -2
lines
Pull up following revision(s) (requested by msaitoh in ticket #1102):
sys/dev/mii/igphy.c: 1.25
sys/dev/mii/ukphy.c: 1.48
sys/dev/pci/if_wm.c: revisions 1.308, 1.318, 1.320, 1.324-1.332, 1.334, 1.336, 1.343-1.344, 1.347-1.348, 1.350, 1.376-1.382, 1.386-1.389 via patch
sys/dev/pci/if_wmreg.h: revisions 1.68-1.70, 1.73-1.77, 1.79-1.80, 1.82, 1.86-1.88 via patch
sys/dev/pci/if_wmvar.h: revisions 1.22-1.23, 1.25-1.30 via patch
Sync wm(4) as of if_wm.c rev 1.389 except MSI/MSI-X, multiqueue and NET_MPSAFE:
- Add C2000 KX and 2.5G support.
- Set ICH9 and ICH10's PBA size to 14K if the RX buffer size is more than
4096. Almost the same as other OSes.
- For 82576 and newer devices, the PBA register is deleted. Don't write PBA
for those chips. Also change the calculation of RX packet buffer size in
new way.
- Fix a lot of bugs to make 82575 and newer SERDES based systems work.
- Print NVM image version and option ROM version.
- Add workaround for I210 Errata 25 and I211 Errata 10 (PLL bug). This
workaround is required if the NVM image version < 3.25.
- Fix a bug that wm_detach() didn't unmap the FHASH's area. Now
"drvct -d wm0" -> "drvctl -r pci0" works on ICH* and PCH*.
- Add workaround for 82574 Errata 25 and 82583 Errata 12 "Dropped RX packets"
and for 82573 (unknown). Set GCR_L1_ACT_WITHOUT_L0S_RX bit. The NVM Image
version 2.1.4 and newer have this workaround.
- Check PHY type correctly. This change is required to use igphy(4) device
correctly.
- Disable LPLU (Low Power Link Up) on D0 state on 82574, 82583 and ICH* too.
- Call wm_get_hw_control() correctly. This change fixes a bug that some AMT
based systems doesn't linkup at 1000BaseT. The problem was observed on HP
Compaq dc7700. A lot of fixes have been done for wm(4) and igphy(4), so now
PR#44893 should be fixed.
- Call wm_get_wakeup(sc) before checking WM_F_HAS_AMT. It's required to
check the existence of AMT correctly.
- Fix a problem that wm_gate_hw_phy_config_ich8lan() isn't called in
wm_reset() on PCH2.
- Clear WMREG_WUC in wm_reset() if the chip >= 82544. This might fix the
behavior on suspend/resume.
- Fix logic of wm_check_reset_block() on ICH* and PCH*. This change might fix
a problem that PHY's read/write functions can't get semaphore.
- On ICH8, call wm_gig_downshift_workaround_ich8lan() when link changed down.
- Drop PHY_CTRL_GBE_DIS explicitly in wm_lplu_d0_disable() in case BIOS sets
this bit.
- Fix two bugs in wm_kmrn_lock_loss_workaround_ich8lan(). Now the function
checks the status correctly but it causes linkdown up to 10 times, so it's
disabled for the time being.
- PR/50527: David Binderman: Fix impossible code. Odd offsets need special
treatment.
- Fix RAL table's size of PCH2 and PCH_LPT.
- PCH_LPT (and newer device) is required to check FWSM_WLOCK_MAC bit to
determine the range of the RAL.
- Use sc->sc_itr instead of hard-coded number.
- Rename wm_tbi_check_link() to wm_tbi_tick() because this function acts as
mii_tick().
- ACK Accelerate Disable in the RFCTL register is not bit 13 but 12.
No binary change because this definition has not used yet.
- Add ACK data Disable bit's definition (not used yet).
- PHY_CTRL_GBE_DIS is not bit 4 but bit 6. This change has no any effect by
default because WM_WOL is not defined yet and
m_kmrn_lock_loss_workaround_ich8lan() is broken.
- Fix wm_check_mng_mode_ich8lan(). This function is used only when WM_WOL is
defined and it's disabled by default.
- Rename wm_check_reset_block() to wm_phy_resetisblocked() and make it returns
bool. No functional change.
- Reorder function definitions and macro definitions. No functional change.
- Fix comment. Add comment. Update comment.
- KNF.
Revision 1.46.10.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:50 2015 UTC (10 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.46.10.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.10.1: +5 -2
lines
Sync with HEAD (as of 26th Dec)
Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Oct 30 07:35:30 2015 UTC (11 years ago) by msaitoh
Branches: MAIN
CVS tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -2
lines
igphy(4),ukphy(4): Set mii_mpd_* entries.
wm(4): check PHY type correctly.
Revision 1.46.10.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:58 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -2
lines
Sync with HEAD
Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Aug 24 23:55:04 2015 UTC (11 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -2
lines
add some _KERNEL_OPT as the finishing touch
Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:23 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +2 -8
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.43.18.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:18 2013 UTC (13 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -8
lines
resync from head
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jun 11 16:18:48 2013 UTC (13 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: yamt-pagecache-base9,
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-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-base,
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
Branch point for: nick-nhusb,
netbsd-7
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -8
lines
Remove wrong autonegotiation check. The mii_phy_tick() checks about
autonegotiation correctly. This change fixes the problem that the
autonegotiation timer doesn't work correctly with
"ifcongig xxx media 1000BaseT"
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Jun 9 09:24:29 2013 UTC (13 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
Tabify. No functional change.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Jun 9 09:15:51 2013 UTC (13 years, 5 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
Don't "return" but "break" in MII_TICK when the interface isn't doing
autonegotiaton or the link is up to update the status.
Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:20 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.1: +4 -23
lines
Sync with HEAD.
Revision 1.33.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:40 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33.4.4: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.4.4: +7 -25
lines
sync with head.
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:36 2010 UTC (16 years, 4 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +6 -25
lines
sync with head
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jun 6 18:58:22 2010 UTC (16 years, 5 months ago) by pgoyette
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
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-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
khorben-n900,
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: yamt-pagecache,
tls-maxphys,
netbsd-6
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -3
lines
Update miiverbose module to use module_autoload() rather than module_load().
Load the module right before each attempt to use its features, and let the
module subsystem handle unloading.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Jun 2 19:47:34 2010 UTC (16 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -30
lines
Move all miiverbose/module related functions from ukphy.c to mii_physubr.c -
ukphy is not included in all kernels, but mii_physubr.c should be in every
kernel that has a phy.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun May 30 17:44:08 2010 UTC (16 years, 5 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +35 -25
lines
Extract MIIVERBOSE into a kernel module. The module can be builtin
by defining 'options MIIVERBOSE' in the kernel config file (no change
from current behavior), or it can be loaded at boot time on those
architectures that support the boot loader's "load" command.
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:28 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -4
lines
Sync with HEAD.
Revision 1.33.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:41 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33.4.3: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.4.3: +5 -9
lines
sync with head
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Mar 11 04:19:56 2010 UTC (16 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -2
lines
various aprint_* fixes.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Feb 24 22:37:59 2010 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -4
lines
A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Oct 19 18:41:14 2009 UTC (17 years, 1 month ago) by bouyer
Branches: MAIN
CVS tags: uebayasi-xip-base,
matt-premerge-20091211,
jym-xensuspend-nbase
Branch point for: uebayasi-xip
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -7
lines
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !
Revision 1.33.4.3: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:49 2009 UTC (17 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33.4.2: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.4.2: +4 -6
lines
sync with head
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Aug 23 15:26:42 2009 UTC (17 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -6
lines
Save a line of dmesg by printing the OUI/model after the locators.
Revision 1.33.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:52 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33.4.1: preferred, colored; branchpoint 1.33: preferred, colored
Changes since revision 1.33.4.1: +2 -5
lines
sync with head.
Revision 1.35.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:18:14 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +2 -5
lines
Sync with HEAD.
Revision 1.32.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:58 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.32.6.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.6.1: +0 -3
lines
Sync with HEAD.
Revision 1.35.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:27 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +2 -5
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Nov 17 03:04:27 2008 UTC (18 years ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jymxensuspend-base,
jym-xensuspend-base,
jym-xensuspend,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -5
lines
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.32.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:35 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +13 -20
lines
Sync with HEAD.
Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:13 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +11 -18
lines
sync with head.
Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:37 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +11 -18
lines
sync with head.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun May 4 17:06:10 2008 UTC (18 years, 6 months ago) by xtraeme
Branches: 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-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-dm-base1
Branch point for: nick-hppapmap,
haad-dm
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +11 -11
lines
device_t/softc split for all mii(4) devices, and other related
cosmetic changes.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:53 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Apr 8 20:10:20 2008 UTC (18 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.32: preferred, colored
Changes since revision 1.32: +7 -7
lines
use aprint_*_dev and device_xname
Revision 1.30.30.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:51 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +2 -5
lines
Sync with HEAD.
Revision 1.24.12.3: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:43:30 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.12.2: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.12.2: +5 -5
lines
sync with head
Revision 1.30.24.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:53:25 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +5 -5
lines
sync with HEAD
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:54:36 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +2 -5
lines
Sync with HEAD
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Dec 29 19:34:56 2007 UTC (18 years, 10 months ago) by dyoung
Branches: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -5
lines
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.30.34.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:46:38 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +5 -2
lines
Sync with head.
Revision 1.30.36.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:29:25 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +5 -2
lines
sync with head.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:28:04 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
vmlocking2-base3,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -2
lines
Merge jmcneill-pm branch.
Revision 1.30.22.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 16:21:20 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.30.22.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.22.1: +3 -3
lines
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.30.22.1: download - view: text, markup, annotated - select for diffs
Tue Nov 27 09:28:24 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -2
lines
Register MII PHY drives with the PM framework. Nothing to do on suspend,
just reset the PHY on resume.
Revision 1.24.12.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:38 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24.12.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.12.1: +5 -4
lines
sync with head.
Revision 1.27.10.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:36 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.27.10.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.10.1: +6 -6
lines
sync with head.
Revision 1.27.8.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:27 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +5 -4
lines
Sync with head.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Nov 16 21:24:07 2006 UTC (20 years ago) by christos
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3
lines
- don't hardcode 5, 10 define and use MII_ANEGTICKS{,_GIGE}
- instead of != limit, use <= limit (conservative)
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:06 2006 UTC (20 years ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -5
lines
__unused removal on arguments; approved by core.
Revision 1.27.10.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:12 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -4
lines
sync with head
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:25 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +5 -4
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:52:03 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +4 -4
lines
sync with head
Revision 1.24.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:04:46 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4
lines
sync with head.
Revision 1.25.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:11 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +4 -4
lines
Sync with head.
Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:23 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +3 -3
lines
sync with head.
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:11 2006 UTC (20 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +3 -3
lines
sync with head.
Revision 1.26.6.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:22 2006 UTC (20 years, 7 months ago) by tron
Branches: peter-altq
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +3 -3
lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Mar 29 07:05:24 2006 UTC (20 years, 7 months ago) by thorpej
Branches: 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
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
Use device_private().
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 1 09:28:21 2006 UTC (20 years, 8 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +3 -3
lines
sync with head.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Feb 20 16:50:37 2006 UTC (20 years, 9 months ago) by thorpej
Branches: 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
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:42 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2
lines
merge ktrace-lwp.
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:30:41 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:48:44 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:58:05 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +9 -9
lines
Sync with HEAD.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Aug 23 06:16:07 2004 UTC (22 years, 2 months ago) by thorpej
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,
yamt-km-base2,
yamt-km-base,
yamt-km,
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,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +9 -9
lines
Make use of static.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Tue Apr 29 01:49:34 2003 UTC (23 years, 6 months ago) by thorpej
Branches: 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
Branch point for: ktrace-lwp
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +9 -8
lines
Use aprint*().
Revision 1.13.2.6: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:42:49 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.13.2.5: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.5: +2 -4
lines
Catch up to -current.
Revision 1.15.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:40:11 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.15.2.4: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.4: +4 -6
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 2 16:34:22 2002 UTC (24 years, 1 month ago) by thorpej
Branches: 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
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
Add trailing ; to CFATTACH_DECL.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Sep 30 21:57:50 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -6
lines
Use CFATTACH_DECL().
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:39:27 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
Declare all cfattach structures const.
Revision 1.15.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:45:04 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.15.2.3: preferred, colored
Changes since revision 1.15.2.3: +2 -3
lines
sync kqueue branch with HEAD
Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:45:09 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.4: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.4: +0 -1
lines
Catch up to -current.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:35:33 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +2 -3
lines
catch up with -current.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jul 3 06:25:53 2002 UTC (24 years, 4 months ago) by simonb
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -3
lines
Don't include <malloc.h> - no memory management style functions are use
in any of the MII drivers.
Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:47:28 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.15.2.2: preferred, colored
Changes since revision 1.15.2.2: +3 -3
lines
catch up with -current on kqueue branch
Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:46:15 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.3: +2 -2
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Mar 25 20:51:26 2002 UTC (24 years, 7 months ago) by thorpej
Branches: 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
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.15.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:56:18 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.15.2.1: preferred, colored
Changes since revision 1.15.2.1: +4 -1
lines
Sync kqueue branch with -current.
Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:03 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +4 -1
lines
Catch up to -current.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:41:37 2001 UTC (25 years ago) by lukem
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -1
lines
add RCSID
Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:51 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +7 -15
lines
Catch up to -current.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:48 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -15
lines
Update the kqueue branch to HEAD.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Aug 25 18:04:02 2001 UTC (25 years, 2 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.15: preferred, colored
Changes since revision 1.15: +7 -15
lines
ANSI'ify.
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:04:26 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -2
lines
Catch up to -current.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu May 31 16:02:29 2001 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1
lines
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.14: download - view: text, markup, annotated - select for diffs
Mon Apr 30 19:49:08 2001 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -2
lines
Add code to recognize and set media on GMII (Gigabit MII) PHYs.
802.3 doens't specify ANAR or ANLPAR bits for GMII. Need to
use PHY-specific registers for this, for now, which means we
need specific drivers for the Gigabit-capable PHYs (I think the
most common is the BCM5400).
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:12 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +58 -71
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.12.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 4 04:11:13 2000 UTC (26 years, 4 months ago) by thorpej
Branches: 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
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +8 -5
lines
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.13: download - view: text, markup, annotated - select for diffs
Tue Jul 4 03:29:00 2000 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -5
lines
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.11.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:07:15 2000 UTC (26 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +3 -1
lines
Sync w/ netbsd-1-5-base.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jun 11 02:13:34 2000 UTC (26 years, 5 months ago) by sommerfeld
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -1
lines
defopt MIIVERBOSE
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon May 8 13:25:35 2000 UTC (26 years, 6 months ago) by augustss
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +30 -4
lines
Allow a verbose description to be printed with the option MIIVERBOSE.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Mar 6 20:56:57 2000 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -30
lines
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.9: download - view: text, markup, annotated - select for diffs
Wed Feb 2 23:34:57 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -13
lines
Let mii_phy_setmedia() handle the IFM_AUTO case, too.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Feb 2 17:50:47 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2
lines
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.7: download - view: text, markup, annotated - select for diffs
Wed Feb 2 17:09:45 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1
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.6: download - view: text, markup, annotated - select for diffs
Wed Feb 2 08:05:34 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
Bring some order to the chaos which was the MII code function naming
"conventions".
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 27 16:44:30 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +6 -2
lines
Add detachment support to the MII layer.
Revision 1.2.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:35:14 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +11 -23
lines
Pull up to last week's -current.
Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:57 1999 UTC (27 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +11 -23
lines
Sync with -current
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Nov 12 18:13:01 1999 UTC (27 years ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -1
lines
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.3: download - view: text, markup, annotated - select for diffs
Wed Nov 3 22:30:32 1999 UTC (27 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -23
lines
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.1.6.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:18:23 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.1.6.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.1: +0 -0
lines
Sync w/ -current.
Revision 1.1.6.1: download - view: text, markup, annotated - select for diffs
Fri Apr 23 15:39:00 1999 UTC (27 years, 7 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +6 -4
lines
pullup 1.1->1.2 (thorpej): Fix PR7361
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Apr 23 04:24:32 1999 UTC (27 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -4
lines
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.1: download - view: text, markup, annotated - select for diffs
Thu Nov 5 00:36:48 1998 UTC (28 years ago) by thorpej
Branches: 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
Add a driver for "generic unknown PHYs", meant as a catch-all for
PHYs we don't have specific drivers for. While this will not give
optimum operation, it will allow network interface drivers to at least
function while drivers for their specific PHYs are written.
CVSweb <webmaster@jp.NetBSD.org>