diff options
author | 2016-10-24 01:50:09 +0000 | |
---|---|---|
committer | 2016-10-24 01:50:09 +0000 | |
commit | 23646fe4ceb8a3404ee885160b43dcb4d085400b (patch) | |
tree | e58dc82d3cc90f94c9fe0aee6a86706911490a44 /sys/dev/pci/mpiireg.h | |
parent | Remove dead breaks, found via opencoverage.net. ok deraadt@ (diff) | |
download | wireguard-openbsd-23646fe4ceb8a3404ee885160b43dcb4d085400b.tar.xz wireguard-openbsd-23646fe4ceb8a3404ee885160b43dcb4d085400b.zip |
augment the scsi_probe handler so it tries to query the sas dev pg 0
sas dev pg0 tells us interesting things, like the devices sas addresses
and if it is ATAPI or not.
Diffstat (limited to 'sys/dev/pci/mpiireg.h')
-rw-r--r-- | sys/dev/pci/mpiireg.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/pci/mpiireg.h b/sys/dev/pci/mpiireg.h index 79bc8d4d840..5131c4f75c3 100644 --- a/sys/dev/pci/mpiireg.h +++ b/sys/dev/pci/mpiireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mpiireg.h,v 1.10 2016/09/14 01:14:54 jmatthew Exp $ */ +/* $OpenBSD: mpiireg.h,v 1.11 2016/10/24 01:50:09 dlg Exp $ */ /* * Copyright (c) 2010 Mike Belopuhov * Copyright (c) 2009 James Giannoules @@ -1059,6 +1059,13 @@ struct mpii_ecfg_hdr { u_int8_t reserved2; } __packed __aligned(4); +/* config page address formats */ +#define MPII_PGAD_SAS_DEVICE_FORM_MASK (0xf0000000) +#define MPII_PGAD_SAS_DEVICE_FORM_GET_NEXT_HANDLE (0x00000000) +#define MPII_PGAD_SAS_DEVICE_FORM_HANDLE (0x20000000) + +#define MPII_PGAD_SAS_DEVICE_HANDLE_MASK (0x0000ffff) + struct mpii_msg_config_request { u_int8_t action; #define MPII_CONFIG_REQ_ACTION_PAGE_HEADER (0x00) |