PHY Driver as module
Alok Barsode
namaskar_alok at yahoo.co.in
Mon Aug 14 10:29:34 UTC 2006
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
More information about the freebsd-drivers
mailing list