diff options
author | Alexander Motin <mav@FreeBSD.org> | 2010-07-25 15:43:52 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2010-07-25 15:43:52 +0000 |
commit | 8edcf69406cc816bb7c64b51ec38f23d25ad4b67 (patch) | |
tree | 17a1e011d37cb64ccedab6ec54cdbac15a501c84 /sbin | |
parent | f4e7a6c3f1891945141035dfe0144611ba609d25 (diff) | |
download | src-8edcf69406cc816bb7c64b51ec38f23d25ad4b67.tar.gz src-8edcf69406cc816bb7c64b51ec38f23d25ad4b67.zip |
Export PCI IDs of ATA/SATA controllers through CAM and ata(4) layers to
GEOM. This information needed for proper soft-RAID's on-disk metadata
reading and writing.
Notes
Notes:
svn path=/head/; revision=210471
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/camcontrol/camcontrol.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index c39d7ba37048..9f269066f6dc 100644 --- a/sbin/camcontrol/camcontrol.c +++ b/sbin/camcontrol/camcontrol.c @@ -3083,6 +3083,14 @@ cpi_print(struct ccb_pathinq *cpi) cpi->initiator_id); fprintf(stdout, "%s SIM vendor: %s\n", adapter_str, cpi->sim_vid); fprintf(stdout, "%s HBA vendor: %s\n", adapter_str, cpi->hba_vid); + fprintf(stdout, "%s HBA vendor ID: 0x%04x\n", + adapter_str, cpi->hba_vendor); + fprintf(stdout, "%s HBA device ID: 0x%04x\n", + adapter_str, cpi->hba_device); + fprintf(stdout, "%s HBA subvendor ID: 0x%04x\n", + adapter_str, cpi->hba_subvendor); + fprintf(stdout, "%s HBA subdevice ID: 0x%04x\n", + adapter_str, cpi->hba_subdevice); fprintf(stdout, "%s bus ID: %d\n", adapter_str, cpi->bus_id); fprintf(stdout, "%s base transfer speed: ", adapter_str); if (cpi->base_transfer_speed > 1000) @@ -3092,6 +3100,8 @@ cpi_print(struct ccb_pathinq *cpi) else fprintf(stdout, "%dKB/sec\n", (cpi->base_transfer_speed % 1000) * 1000); + fprintf(stdout, "%s maximum transfer size: %u bytes\n", + adapter_str, cpi->maxio); } static int |