Skip to content

Commit

Permalink
appneta#136 implement kernel module install, properly implement quick…
Browse files Browse the repository at this point in the history
…_tx_wakeup()
  • Loading branch information
fklassen committed Oct 6, 2014
1 parent 4be6f6d commit e12688a
Show file tree
Hide file tree
Showing 23 changed files with 317 additions and 79 deletions.
3 changes: 3 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
debug_flag = @debug_flag@
depmod = @depmod@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
Expand All @@ -229,13 +230,15 @@ infodir = @infodir@
install_sh = @install_sh@
kerneldir = @kerneldir@
kernelext = @kernelext@
kerneluname = @kerneluname@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
moduledir = @moduledir@
nic1 = @nic1@
nic2 = @nic2@
oldincludedir = @oldincludedir@
Expand Down
5 changes: 4 additions & 1 deletion acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ AC_DEFUN([AC_PATH_KERNEL_SOURCE_SEARCH],
fi
if test x${no_kernel} != xyes; then
if test -f ${kerneldir}/Makefile; then
if test -f ${kerneldir}/Makefile -a -f ${kerneldir}/.config; then
version=$( sed -n '/^VERSION/s/.*=\ *//p' ${kerneldir}/Makefile )
patchlevel=$( sed -n -e '/^PATCHLEVEL/s/.*=\ *//p' ${kerneldir}/Makefile )
kerneluname=$( sed -n '/Linux kernel version/s/.*:\ *//p' ${kerneldir}/.config )
if test "${version}" -eq 2; then
if test "${patchlevel}" -lt 5; then
kernelext=o
Expand All @@ -54,9 +55,11 @@ AC_DEFUN([AC_PATH_KERNEL_SOURCE_SEARCH],
no_kernel=yes
fi
fi
ac_cv_have_kernel="no_kernel=${no_kernel} \
kerneldir=\"${kerneldir}\" \
kernelext=\"${kernelext}\""
]
)

Expand Down
Loading

0 comments on commit e12688a

Please sign in to comment.