| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make 8139C+ work again which was broken since rev 1.68.
Ever since rev 1.68 re(4) checks the validity of link in re_start.
But rlphy(4) got a garbled data due to a different bit layout used on
8139C+ and it couldn't report correct link state. To fix it, ignore
BMCR_LOOP and BMCR_ISO bits which have different meanings on 8139C+.
I think this also make dhclient(8) work on 8139C+.
Approved by: re (mux)
Notes:
svn path=/stable/6/; revision=162516
|
| |
|
|
|
|
|
|
|
| |
Fix re(4) breakage introduced in tree from rev 1.68.
This should fix incorrect configuration of station address on
big-endian architectures.
Notes:
svn path=/stable/6/; revision=161032
|
| |
|
|
|
|
|
|
| |
stall, add USR NIC PCI ID, add tsleep() to re_detach() to avoid possible
crash when unloading module
Notes:
svn path=/stable/6/; revision=160885
|
| |
|
|
|
|
|
| |
checksum offload bugs, correct device descriptions
Notes:
svn path=/stable/6/; revision=160844
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=160009
|
| |
|
|
| |
Notes:
svn path=/stable/6/; revision=159963
|
| |
|
|
|
|
|
|
|
| |
Do not touch ifp->if_baudrate in miibus aware drivers.
Approved by: re (scottl)
Notes:
svn path=/stable/6/; revision=156820
|
| |
|
|
|
|
|
|
|
| |
Correctly switch IFCAP_VLAN_HWTAGGING on and off.
Approved by: re (mux)
Notes:
svn path=/stable/6/; revision=156525
|
| |
|
|
|
|
|
|
|
| |
third party drivers.
- Fix bugs destribed in previous revision using macro with
another name.
Notes:
svn path=/stable/6/; revision=154307
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use VLAN_TAG_VALUE() not only to read a dot1q tag
value from an m_tag, but also to set it. This reduces
complex code duplication and improves its readability.
- Fix VLAN_INPUT_TAG() macro, so that it doesn't touch mtag in
case if memory allocation failed.
- Remove fourth argument from VLAN_INPUT_TAG(), that was used
incorrectly in almost all drivers. Indicate failure with
mbuf value of NULL.
Notes:
svn path=/stable/6/; revision=154298
|
| |
|
|
|
|
|
| |
if interrupt comes in later on, which can happen in some uncommon cases.
Notes:
svn path=/stable/6/; revision=153824
|
| |
|
|
|
|
|
|
|
|
| |
Check IFF_DRV_RUNNING in the re_intr() loop. It can disappear,
since re_rxeof() drops the lock for some time.
Reported & tested by: XueFeng Deng <dsnofe yahoo.com.cn>
Notes:
svn path=/stable/6/; revision=152848
|
| |
|
|
|
|
|
| |
EG1032 cards and teach the re(4) driver to attach to revision 3 cards.
Notes:
svn path=/stable/6/; revision=152126
|
| |
|
|
|
|
|
| |
Approved by: re (implicitly)
Notes:
svn path=/stable/6/; revision=151083
|
| |
|
|
|
|
|
|
| |
Submitted by: glebius, kensmith
Approved by: re
Notes:
svn path=/stable/6/; revision=151076
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o First attempt on removing Giant from polling. Details:
http://lists.freebsd.org/pipermail/cvs-src/2005-September/051848.html
o Second attempt, and big polling cleanup including:
- Functinal approach to turning polling on/off
- Deprecating of poll_in_trap
- Removal of ifnet knowledge from kern_poll.c
Details:
http://lists.freebsd.org/pipermail/cvs-src/2005-October/053267.html
o Improved checking of user configurable sysctls. Details:
http://lists.freebsd.org/pipermail/cvs-src/2005-October/053351.html
o Moving DEVICE_POLLING from opt_global.h to opt_device_polling.h:
http://lists.freebsd.org/pipermail/cvs-src/2005-October/053479.html
o All related documentation fixes.
Approved by: re (kensmith)
Thanks to: everyone, who helped with testing
Notes:
svn path=/stable/6/; revision=151061
|
| |
|
|
|
|
|
| |
Approved by: re (scottl)
Notes:
svn path=/stable/6/; revision=151031
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if_pflog.c:1.14 if_pfsync.c:1.21 if_an.c:1.70 if_ar.c:1.72 if_arl.c:1.11
amrr.c:1.10 onoe.c:1.10 if_ath.c:1.101 awi.c:1.41 if_bfe.c:1.27
if_bge.c:1.93 if_cm_isa.c:1.7 smc90cx6.c:1.16 if_cnw.c:1.20 if_cp.c:1.25
if_cs.c:1.42 if_ct.c:1.26 if_cx.c:1.46 if_ed.c:1.256 if_em.c:1.68
if_en_pci.c:1.37 midway.c:1.66 if_ep.c:1.143 if_ex.c:1.58 if_fatm.c:1.20
if_fe.c:1.93 if_fwe.c:1.38 if_fwip.c:1.8 if_fxp.c:1.244 if_gem.c:1.33
if_hatm.c:1.25 if_hatm_intr.c:1.20 if_hatm_ioctl.c:1.13 if_hatm_rx.c:1.10
if_hatm_tx.c:1.14 if_hme.c:1.39 if_ie.c:1.104 if_ndis.c:1.101
if_ic.c:1.24 if_ipw.c:1.10 if_iwi.c:1.10 if_ixgb.c:1.13 if_lge.c:1.41
if_lnc.c:1.113 if_my.c:1.31 if_nge.c:1.77 if_nve.c:1.10 if_owi.c:1.12
if_patm.c:1.9 if_patm_intr.c:1.6 if_patm_ioctl.c:1.10 if_patm_tx.c:1.10
pdq_ifsubr.c:1.28 if_plip.c:1.38 if_ral.c:1.12 if_ral_pci.c:1.2
if_ray.c:1.81 if_rayvar.h:1.22 if_re.c:1.49 if_sbni.c:1.21 if_sbsh.c:1.14
if_sn.c:1.48 dp83932.c:1.21 if_snc_pccard.c:1.9 if_sr.c:1.70 if_tx.c:1.91
if_txp.c:1.33 if_aue.c:1.92 if_axe.c:1.32 if_cdce.c:1.8 if_cue.c:1.59
if_kue.c:1.66 if_rue.c:1.23 if_udav.c:1.16 if_ural.c:1.12 if_vge.c:1.16
if_vx.c:1.58 if_wi.c:1.185 if_wi_pci.c:1.26 if_wl.c:1.68 if_xe.c:1.60
if_xe_pccard.c:1.30 if_el.c:1.68 i4b_ipr.c:1.35 i4b_isppp.c:1.31
kern_poll.c:1.20 bridge.c:1.94 bridgestp.c:1.4 if_arcsubr.c:1.27
if_atm.h:1.24 if_atmsubr.c:1.40 if_bridge.c:1.16 if_ef.c:1.35
if_ethersubr.c:1.196 if_faith.c:1.37 if_fddisubr.c:1.100 if_fwsubr.c:1.14
if_gif.c:1.54 if_gre.c:1.34 if_iso88025subr.c:1.70 if_loop.c:1.107
if_ppp.c:1.106 if_spppsubr.c:1.121 if_tap.c:1.57 if_tun.c:1.154
if_vlan.c:1.80 ppp_tty.c:1.67 ieee80211_ioctl.c:1.32 atm_if.c:1.31
ng_eiface.c:1.33 ng_ether.c:1.50 ng_fec.c:1.19 ng_iface.c:1.44
ng_sppp.c:1.9 ip_carp.c:1.30 ip_fastfwd.c:1.30 in6.c:1.53 nd6_nbr.c:1.31
natm.c:1.40 if_dc.c:1.162 if_de.c:1.168 if_pcn.c:1.72 if_rl.c:1.154
if_sf.c:1.84 if_sis.c:1.135 if_sk.c:1.108 if_ste.c:1.86 if_ti.c:1.109
if_tl.c:1.101 if_vr.c:1.106 if_wb.c:1.81 if_xl.c:1.194 from HEAD to
RELENG_6:
Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and
IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to
ifnet.if_drv_flags. Device drivers are now responsible for
synchronizing access to these flags, as they are in if_drv_flags. This
helps prevent races between the network stack and device driver in
maintaining the interface flags field.
Many __FreeBSD__ and __FreeBSD_version checks maintained and continued;
some less so.
Reviewed by: pjd, bz
Approved by: re (scottl)
Notes:
svn path=/stable/6/; revision=149443
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if_em.c:1.67 if_ex.c:1.57 if_fe.c:1.92 if_fxp.c:1.242 if_gem.c:1.32
if_hme.c:1.38 if_ie.c:1.103 if_ndis.c:1.100 if_ixgb.c:1.12 if_lge.c:1.40
if_lnc.c:1.112 if_my.c:1.30 if_nge.c:1.76 if_nve.c:1.9 if_owi.c:1.11
pdq_ifsubr.c:1.27 if_ray.c:1.80 if_re.c:1.47 if_sn.c:1.47 dp83932.c:1.20
if_tx.c:1.90 if_txp.c:1.32 if_aue.c:1.91 if_axe.c:1.31 if_cue.c:1.58
if_kue.c:1.65 if_rue.c:1.22 if_udav.c:1.15 if_vge.c:1.15 if_wi.c:1.182
if_wl.c:1.67 if_xe.c:1.58 if_dc.c:1.161 if_de.c:1.167 if_pcn.c:1.70
if_rl.c:1.153 if_sf.c:1.83 if_sis.c:1.134 if_sk.c:1.107 if_ste.c:1.85
if_ti.c:1.108 if_tl.c:1.100 if_vr.c:1.105 if_wb.c:1.80 if_xl.c:1.193
from HEAD to RELENG_6:
Modify device drivers supporting multicast addresses to lock if_addr_mtx
over iteration of their multicast address lists when synchronizing the
hardware address filter with the network stack-maintained list.
Problem reported by: Ed Maste (emaste at phaedrus dot sandvine dot ca>
Approved by: re (scottl)
Notes:
svn path=/stable/6/; revision=149422
|
| |
|
|
|
|
|
| |
Approved by: re (kensmith)
Notes:
svn path=/stable/6/; revision=149084
|
| |
|
|
|
|
|
|
|
| |
driver on 64bit architectures.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=147714
|
| |
|
|
| |
Notes:
svn path=/head/; revision=147291
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
struct ifnet or the layer 2 common structure it was embedded in have
been replaced with a struct ifnet pointer to be filled by a call to the
new function, if_alloc(). The layer 2 common structure is also allocated
via if_alloc() based on the interface type. It is hung off the new
struct ifnet member, if_l2com.
This change removes the size of these structures from the kernel ABI and
will allow us to better manage them as interfaces come and go.
Other changes of note:
- Struct arpcom is no longer referenced in normal interface code.
Instead the Ethernet address is accessed via the IFP2ENADDR() macro.
To enforce this ac_enaddr has been renamed to _ac_enaddr.
- The second argument to ether_ifattach is now always the mac address
from driver private storage rather than sometimes being ac_enaddr.
Reviewed by: sobomax, sam
Notes:
svn path=/head/; revision=147256
|
| |
|
|
|
|
|
|
|
| |
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
Notes:
svn path=/head/; revision=146734
|
| |
|
|
|
|
|
| |
instead of the module build.
Notes:
svn path=/head/; revision=143481
|
| |
|
|
|
|
|
|
|
| |
Submitted by: Chris Dionissopoulos, Theo Schlossnagle
PR: kern/78681
MFC after: 2 weeks
Notes:
svn path=/head/; revision=143469
|
| |
|
|
|
|
|
|
| |
preference to some random negative number to allow other drivers a
bite at the apple.
Notes:
svn path=/head/; revision=142890
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a RealTek 8169SB.
PR: 74262
Submitted by: Yoshikazu GOTO-san
# Submitter notes that he's unsure of the revision string for 8169SB
Notes:
svn path=/head/; revision=140642
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139749
|
| |
|
|
|
|
|
|
|
|
| |
with some revisions of the chip (particularly when using multiple TX
descriptors).
MFC after: 1 week
Notes:
svn path=/head/; revision=139693
|
| |
|
|
|
|
|
|
|
| |
This fixes a panic that occurs when unloading the kernel module.
MFC after: 3 days
Notes:
svn path=/head/; revision=139555
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to 7422 since it appears that the 8169S can't transmit anything larger..
The 8169S can receive full jumbo frames, but we don't have an mru to let
the upper layers know this...
add fixup so that this driver should work on alignment constrained platforms
(!i386 && !amd64)
MFC after: 5 days
Notes:
svn path=/head/; revision=135896
|
| |
|
|
|
|
|
|
|
| |
call the re mutex by it's name..
MFC after: 3 days
Notes:
svn path=/head/; revision=135505
|
| |
|
|
|
|
|
|
|
|
| |
don't call re_rxeof a second time when we've already done the work
pull common code out from if and else clauses
MFC after: 3 days
Notes:
svn path=/head/; revision=135468
|
| |
|
|
|
|
|
|
|
|
| |
original mbuf causing a free'd mbuf passed to bpf later and panic'ing the
system.. This should only effect jumbo frames.
MFC after: 5 days
Notes:
svn path=/head/; revision=135435
|
| |
|
|
| |
Notes:
svn path=/head/; revision=134750
|
| |
|
|
|
|
|
|
|
|
| |
This essentially merges revs 1.143-1.1445 of sys/pci/if_rl.c.
This now marks the interrupt MPSAFE along with making the mutex non-recursive.
Looked over by: bms
Notes:
svn path=/head/; revision=134711
|
| |
|
|
|
|
|
|
|
| |
PR: [FreeBSD-users-jp 80667]
Submitted by: FUJIMOTO Kou <fujimoto@j.dendai.ac.jp>
MFC after: 1 week
Notes:
svn path=/head/; revision=134433
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131668
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131667
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131254
|
| |
|
|
| |
Notes:
svn path=/head/; revision=130270
|
| |
|
|
| |
Notes:
svn path=/head/; revision=129879
|
| |
|
|
|
|
|
|
|
| |
#ifndef BURN_BRIDGES.
Noticed by: phk
Notes:
svn path=/head/; revision=129672
|
| |
|
|
|
|
|
|
|
|
| |
if_capenable unless the interface driver is actually able
to toggle the respective capability on and off.
Reviewed by: ru
Notes:
svn path=/head/; revision=129633
|
| |
|
|
|
|
|
| |
for us.
Notes:
svn path=/head/; revision=129616
|
| |
|
|
| |
Notes:
svn path=/head/; revision=128138
|
| |
|
|
|
|
|
|
| |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Notes:
svn path=/head/; revision=127135
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126966
|
| |
|
|
|
|
|
| |
Requested by: bde,imp
Notes:
svn path=/head/; revision=123289
|