Mailinglist Archive: packet-writing (24 mails)
| < Previous | Next > |
Re: [announce] packet-0.0.2l-as2
- From: Arnd Bergmann <std7652@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Jun 2001 12:28:24 +0000 (UTC)
- Message-id: <Pine.GSO.4.21.0106141407070.2112-100000@gamma10>
On Sat, 9 Jun 2001, Adam wrote:
>
> packet-0.0.2l-as2, an incremental release to packet-0.0.2l-as
>
> it works (at least should) with kernels
> 2.4.5
> 2.4.6-pre1
> 2.4.6-pre2
>
I just saw packet-0.0.2l-as3 on your web site and wanted to compile
it with 2.4.5-ac13. Patch applies fine, but SysRq support fails
to compile now.
The (untested) patch below lets you compile without errors.
Arnd <><
--- drivers/char/sysrq.c-2.4.5-ac13-pkt Thu Jun 14 15:13:40 2001
+++ drivers/char/sysrq.c Thu Jun 14 15:19:35 2001
@@ -28,6 +28,8 @@
#include <linux/smp_lock.h>
#include <linux/module.h>
#include <linux/irq.h>
+#include <linux/blkdev.h>
+#include <linux/blk.h>
#include <linux/spinlock.h>
@@ -37,6 +39,9 @@
extern void reset_vc(unsigned int);
extern struct list_head super_blocks;
+/* forward declaration */
+static void show_requests(request_queue_t *q);
+
/* Whether we react on sysrq keys or just ignore them */
int sysrq_enabled = 1;
@@ -83,7 +88,7 @@
if (q)
show_requests(q);
}
-static struct showpkt_op sysrq_showpkt_op = {
+static struct sysrq_key_op sysrq_showpkt_op = {
handler: sysrq_handle_showpkt,
help_msg: "Quick (show pktcdvd queue)", /* :P */
action_msg: "Pending requests in /dev/pktcdvd0 queue\n",
>
> packet-0.0.2l-as2, an incremental release to packet-0.0.2l-as
>
> it works (at least should) with kernels
> 2.4.5
> 2.4.6-pre1
> 2.4.6-pre2
>
I just saw packet-0.0.2l-as3 on your web site and wanted to compile
it with 2.4.5-ac13. Patch applies fine, but SysRq support fails
to compile now.
The (untested) patch below lets you compile without errors.
Arnd <><
--- drivers/char/sysrq.c-2.4.5-ac13-pkt Thu Jun 14 15:13:40 2001
+++ drivers/char/sysrq.c Thu Jun 14 15:19:35 2001
@@ -28,6 +28,8 @@
#include <linux/smp_lock.h>
#include <linux/module.h>
#include <linux/irq.h>
+#include <linux/blkdev.h>
+#include <linux/blk.h>
#include <linux/spinlock.h>
@@ -37,6 +39,9 @@
extern void reset_vc(unsigned int);
extern struct list_head super_blocks;
+/* forward declaration */
+static void show_requests(request_queue_t *q);
+
/* Whether we react on sysrq keys or just ignore them */
int sysrq_enabled = 1;
@@ -83,7 +88,7 @@
if (q)
show_requests(q);
}
-static struct showpkt_op sysrq_showpkt_op = {
+static struct sysrq_key_op sysrq_showpkt_op = {
handler: sysrq_handle_showpkt,
help_msg: "Quick (show pktcdvd queue)", /* :P */
action_msg: "Pending requests in /dev/pktcdvd0 queue\n",
| < Previous | Next > |