no need for ancient mips bits. Reference: /n/atom/patch/applied2013/bootsasmag Date: Fri Oct 11 18:53:09 CES 2013 Signed-off-by: quanstro@quanstro.net --- /sys/src/9/boot/local.c Fri Oct 11 18:52:49 2013 +++ /sys/src/9/boot/local.c Fri Oct 11 18:52:49 2013 @@ -18,15 +18,6 @@ * 'root is from' prompt, use it */ disk = sys; - } else if(strncmp(argv0, "dksc(0,", 7) == 0){ - /* - * on many mips arg0 of the boot command specifies the - * scsi logical unit number - */ - p = strchr(argv0, ','); - n = strtoul(p+1, 0, 10); - sprint(diskname, "#w%d/sd%dfs", n, n); - disk = diskname; } else if(mp->arg){ /* * a default is supplied when the kernel is made --- /sys/src/nix/boot/local.c Fri Oct 11 18:52:50 2013 +++ /sys/src/nix/boot/local.c Fri Oct 11 18:52:50 2013 @@ -18,15 +18,6 @@ * 'root is from' prompt, use it */ disk = sys; - } else if(strncmp(argv0, "dksc(0,", 7) == 0){ - /* - * on many mips arg0 of the boot command specifies the - * scsi logical unit number - */ - p = strchr(argv0, ','); - n = strtoul(p+1, 0, 10); - sprint(diskname, "#w%d/sd%dfs", n, n); - disk = diskname; } else if(mp->arg){ /* * a default is supplied when the kernel is made