Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 1999 12:02:46 -0800 (PST)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_sf.c if_sfreg.h
Message-ID:  <199912052002.MAA26213@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       1999/12/05 12:02:46 PST

  Modified files:
    sys/pci              if_sf.c if_sfreg.h 
  Log:
  Modify the Adaptec "starfire" driver to reset the PHY on the MII bus
  before selecting a mode. The Seeq PHY chips on the Adaptec cards that
  use the AIC-6915 controller seem to need it in order to get them to
  change modes correctly.
  
  This corrects a problem that I noticed where my ANA-62022 board failed
  to correctly program the full duplex bit in the macconfig1 register
  when the interface was brought up. Running ifconfig sf0 would mask this
  problem in some cases because polling the PHY status would cause the
  miibus code to notice that full duplex was now needed and the statchg
  callback would be invoked to configure the duplex setting. However it
  would still get it wrong other times.
  
  Also changed sf_miibus_statchg() to program the IPG register to match
  the duplex setting in accordance with Adaptec manual's recommendations
  (0x15 for full duplex, 0x11 for half duplex).
  
  Revision  Changes    Path
  1.18      +39 -13    src/sys/pci/if_sf.c
  1.6       +11 -1     src/sys/pci/if_sfreg.h



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912052002.MAA26213>