ref: 01e7d784df2e35dc030b8435654d1454687371e5
parent: 40cb72e7f8cda9d21e1b7f738f6281e181c0de9e
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jun 1 12:14:25 EDT 2024
sdaoe: remove unfinished atapi code (thanks arne)
--- a/sys/src/9/port/sdaoe.c
+++ b/sys/src/9/port/sdaoe.c
@@ -366,14 +366,7 @@
int r;
c = u->dev->ctlr;
- r = 0;
- if((c->feat&Datapi) && c->drivechange){
- if(aoeconnect(u, c) == 0 && (r = scsionline(u)) > 0)
- c->drivechange = 0;
- return r;
- }
-
if(c->drivechange){
if(aoeconnect(u, c) == -1)
return 0;
@@ -396,8 +389,6 @@
Ctlr *c;
c = u->dev->ctlr;
-// if(c->feat & Datapi)
-// return scsibio(u, lun, write, a, count, lba);
data = a;
if(write)
rio = devtab[c->c->type]->write;
@@ -431,8 +422,6 @@
u = r->unit;
c = u->dev->ctlr;
-// if(c->feat & Datapi)
-// return aoeriopkt(r, d);
if(r->cmd[0] == 0x35 || r->cmd[0] == 0x91){
qlock(c);