Date: Mon, 14 Aug 2006 03:29:31 -0700 (PDT) From: Alok Barsode <namaskar_alok@yahoo.co.in> To: freebsd-drivers@freebsd.org Subject: PHY Driver as module Message-ID: <20060814102931.15992.qmail@web8910.mail.in.yahoo.com>
index | next in thread | raw e-mail
Hi,
I am a newbie to FreeBSD kernel development.
I am using FreeBSD 4.10.
I was trying to build a PHY driver as module
(/dev/mii/nsgphy.c) but i am unable to do so.
I modified the Makefile in /sys/modules/mii as follows
# $FreeBSD: src/sys/modules/mii/Makefile,v 1.11.2.8
2003/10/29 17:06:48 wpaul Exp $
.PATH: ${.CURDIR}/../../dev/mii
KMOD = nsgphy
SRCS = mii.c mii_physubr.c miibus_if.h device_if.h
miibus_if.c
SRCS += bus_if.h pci_if.h nsgphy.c
.include <bsd.kmod.mk>
It generated a nsgphy.ko and a mii.ko
I am unable to load the nsgphy.ko , it says "No such
file or directory".
When i try to insert mii.ko it says file exists.
Am i missing something?
Thanks,
Alok.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060814102931.15992.qmail>
