summaryrefslogtreecommitdiffstats
path: root/sys/modules/sk
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-04-22 02:16:41 +0000
committerwpaul <wpaul@FreeBSD.org>2000-04-22 02:16:41 +0000
commitffc1f10e0bf55eb5612e560d3660d7dd9ae68234 (patch)
treeacde787f0bb34b1705de38d7202e48232b0d48cb /sys/modules/sk
parentd98654ae0128bb79d63a6df0231ebed9c121ae5d (diff)
downloadFreeBSD-src-ffc1f10e0bf55eb5612e560d3660d7dd9ae68234.zip
FreeBSD-src-ffc1f10e0bf55eb5612e560d3660d7dd9ae68234.tar.gz
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.
Diffstat (limited to 'sys/modules/sk')
-rw-r--r--sys/modules/sk/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/sk/Makefile b/sys/modules/sk/Makefile
index c12e236..350521c 100644
--- a/sys/modules/sk/Makefile
+++ b/sys/modules/sk/Makefile
@@ -3,5 +3,6 @@
.PATH: ${.CURDIR}/../../pci
KMOD = if_sk
SRCS = if_sk.c opt_bdg.h device_if.h bus_if.h pci_if.h
+SRCS += miibus_if.h
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud