diff options
author | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2002-03-27 17:42:38 +0000 |
---|---|---|
committer | Grigoriy Orlov <gluk@cvs.openbsd.org> | 2002-03-27 17:42:38 +0000 |
commit | 87bbeef386d9841d66a33f3656cceb83128598e6 (patch) | |
tree | d84266ad34936de88e8a8e36b5da9522a2223f9a /sys/dev | |
parent | d0d12731d1effad29d23f723d67ceb4f520e40ca (diff) |
Calculate the maximum queue depth correctly.
PR2490 from Alexander Yurchenko <grange@rt.mipt.ru>
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ata/atareg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/atareg.h b/sys/dev/ata/atareg.h index 16f7b82c152..23e75516a50 100644 --- a/sys/dev/ata/atareg.h +++ b/sys/dev/ata/atareg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atareg.h,v 1.4 2001/06/25 19:31:47 csapuntz Exp $ */ +/* $OpenBSD: atareg.h,v 1.5 2002/03/27 17:42:37 gluk Exp $ */ /* $NetBSD: atareg.h,v 1.5 1999/01/18 20:06:24 bouyer Exp $ */ #ifndef __DEV_ATA_ATAREG_H__ @@ -104,7 +104,7 @@ struct ataparams { u_int16_t atap_pkt_bsyclr; /* 72: tme to clear BSY after service */ u_int16_t __reserved4[2]; u_int16_t atap_queuedepth; /* 75: */ -#define WDC_QUEUE_DEPTH_MASK 0x0F +#define WDC_QUEUE_DEPTH_MASK 0x1f u_int16_t __reserved5[4]; u_int16_t atap_ata_major; /* 80: Major version number */ #define WDC_VER_ATA1 0x0002 |