cvs commit: src/sys/pci if_rl.c

Bill Paul wpaul at FreeBSD.org
Sat Aug 9 19:41:19 PDT 2003


wpaul       2003/08/09 19:41:18 PDT

  FreeBSD src repository

  Modified files:
    sys/pci              if_rl.c 
  Log:
  Grrr. There is a gratuitous difference in the RX descriptor status
  word between the 8139C+ and the 8169. The 8139C+ has a 'frame alignment
  error bit' (bit 27) but the 8169 does not. Rather than simply mark this
  bit as reserved, RealTek removed it completely and shifted the remaining
  status bits one space to the left. This was causing rl_rxeofcplus()
  to misparse the error and checksum bits.
  
  To workaround this, rl_rxeofcplus() now shifts the rxstat word one
  bit to the right before testing any of the status bits (but after
  the frame length has been extracted).
  
  Revision  Changes    Path
  1.109     +18 -0     src/sys/pci/if_rl.c


More information about the cvs-src mailing list