-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Sample driver to demonstrate how to use Mediated device framework.
The Sample driver creates mdev device that simulates serial port over PCI card. Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com> Signed-off-by: Neo Jia <cjia@nvidia.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
- Loading branch information
Kirti Wankhede
authored and
Alex Williamson
committed
Nov 17, 2016
1 parent
3771bd9
commit 9d1a546
Showing
3 changed files
with
1,618 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# Makefile for mtty.c file | ||
# | ||
KERNEL_DIR:=/lib/modules/$(shell uname -r)/build | ||
|
||
obj-m:=mtty.o | ||
|
||
modules clean modules_install: | ||
$(MAKE) -C $(KERNEL_DIR) SUBDIRS=$(PWD) $@ | ||
|
||
default: modules | ||
|
||
module: modules |
Oops, something went wrong.