Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 12/14/2007 01:55:35
Module Name:	src
Committed By:	dyoung
Date:		Fri Dec 14 01:55:35 UTC 2007

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

Log Message:
Take a step toward sharing compiled code between sip(4) and gsip(4):
get rid of SIP_DECL() and reduce #ifdef DP83820 code.  Next step
is to move a bunch of shared code to a new file (if_sipcom.c, say)
and compile it *once*.

While I am here, add suspend/resume handling to sip(4) and to
gsip(4).

Tested with the NatSemi sip(4) on the Soekris net4521.  I don't
have any gsip(4) to test with, and it seems that the few holders
of gsip(4) in the world keep them in their attic, anyway.


To generate a diff of this commit:
cvs rdiff -r1.115 -r1.116 src/sys/dev/pci/if_sip.c
cvs rdiff -r1.15 -r1.16 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.