lkml.org 
[lkml]   [2003]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Add a config option for drivers/char/raw.o
Hi!

This patch is basically a backport of 2.5, works for me and applies
cleanly to 2.4.20, -rc1 and -rc1-ac4.

Comments?

Jörn

--
Public Domain - Free as in Beer
General Public - Free as in Speech
BSD License - Free as in Enterprise
Shared Source - Free as in "Work will make you..."

--- linux-2.4.20/drivers/char/Makefile~remove_charraw 2002-11-29 00:53:12.000000000 +0100
+++ linux-2.4.20/drivers/char/Makefile 2003-04-14 15:16:17.000000000 +0200
@@ -16,7 +16,7 @@

O_TARGET := char.o

-obj-y += mem.o tty_io.o n_tty.o tty_ioctl.o raw.o pty.o misc.o random.o
+obj-y += mem.o tty_io.o n_tty.o tty_ioctl.o pty.o misc.o random.o

# All of the (potential) objects that export symbols.
# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
@@ -197,6 +197,7 @@
obj-$(CONFIG_HVC_CONSOLE) += hvc_console.o
obj-$(CONFIG_SERIAL_TX3912) += generic_serial.o serial_tx3912.o
obj-$(CONFIG_TXX927_SERIAL) += serial_txx927.o
+obj-$(CONFIG_RAW_DRIVER) += raw.o

subdir-$(CONFIG_RIO) += rio
subdir-$(CONFIG_INPUT) += joystick
--- linux-2.4.20/drivers/char/Config.in~remove_charraw 2002-11-29 00:53:12.000000000 +0100
+++ linux-2.4.20/drivers/char/Config.in 2003-04-14 15:18:33.000000000 +0200
@@ -321,4 +321,6 @@
tristate 'ACP Modem (Mwave) support' CONFIG_MWAVE
fi

+tristate "RAW driver (/dev/raw/rawN)" CONFIG_RAW_DRIVER
+
endmenu
--- linux-2.4.20/Documentation/Configure.help~remove_charraw 2002-11-29 00:53:08.000000000 +0100
+++ linux-2.4.20/Documentation/Configure.help 2003-04-14 15:20:04.000000000 +0200
@@ -3478,6 +3478,13 @@
The module will be called mwave.o. If you want to compile it as
a module, say M here and read Documentation/modules.txt.

+RAW driver (/dev/raw/rawN)
+CONFIG_RAW_DRIVER
+ The raw driver permits block devices to be bound to /dev/raw/rawN.
+ Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
+ See the raw(8) manpage for more details.
+
+
/dev/agpgart (AGP Support)
CONFIG_AGP
AGP (Accelerated Graphics Port) is a bus system mainly used to
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.020 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site