diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-03-07 22:39:09 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-03-07 22:39:09 +0000 |
commit | b549fc52d1799de74aa633aca4ef272480a95356 (patch) | |
tree | b2865a17154e35a0315dc99776570b0a19e3d931 /sys/dev/ic/qlwvar.h | |
parent | 4c26d533db46fd9ce60c0565529995ec30c8165c (diff) |
Make sure a SCSI initiator ID provided by Open Firmware overrides the value
read from nvram, just like we did for isp(4).
Diffstat (limited to 'sys/dev/ic/qlwvar.h')
-rw-r--r-- | sys/dev/ic/qlwvar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/qlwvar.h b/sys/dev/ic/qlwvar.h index 1a306a64100..5a616f8cfe0 100644 --- a/sys/dev/ic/qlwvar.h +++ b/sys/dev/ic/qlwvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: qlwvar.h,v 1.4 2014/03/07 22:17:03 kettenis Exp $ */ +/* $OpenBSD: qlwvar.h,v 1.5 2014/03/07 22:39:07 kettenis Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -77,6 +77,9 @@ struct qlw_target { struct qlw_softc { struct device sc_dev; + int sc_flags; +#define QLW_FLAG_INITIATOR 0x0001 + bus_space_tag_t sc_iot; bus_space_handle_t sc_ioh; bus_size_t sc_ios; |