freebsd-dev/sys/pci
Bill Paul e7be9f9a1a Deal with the condition where we lose link in the middle of transmitting
a bunch of frames. In this case, the dc_link flag is cleared, and dc_start()
stops draining the if_snd send queue, which results in lots of 'no buffers
available' errors being reported to applications. The whole idea behind
not draining the send queue until the link comes up was to avoid having
the gratuitous ARP being lost while we're waiting for autoneg to complete
after the interface is first brought up. As an optimization, change the
test in dc_start() so that we only bail if dc_link is not set _and_ there
are less than 10 packets in the send queue. If the queue has many frames
in it, we need to drain them. If the queue has a small number of frames
in it, we can hold off on sending them until the link comes up.

MFC after: 1 week
2001-07-12 22:51:59 +00:00
..
agp_ali.c Make these compile again by adding proc.h include for GIANT_REQUIRED 2001-07-05 21:28:47 +00:00
agp_amd.c Make these compile again by adding proc.h include for GIANT_REQUIRED 2001-07-05 21:28:47 +00:00
agp_i810.c Make these compile again by adding proc.h include for GIANT_REQUIRED 2001-07-05 21:28:47 +00:00
agp_if.m
agp_intel.c Make these compile again by adding proc.h include for GIANT_REQUIRED 2001-07-05 21:28:47 +00:00
agp_sis.c Make these compile again by adding proc.h include for GIANT_REQUIRED 2001-07-05 21:28:47 +00:00
agp_via.c Make these compile again by adding proc.h include for GIANT_REQUIRED 2001-07-05 21:28:47 +00:00
agp.c
agppriv.h
agpreg.h
agpvar.h
alpm.c
amd.c
amd.h
cy_pci.c
cy_pcireg.h
dc21040reg.h
ide_pcireg.h
if_dc.c Deal with the condition where we lose link in the middle of transmitting 2001-07-12 22:51:59 +00:00
if_dcreg.h
if_de.c
if_devar.h
if_en_pci.c
if_fxp.c
if_fxpreg.h
if_fxpvar.h
if_mn.c
if_pcn.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_pcnreg.h
if_rl.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_rlreg.h
if_sf.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_sfreg.h
if_sis.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_sisreg.h
if_sk.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_skreg.h
if_ste.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_stereg.h
if_ti.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_tireg.h
if_tl.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_tlreg.h
if_tx.c Add initializetion of NVCTL register with EEPROM stored value. 2001-06-23 19:30:26 +00:00
if_txvar.h Add initializetion of NVCTL register with EEPROM stored value. 2001-06-23 19:30:26 +00:00
if_vr.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_vrreg.h
if_wb.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_wbreg.h
if_wx.c
if_wxreg.h
if_wxvar.h
if_xl.c Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
if_xlreg.h
intpm.c
intpmreg.h
locate.pl
meteor_reg.h
meteor.c
ncr.c
ncrreg.h
ohci_pci.c Set vendor string correctly for the Apple KeyLargo. 2001-07-05 12:04:19 +00:00
scsiiom.c
simos.c
simos.h
ti_fw2.h
ti_fw.h
uhci_pci.c
xmaciireg.h
xrpu.c