diff options
author | wpaul <wpaul@FreeBSD.org> | 2003-09-11 03:53:46 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2003-09-11 03:53:46 +0000 |
commit | 99df7d00b68527fa99cdc340c3f0dfb64c52cbb8 (patch) | |
tree | c608e05afba48f38cfd6da674b83b964485513c4 /sys/pci/if_rl.c | |
parent | 507c61e2567c01f86e8bea87a37b173318779fb4 (diff) | |
download | FreeBSD-src-99df7d00b68527fa99cdc340c3f0dfb64c52cbb8.zip FreeBSD-src-99df7d00b68527fa99cdc340c3f0dfb64c52cbb8.tar.gz |
Add a PHY driver to support the built-in gigE PHY in the 8169S/8110S
ethernet chips. This driver is pretty simple, however it contains
special DSP initialization code which is needed in order to get
the chip to negotiate a gigE link. (This special initialization
may not be needed in subsequent chip revs.) Also:
- Fix typo in if_rlreg.h (RL_GMEDIASTAT_1000MPS -> RL_GMEDIASTAT_1000MBPS)
- Deal with shared interrupts in re_intr(): if interface isn't up,
return.
- Fix another bug in re_gmii_writereg() (properly apply data field mask)
- Allow PHY driver to read the RL_GMEDIASTAT register via the
re_gmii_readreg() register (this is register needed to determine
real time link/media status).
Diffstat (limited to 'sys/pci/if_rl.c')
-rw-r--r-- | sys/pci/if_rl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 935ada9..3989577 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -1105,8 +1105,9 @@ rl_attach(dev) ifp->if_watchdog = rl_watchdog; ifp->if_init = rl_init; ifp->if_baudrate = 10000000; + ifp->if_capabilities = IFCAP_VLAN_MTU; ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; - + callout_handle_init(&sc->rl_stat_ch); /* |