Move i386/isa/elink.[hc] to dev/ep.
The ep(4) driver is the only consumer of the two functions from elink.c. I removed the standalone module as well, and most likely, the module metadata is not needed anywhere, but this is for later cleanup. Discussed with: imp, jhb Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
5df88ba9c0
commit
e75b16052d
@ -201,6 +201,7 @@ dev/ed/if_ed_isa.c optional ed isa
|
||||
dev/ed/if_ed_wd80x3.c optional ed isa
|
||||
dev/ed/if_ed_hpp.c optional ed isa ed_hpp
|
||||
dev/ed/if_ed_sic.c optional ed isa ed_sic
|
||||
dev/ep/elink.c optional ep
|
||||
dev/fb/fb.c optional fb | vga
|
||||
dev/fb/s3_pci.c optional s3pci
|
||||
dev/fb/vesa.c optional vga vesa
|
||||
@ -519,7 +520,6 @@ i386/ibcs2/ibcs2_util.c optional ibcs2
|
||||
i386/ibcs2/ibcs2_xenix.c optional ibcs2
|
||||
i386/ibcs2/ibcs2_xenix_sysent.c optional ibcs2
|
||||
i386/ibcs2/imgact_coff.c optional ibcs2
|
||||
i386/isa/elink.c optional ep
|
||||
i386/isa/pmtimer.c optional pmtimer
|
||||
i386/isa/prof_machdep.c optional profiling-routine
|
||||
i386/linux/imgact_linux.c optional compat_linux
|
||||
|
@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <machine/cpufunc.h>
|
||||
|
||||
#include <i386/isa/elink.h>
|
||||
#include <dev/ep/elink.h>
|
||||
|
||||
/*
|
||||
* Issue a `global reset' to all cards, and reset the ID state machines. We
|
@ -54,7 +54,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <dev/ep/if_epvar.h>
|
||||
|
||||
#ifdef __i386__
|
||||
#include <i386/isa/elink.h>
|
||||
#include <dev/ep/elink.h>
|
||||
#endif
|
||||
|
||||
#ifdef __i386__
|
||||
|
@ -115,7 +115,6 @@ SUBDIR= \
|
||||
dummynet \
|
||||
${_ed} \
|
||||
${_efirt} \
|
||||
${_elink} \
|
||||
${_em} \
|
||||
${_ena} \
|
||||
${_ep} \
|
||||
@ -742,7 +741,6 @@ _coff= coff
|
||||
.if ${MK_SOURCELESS_UCODE} != "no"
|
||||
_cp= cp
|
||||
.endif
|
||||
_elink= elink
|
||||
_glxiic= glxiic
|
||||
_glxsb= glxsb
|
||||
#_ibcs2= ibcs2
|
||||
|
@ -1,10 +0,0 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
.PATH: ${SRCTOP}/sys/i386/isa
|
||||
|
||||
KMOD= elink
|
||||
SRCS= elink.c
|
||||
EXPORT_SYMS= elink_reset elink_idseq
|
||||
|
||||
.include <bsd.kmod.mk>
|
@ -7,6 +7,9 @@ SYSDIR?=${SRCTOP}/sys
|
||||
|
||||
KMOD= if_ep
|
||||
SRCS= if_ep.c
|
||||
.if ${MACHINE_CPUARCH} == "i386"
|
||||
SRCS+= elink.c
|
||||
.endif
|
||||
SRCS+= if_ep_pccard.c pccarddevs.h card_if.h
|
||||
SRCS+= if_ep_isa.c isa_if.h
|
||||
SRCS+= bus_if.h device_if.h
|
||||
|
Loading…
Reference in New Issue
Block a user