lkml.org 
[lkml]   [1996]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectLet's unify kbd device name
Date
From
Hi,
ttyp3 ~# lsdev
Device DMA IRQ Ports
------------------------------------------------
53c8xx 11
ES1688 10
OPL3/OPL2 0388-038b
SB 0310-0313
SoundBlaster 1 7 0220-022f
cascade 4 2
dma 0080-009f
dma1 0000-001f
dma2 00c0-00df
floppy 03f0-03f5 03f7-03f7
ide0 14 01f0-01f7 03f6-03f6
kbd 0060-006f
keyboard 1
math 13
npu 00f0-00ff
pic1 0020-003f
pic2 00a0-00bf
sbpcd 0330-0333
serial 3 4 02e8-02ef 02f8-02ff 03e8-03ef
timer 0 0040-005f
vga+ 03c0-03df

Note two entries for keyboard. Let's unify keyboard device name, it's that
simple:

--- drivers/char/keyboard.c.orig Sat May 11 10:33:56 1996
+++ drivers/char/keyboard.c Sat May 11 10:34:12 1996
@@ -1201,7 +1201,7 @@
ttytab = console_driver.table;

request_irq(KEYBOARD_IRQ, keyboard_interrupt, 0, "keyboard", NULL);
- request_region(0x60,16,"kbd");
+ request_region(0x60,16,"keyboard");
#ifdef INIT_KBD
initialize_kbd();
#endif
--
Best regards, -- Boris.




\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.018 / U:2.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site