forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
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 <[email protected]> Signed-off-by: Neo Jia <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
- Loading branch information
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.