tag | line | file | source code |
count2 | 222 | drivers/scsi/in2000.c | unsigned fic, count, count2; |
count2 | 226 | drivers/scsi/in2000.c | count2 = count; |
count2 | 228 | drivers/scsi/in2000.c | } while ( count != count2 ); |
count2 | 231 | drivers/scsi/in2000.c | count2 = in2000_txcnt(); /* bytes yet to come over SCSI bus */ |
count2 | 232 | drivers/scsi/in2000.c | DEB(printk("FIr:%d %02x %08x %08x\n", in2000_datalen,fic,count2,(unsigned int)in2000_dataptr)); |
count2 | 233 | drivers/scsi/in2000.c | if(count2 > 65536) count2 = 0; |
count2 | 237 | drivers/scsi/in2000.c | else if ( count2 < in2000_datalen ) /* if drive has < what we want */ |
count2 | 238 | drivers/scsi/in2000.c | count = in2000_datalen - count2; /* FIFO has the rest */ |
count2 | 240 | drivers/scsi/in2000.c | count2 = in2000_datalen >> 1; /* converted to word count */ |
count2 | 242 | drivers/scsi/in2000.c | count2 = count >> 1; |
count2 | 244 | drivers/scsi/in2000.c | count -= count2; /* extra left over in FIFO */ |
count2 | 246 | drivers/scsi/in2000.c | if ( count2 ) { |
count2 | 247 | drivers/scsi/in2000.c | port_read(INFIFO, in2000_dataptr, count2); |
count2 | 248 | drivers/scsi/in2000.c | in2000_datalen -= (count2<<1); |
count2 | 251 | drivers/scsi/in2000.c | while ( count2-- ) |