cvs commit: src/sys/dev/hme if_hme_pci.c

Marius Strobl marius at
Wed Mar 2 00:49:38 GMT 2005

marius      2005-03-02 00:49:37 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/hme          if_hme_pci.c 
  - Fix braino introduced in rev. 1.17, unlike the X1032A (HME-ISP1040-combo)
    and the X1034A (quad HME; QFE) cards the X1033A (single HME) don't have a
    PCI-PCI-bridge so we can't rely on the PCI slot number being useable as
    index for the network address to read from the VPD on the latter. Use
    the end tag to determine whether it is a QFE VPD with 4 NAs and only use
    the slot number as index in this case.
  - Remove a useless check.
  Prodded by:             joerg
  Additional testing by:  joerg
  MFC after:              1 day
  Revision  Changes    Path
  1.19      +8 -8      src/sys/dev/hme/if_hme_pci.c

More information about the cvs-all mailing list