3 --- linux-2.4.20-rh/drivers/net/netconsole.c~netconsole_sysrq 2003-04-11 14:04:57.000000000 +0800
4 +++ linux-2.4.20-rh-root/drivers/net/netconsole.c 2003-07-01 11:10:26.000000000 +0800
5 @@ -988,7 +988,15 @@ static void netconsole_netdump (struct p
7 send_netdump_skb(dev, tmp, strlen(tmp), &reply);
11 + Dprintk("got SYSRQ command.\n");
12 + printk("netdump: got SYSRQ command %d \n", req->from);
13 + handle_sysrq(req->from, regs, NULL, NULL);
14 + reply.code = REPLY_SYSRQ;
16 + reply.info = req->from;
17 + send_netdump_skb(dev, tmp, strlen(tmp), &reply);
20 reply.code = REPLY_ERROR;
22 --- linux-2.4.20-rh/drivers/net/netconsole.h~netconsole_sysrq 2003-04-11 14:04:57.000000000 +0800
23 +++ linux-2.4.20-rh-root/drivers/net/netconsole.h 2003-07-01 11:11:29.000000000 +0800
24 @@ -42,6 +42,7 @@ enum netdump_commands {
25 COMM_START_NETDUMP_ACK = 7,
31 #define NETDUMP_REQ_SIZE (8+4*4)
32 @@ -69,6 +70,7 @@ enum netdump_replies {
35 REPLY_SHOW_STATE = 12,
39 typedef struct netdump_reply_s {