* [PATCH] SysRq
@ 2001-04-26 19:25 Andrzej Krzysztofowicz
2001-04-27 11:32 ` Pavel Machek
0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Krzysztofowicz @ 2001-04-26 19:25 UTC (permalink / raw)
To: Alan Cox, Linus Torvalds; +Cc: Andre M. Hedrick, kernel list
Hi,
The following patch add more disk devices to the SysRq sync list (in both:
-pre and -ac trees). Were the extra IDE devices intentionally omitted here?
BTW, it would be probably nice to add some mon-x86 disk devices here...
Andrzej
diff -uNr drivers/char/sysrq.c~ drivers/char/sysrq.c
--- drivers/char/sysrq.c~ Sun Apr 22 14:48:18 2001
+++ drivers/char/sysrq.c Wed Apr 25 02:36:12 2001
@@ -114,6 +114,12 @@
case IDE1_MAJOR:
case IDE2_MAJOR:
case IDE3_MAJOR:
+ case IDE4_MAJOR:
+ case IDE5_MAJOR:
+ case IDE6_MAJOR:
+ case IDE7_MAJOR:
+ case IDE8_MAJOR:
+ case IDE9_MAJOR:
case SCSI_DISK0_MAJOR:
case SCSI_DISK1_MAJOR:
case SCSI_DISK2_MAJOR:
@@ -122,6 +128,7 @@
case SCSI_DISK5_MAJOR:
case SCSI_DISK6_MAJOR:
case SCSI_DISK7_MAJOR:
+ case XT_DISK_MAJOR:
return 1;
default:
return 0;
--
=======================================================================
Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Technical University of Gdansk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] SysRq
2001-04-26 19:25 [PATCH] SysRq Andrzej Krzysztofowicz
@ 2001-04-27 11:32 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2001-04-27 11:32 UTC (permalink / raw)
To: Andrzej Krzysztofowicz
Cc: Alan Cox, Linus Torvalds, Andre M. Hedrick, kernel list
Hi!
> The following patch add more disk devices to the SysRq sync list (in both:
> -pre and -ac trees). Were the extra IDE devices intentionally omitted here?
No, ommiting them was probably bug.
> BTW, it would be probably nice to add some mon-x86 disk devices here...
True... Feel free to do so.
--
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-29 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-26 19:25 [PATCH] SysRq Andrzej Krzysztofowicz
2001-04-27 11:32 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox