Thomas Schmitt, le Sun 09 Oct 2011 11:45:59 +0200, a écrit :
> So it will be possible to test the command transport via an SCSI
> controller when there is a RPC to reach the transaction calls
> in gnumach.

Yes.

> > Unfortunately, when enabling a SCSI hosts, the network card stops
> > working for some reason, maybe simply a problem of shared IRQ.
> 
> This will make the test a bit uncomfortable for me.

I've pushed a few bits to fix the issue. The remaining bit is spl level.
You can try the attached patch, it works fine for me.

Samuel
diff --git a/linux/dev/drivers/block/genhd.c b/linux/dev/drivers/block/genhd.c
index 84b3792..95b499b 100644
--- a/linux/dev/drivers/block/genhd.c
+++ b/linux/dev/drivers/block/genhd.c
@@ -771,7 +771,7 @@ void device_setup(void)
        struct gendisk *p;
        int nr=0;
 #ifdef MACH
-       linux_intr_pri = SPL5;
+       linux_intr_pri = SPL6;
 #endif
 
 #ifndef MACH
diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c
index dfd2ee9..0c76d3d 100644
--- a/linux/dev/glue/block.c
+++ b/linux/dev/glue/block.c
@@ -935,7 +935,7 @@ init_partition (struct name_map *np, kdev_t *dev,
       if (gd->part[MINOR (d->inode.i_rdev)].nr_sects <= 0
          || gd->part[MINOR (d->inode.i_rdev)].start_sect < 0)
        continue;
-      linux_intr_pri = SPL5;
+      linux_intr_pri = SPL6;
       d->file.f_flags = 0;
       d->file.f_mode = O_RDONLY;
       if (ds->fops->open && (*ds->fops->open) (&d->inode, &d->file))
@@ -1081,7 +1081,7 @@ device_open (ipc_port_t reply_port, mach_msg_type_name_t 
reply_port_type,
   if (ds->fops->open)
     {
       td.inode.i_rdev = dev;
-      linux_intr_pri = SPL5;
+      linux_intr_pri = SPL6;
       err = (*ds->fops->open) (&td.inode, &td.file);
       if (err)
        {

Reply via email to