Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 12/03/2003 21:58:49
Module Name:	src
Committed By:	cube
Date:		Wed Dec  3 21:58:49 UTC 2003

Modified Files:
	src/sys/dev/pci: if_sip.c if_sipreg.h

Log Message:
o Add support for accessing the PHY through MDIO for recent SiS chips
o Add support for the recent SiS96x chipsets that have a new revision.
  That includes a new bit of code to access the EEPROM, since it is
  shared with the ieee1394 controller on those chipsets.

Mostly taken from FreeBSD (rev. 1.62 and 1.64 of sys/pci/if_sip.c).  I
tried to make the code look less ugly, but couldn't invent documentation.

Fix PR #23481.  Thanks to Stephane ENGEL <sengel AT melshake DOT com> for
the report and the cheerful testing.


To generate a diff of this commit:
cvs rdiff -r1.83 -r1.84 src/sys/dev/pci/if_sip.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/pci/if_sipreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.