Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2000 03:28:46 +0900
From:      Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
To:        current@FreeBSD.ORG
Cc:        imp@village.org
Subject:   Re: Why 'lnc.ko' instead of 'if_lnc.ko' ? 
Message-ID:  <20001221032846U.matusita@jp.FreeBSD.org>
In-Reply-To: <200012201805.eBKI5is41536@billy-club.village.org>
References:  <20001221021801G.matusita@jp.FreeBSD.org> <200012201805.eBKI5is41536@billy-club.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

imp> Typo, I think.  The module needs to be named if_XXX.ko for the
imp> automatic kldload in ifconfig to work.

OK, attached below is a (trivial) patch to fix this.

-- -
Makoto `MAR' MATSUSHITA

Index: Makefile
===================================================================
RCS file: /lab/FreeBSD/FreeBSD.cvs/src/sys/modules/lnc/Makefile,v
retrieving revision 1.1
diff -c -r1.1 Makefile
*** Makefile	2000/12/16 01:47:37	1.1
--- Makefile	2000/12/20 18:19:11
***************
*** 1,7 ****
  # $FreeBSD: src/sys/modules/lnc/Makefile,v 1.1 2000/12/16 01:47:37 paul Exp $
  
  .PATH:	${.CURDIR}/../../dev/lnc
! KMOD	= lnc
  SRCS	= if_lnc.c if_lnc_pci.c if_lnc_isa.c if_lnc_pc98.c
  SRCS	+= opt_inet.h device_if.h bus_if.h isa_if.h pci_if.h
  #SRCS	+= miibus_if.h
--- 1,7 ----
  # $FreeBSD: src/sys/modules/lnc/Makefile,v 1.1 2000/12/16 01:47:37 paul Exp $
  
  .PATH:	${.CURDIR}/../../dev/lnc
! KMOD	= if_lnc
  SRCS	= if_lnc.c if_lnc_pci.c if_lnc_isa.c if_lnc_pc98.c
  SRCS	+= opt_inet.h device_if.h bus_if.h isa_if.h pci_if.h
  #SRCS	+= miibus_if.h


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001221032846U.matusita>