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