aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/geom_disk.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-07-25 15:43:52 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-07-25 15:43:52 +0000
commit8edcf69406cc816bb7c64b51ec38f23d25ad4b67 (patch)
tree17a1e011d37cb64ccedab6ec54cdbac15a501c84 /sys/geom/geom_disk.h
parentf4e7a6c3f1891945141035dfe0144611ba609d25 (diff)
downloadsrc-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 'sys/geom/geom_disk.h')
-rw-r--r--sys/geom/geom_disk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/geom/geom_disk.h b/sys/geom/geom_disk.h
index 5e9d1aae6c2f..01dd73236caa 100644
--- a/sys/geom/geom_disk.h
+++ b/sys/geom/geom_disk.h
@@ -85,6 +85,10 @@ struct disk {
u_int d_stripeoffset;
u_int d_stripesize;
char d_ident[DISK_IDENT_SIZE];
+ uint16_t d_hba_vendor;
+ uint16_t d_hba_device;
+ uint16_t d_hba_subvendor;
+ uint16_t d_hba_subdevice;
/* Fields private to the driver */
void *d_drv1;