From owner-cvs-all Fri Apr 21 19:16:50 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 134EC37B647; Fri, 21 Apr 2000 19:16:42 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA68097; Fri, 21 Apr 2000 19:16:41 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Message-Id: <200004220216.TAA68097@freefall.freebsd.org> From: Bill Paul Date: Fri, 21 Apr 2000 19:16:41 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_sk.c if_skreg.h xmaciireg.h src/sys/conf files src/sys/modules/mii Makefile src/sys/modules/sk Makefile Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG wpaul 2000/04/21 19:16:41 PDT Modified files: sys/pci if_sk.c if_skreg.h xmaciireg.h sys/conf files sys/modules/mii Makefile sys/modules/sk Makefile Log: Reoganize/update the SysKonnect driver: - Break out the support for the XMAC II's PHY into an miibus driver. - Reorganize the probe/attach stuff using newbus. Each XMAC is now attached to the parent GEnesis controller using newbus. This is necessary since each XMAC must also have an attached miibus, and the miibus read/write register routines need to be able to get at the softc struct for each XMAC, not the one for the parent controller. This allows me to get rid of the grotty code I added for selecting the unit numbers for the ifnet interfaces: the unit numbers are now derived from the newbus-assigned unit numbers, which should track with the ifnet interface numbers. I think. At the very least, there should never be any collisions. - Add support for the SK-9821 and SK-9822 1000baseTX adapters. Special thanks to SysKonnect for loaning me two adapters for testing. Revision Changes Path 1.20 +449 -158 src/sys/pci/if_sk.c 1.9 +55 -4 src/sys/pci/if_skreg.h 1.3 +13 -3 src/sys/pci/xmaciireg.h 1.357 +3 -1 src/sys/conf/files 1.12 +2 -1 src/sys/modules/mii/Makefile 1.9 +2 -1 src/sys/modules/sk/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message