Skip to contentSkip to conversation

2.4.0-test11(-ac4)/i386 configure bug

PATCH Jeff Epler 3 participants 4 messages Nov 26, 2000 Char and misc drivers

lore
Share & tools
lore

Jeff Epler

author
#0 lore raw

(not affected by the -ac4 patch, the file in question is not touched)

Parallel printer support (CONFIG_PRINTER) [N/m/?] (NEW) m
Support for console on line printer (CONFIG_LP_CONSOLE) [N/y/?] (NEW)

Suggested change:

drivers/char/Config.in renamed from drivers/char/Config.in.orig +1 -1
@@ -75,7 +75,7 @@
 fi
 if [ "$CONFIG_PARPORT" != "n" ]; then
    dep_tristate 'Parallel printer support' CONFIG_PRINTER $CONFIG_PARPORT
-   if [ "$CONFIG_PRINTER" != "n" ]; then
+   if [ "$CONFIG_PRINTER" = "y" ]; then
       bool '  Support for console on line printer' CONFIG_LP_CONSOLE
    fi
    dep_tristate 'Support for user-space parallel port device drivers' CONFIG_PPDEV $CONFIG_PARPORT

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 6 lines · Jeff Epler

(not affected by the -ac4 patch, the file in question is not touched)

Parallel printer support (CONFIG_PRINTER) [N/m/?] (NEW) m
Support for console on line printer (CONFIG_LP_CONSOLE) [N/y/?] (NEW)

Suggested change:

What's wrong with it?

Tim.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

author
#2 lore raw
In reply to Jeff Epler
Quoted 10 lines · Tim Waugh
Quoted 6 lines · Jeff Epler

(not affected by the -ac4 patch, the file in question is not touched)

Parallel printer support (CONFIG_PRINTER) [N/m/?] (NEW) m
Support for console on line printer (CONFIG_LP_CONSOLE) [N/y/?] (NEW)

Suggested change:

What's wrong with it?

How can you have the console on a modularized device?

Above, this is correctly forbidden for serial console.

Or can I dynamically change the console device after bootup?

Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
Quoted 1 line · Jeff Epler

How can you have the console on a modularized device?

You can have more than one console device. Only the primary device needs to be present at boot time. Actually, I'm not sure even that has to be present.

Since I added unregister_console() a long time ago, you can dynamically add and remove console devices.

Quoted 3 lines

Above, this is correctly forbidden for serial console.

Or can I dynamically change the console device after bootup?

Not change. Add a new one. console != preferred_console.

And in this case, it's exactly what you want. You don't want all the normal bootup cruft, you want to load the driver after the boot is finished, and only catch oopsen.

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/