diff options
author | Pyun YongHyeon <yongari@FreeBSD.org> | 2008-12-08 02:34:13 +0000 |
---|---|---|
committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2008-12-08 02:34:13 +0000 |
commit | 130b6dfb35a7d3209e49ead04339d4d39467bead (patch) | |
tree | 5e7b1602c96724656f25c3d4b049303eb9dd37e0 /sys/pci/if_rlreg.h | |
parent | 6f0f9b12fab4ae946914b45d89020301584557a2 (diff) | |
download | src-130b6dfb35a7d3209e49ead04339d4d39467bead.tar.gz src-130b6dfb35a7d3209e49ead04339d4d39467bead.zip |
o Implemented miibus_statchg handler. It detects whether re(4)
established a valid link or not. In miibus_statchg handler add a
check for established link is valid one for the controller(e.g.
1000baseT is not a valid link for fastethernet controllers.)
o Added a flag RE_FLAG_FASTETHER to mark fastethernet controllers.
o Added additional check to know whether we've really encountered
watchdog timeouts or missed Tx completion interrupts. This change
may help to track down the cause of watchdog timeouts.
o In interrupt handler, removed a check for link state change
interrupt. Not all controllers have the bit and re(4) did not
rely on the event for a long time. In addition, re(4) didn't
request the interrupt in RL_IMR register.
Tested by: rpaulo
Notes
Notes:
svn path=/head/; revision=185753
Diffstat (limited to 'sys/pci/if_rlreg.h')
-rw-r--r-- | sys/pci/if_rlreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index 1acd7fc25881..6eb1ea9dc9f5 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -882,6 +882,7 @@ struct rl_softc { #define RL_FLAG_PAR 0x0020 #define RL_FLAG_DESCV2 0x0040 #define RL_FLAG_MACSTAT 0x0080 +#define RL_FLAG_FASTETHER 0x0100 #define RL_FLAG_LINK 0x8000 }; |