diff options
author | ken <ken@FreeBSD.org> | 1999-01-19 16:59:36 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1999-01-19 16:59:36 +0000 |
commit | b4b5aa1d9fd7bf64ce490be1f442be8dca35c83e (patch) | |
tree | 0bb7406b9f5cd9c2066231af9a9fd4bcfefe9ab3 /sys/cam/cam_xpt.c | |
parent | 3e5ec8fe1cc18c07eed0e6181e49329a03884171 (diff) | |
download | FreeBSD-src-b4b5aa1d9fd7bf64ce490be1f442be8dca35c83e.zip FreeBSD-src-b4b5aa1d9fd7bf64ce490be1f442be8dca35c83e.tar.gz |
The Samsung WN34324U is broken for tagged queueing.
PR: kern/9535
Submitted by: NAKAJI Hiroyuki <nakaji@zeisei.dpri.kyoto-u.ac.jp>
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r-- | sys/cam/cam_xpt.c | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index bef1703..067b08b 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cam_xpt.c,v 1.37 1999/01/19 00:13:05 peter Exp $ + * $Id: cam_xpt.c,v 1.38 1999/01/19 01:02:47 ken Exp $ */ #include <sys/param.h> #include <sys/systm.h> @@ -236,6 +236,7 @@ struct xpt_softc { static const char quantum[] = "QUANTUM"; static const char sony[] = "SONY"; static const char west_digital[] = "WDIGTL"; +static const char samsung[] = "SAMSUNG"; static struct xpt_quirk_entry xpt_quirk_table[] = { @@ -304,6 +305,16 @@ static struct xpt_quirk_entry xpt_quirk_table[] = { T_DIRECT, SIP_MEDIA_FIXED, "CONNER", "CFP*", "*" }, /*quirks*/0, /*mintags*/0, /*maxtags*/0 }, + { + /* + * Broken tagged queuing drive. + * Submitted by: + * NAKAJI Hiroyuki <nakaji@zeisei.dpri.kyoto-u.ac.jp> + * in PR kern/9535 + */ + { T_DIRECT, SIP_MEDIA_FIXED, samsung, "WN34324U*", "*" }, + /*quirks*/0, /*mintags*/0, /*maxtags*/0 + }, { /* * Slow when tagged queueing is enabled. (1.5MB/sec versus @@ -328,7 +339,7 @@ static struct xpt_quirk_entry xpt_quirk_table[] = * so we need to limit maxtags to what the device * can handle instead of determining this automatically. */ - { T_DIRECT, SIP_MEDIA_FIXED, "SAMSUNG", "WN321010S*", "*" }, + { T_DIRECT, SIP_MEDIA_FIXED, samsung, "WN321010S*", "*" }, /*quirks*/0, /*mintags*/2, /*maxtags*/32 }, { |