summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2006-04-27 04:39:58 +0000
committeryongari <yongari@FreeBSD.org>2006-04-27 04:39:58 +0000
commitc2110a62a2fdffa6158d62f603418c8a17d58b9f (patch)
tree0b1eb84f23c36110adb98859a38e022ef274c0a5 /sys
parentbdb1b1a31981d826c5c0501f2e08635d99c32966 (diff)
downloadFreeBSD-src-c2110a62a2fdffa6158d62f603418c8a17d58b9f.zip
FreeBSD-src-c2110a62a2fdffa6158d62f603418c8a17d58b9f.tar.gz
Correct DRIVER_MODULE declaration.
skc does attach to pci bus instead of sk. Submitted by: jmg
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sk/if_sk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c
index 6dfb852..a83e9f3 100644
--- a/sys/dev/sk/if_sk.c
+++ b/sys/dev/sk/if_sk.c
@@ -312,7 +312,7 @@ static driver_t sk_driver = {
static devclass_t sk_devclass;
-DRIVER_MODULE(sk, pci, skc_driver, skc_devclass, 0, 0);
+DRIVER_MODULE(skc, pci, skc_driver, skc_devclass, 0, 0);
DRIVER_MODULE(sk, skc, sk_driver, sk_devclass, 0, 0);
DRIVER_MODULE(miibus, sk, miibus_driver, miibus_devclass, 0, 0);
OpenPOWER on IntegriCloud