Skip to contentSkip to conversation

SysRq

PATCH In review Andrzej Krzysztofowicz 2 participants 2 messages Apr 26, 2001 – Apr 29, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SysRq

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

char/sysrq.c renamed from char/sysrq.c~ +7 -0
diff -uNr drivers/char/sysrq.c~ drivers/char/sysrq.c
@@ -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;
Signature · 4 lines
=======================================================================
  Andrzej M. Krzysztofowicz               [email protected]
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk
#1 lore raw

Hi!

Quoted 2 lines

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.

Quoted 1 line

BTW, it would be probably nice to add some mon-x86 disk devices here...

True... Feel free to do so.

Signature · 2 lines
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.