chio.c (41579) | chio.c (46073) |
---|---|
1/* $NetBSD: chio.c,v 1.6 1998/01/04 23:53:58 thorpej Exp $ */ 2/* 3 * Copyright (c) 1996 Jason R. Thorpe <thorpej@and.com> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 642 unchanged lines hidden (view full) --- 651 if (pvoltag) 652 printf(" voltag: <%s:%d>", 653 ces->ces_pvoltag.cv_volid, 654 ces->ces_pvoltag.cv_serial); 655 if (avoltag) 656 printf(" avoltag: <%s:%d>", 657 ces->ces_avoltag.cv_volid, 658 ces->ces_avoltag.cv_serial); | 1/* $NetBSD: chio.c,v 1.6 1998/01/04 23:53:58 thorpej Exp $ */ 2/* 3 * Copyright (c) 1996 Jason R. Thorpe <thorpej@and.com> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 642 unchanged lines hidden (view full) --- 651 if (pvoltag) 652 printf(" voltag: <%s:%d>", 653 ces->ces_pvoltag.cv_volid, 654 ces->ces_pvoltag.cv_serial); 655 if (avoltag) 656 printf(" avoltag: <%s:%d>", 657 ces->ces_avoltag.cv_volid, 658 ces->ces_avoltag.cv_serial); |
659 if (source) | 659 if (source) { |
660 if (ces->ces_flags & CES_SOURCE_VALID) 661 printf(" source: <%s %d>", 662 element_type_name( 663 ces->ces_source_type), 664 ces->ces_source_addr); 665 else 666 printf(" source: <>"); | 660 if (ces->ces_flags & CES_SOURCE_VALID) 661 printf(" source: <%s %d>", 662 element_type_name( 663 ces->ces_source_type), 664 ces->ces_source_addr); 665 else 666 printf(" source: <>"); |
667 } |
|
667 if (intaddr) 668 printf(" intaddr: <%d>", ces->ces_int_addr); 669 if (scsi) { 670 printf(" scsi: <"); 671 if (ces->ces_flags & CES_SCSIID_VALID) 672 printf("%d", ces->ces_scsi_id); 673 else 674 putchar('?'); --- 235 unchanged lines hidden --- | 668 if (intaddr) 669 printf(" intaddr: <%d>", ces->ces_int_addr); 670 if (scsi) { 671 printf(" scsi: <"); 672 if (ces->ces_flags & CES_SCSIID_VALID) 673 printf("%d", ces->ces_scsi_id); 674 else 675 putchar('?'); --- 235 unchanged lines hidden --- |