• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:bus_no

1549 	u8 bus_no = 0;
1583 bus_no = buf[0]>>16;
1586 if(bus_no >= MAX_CHANNEL) { // Something wrong skip it
1587 printk(KERN_WARNING"%s: Channel number %d out of range \n", pHba->name, bus_no);
1591 printk(KERN_WARNING"%s: SCSI ID %d out of range \n", pHba->name, bus_no);
1594 if(bus_no > pHba->top_scsi_channel){
1595 pHba->top_scsi_channel = bus_no;
1622 bus_no = 0;
1627 // TODO get the bus_no from hrt-but for now they are in order
1628 //bus_no =
1629 if(bus_no > pHba->top_scsi_channel){
1630 pHba->top_scsi_channel = bus_no;
1632 pHba->channel[bus_no].type = d->lct_data.class_id;
1633 pHba->channel[bus_no].tid = tid;
1636 pHba->channel[bus_no].scsi_id = buf[1];
1637 PDEBUG("Bus %d - SCSI ID %d.\n", bus_no, buf[1]);
1640 bus_no++;
1641 if(bus_no >= MAX_CHANNEL) { // Something wrong skip it
1642 printk(KERN_WARNING"%s: Channel number %d out of range - LCT\n", pHba->name, bus_no);
1658 bus_no = buf[0]>>16;
1661 if(bus_no >= MAX_CHANNEL) { // Something wrong skip it
1667 if( pHba->channel[bus_no].device[scsi_id] == NULL){
1672 pHba->channel[bus_no].device[scsi_id] = pDev;
1674 for( pDev = pHba->channel[bus_no].device[scsi_id];
1684 pDev->scsi_channel = bus_no;
2602 u8 bus_no = 0;
2642 bus_no = buf[0]>>16;
2643 if (bus_no >= MAX_CHANNEL) { /* Something wrong skip it */
2646 pHba->name, bus_no);
2652 pDev = pHba->channel[bus_no].device[scsi_id];
2678 pDev = pHba->channel[bus_no].device[scsi_id];
2686 pHba->channel[bus_no].device[scsi_id] = pDev;
2699 pDev->scsi_channel = bus_no;
2721 pHba->name,bus_no,scsi_id,scsi_lun);