head 1.3; access; symbols pkgsrc-2016Q4:1.2.0.14 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.12 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.10 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.8 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.6 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.4 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.2 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.1.0.28 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.26 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.24 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.22 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.20 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.18 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.16 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.14 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.12 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.10 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.8 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.6 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.4 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.2; locks; strict; comment @# @; 1.3 date 2016.12.29.19.13.03; author wiz; state dead; branches; next 1.2; commitid kFYPk8EnajcmFUzz; 1.2 date 2015.06.11.17.42.43; author bouyer; state Exp; branches; next 1.1; commitid 7ft3JKJJIgINn2py; 1.1 date 2012.01.26.11.19.23; author cegger; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2012.01.26.11.19.23; author tron; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2012.02.04.14.21.29; author tron; state Exp; branches; next ; desc @@ 1.3 log @Remove xenkernel and tools versions 3, 33, and 41. As discussed on pkgsrc-users. @ text @$NetBSD: patch-df,v 1.2 2015/06/11 17:42:43 bouyer Exp $ --- ioemu-qemu-xen/hw/ide.c.orig 2014-01-09 13:44:42.000000000 +0100 +++ ioemu-qemu-xen/hw/ide.c 2015-06-11 16:15:49.000000000 +0200 @@@@ -757,10 +757,15 @@@@ put_le16(p + 58, oldsize >> 16); if (s->mult_sectors) put_le16(p + 59, 0x100 | s->mult_sectors); - put_le16(p + 60, s->nb_sectors); - put_le16(p + 61, s->nb_sectors >> 16); + if (s->nb_sectors > 0x10000000) + oldsize = 0x10000000; /* report only 128GB */ + else + oldsize = s->nb_sectors; + put_le16(p + 60, oldsize); + put_le16(p + 61, oldsize >> 16); put_le16(p + 62, 0x07); /* single word dma0-2 supported */ put_le16(p + 63, 0x07); /* mdma0-2 supported */ + put_le16(p + 64, 0x03); /* pio3-4 supported */ put_le16(p + 65, 120); put_le16(p + 66, 120); put_le16(p + 67, 120); @@@@ -812,13 +817,12 @@@@ put_le16(p + 53, 7); /* words 64-70, 54-58, 88 valid */ put_le16(p + 62, 7); /* single word dma0-2 supported */ put_le16(p + 63, 7); /* mdma0-2 supported */ - put_le16(p + 64, 0x3f); /* PIO modes supported */ #else put_le16(p + 49, 1 << 9); /* LBA supported, no DMA */ put_le16(p + 53, 3); /* words 64-70, 54-58 valid */ put_le16(p + 63, 0x103); /* DMA modes XXX: may be incorrect */ - put_le16(p + 64, 1); /* PIO modes */ #endif + put_le16(p + 64, 3); /* pio3-4 supported */ put_le16(p + 65, 0xb4); /* minimum DMA multiword tx cycle time */ put_le16(p + 66, 0xb4); /* recommended DMA multiword tx cycle time */ put_le16(p + 67, 0x12c); /* minimum PIO cycle time without flow control */ @ 1.2 log @For disks larger than 128GB, the LBA capacity reported by IDE disks should be limited to 128GB, the real size being reported in LBA48 capacity. Should fix disk corrution reported by Reinoud Zandijk. Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD: patch-qemu-xen-traditional_hw_ide.c,v 1.1 2013/05/15 06:58:50 jnemeth Exp $ @ 1.1 log @Apply patch 79d1d3311319f3390f540f547becaba9d957f84c from qemu upstream: Fill in word 64 of IDENTIFY data to indicate support for PIO modes 3 and 4. This allows NetBSD guests to use UltraDMA modes instead of just PIO mode 0. With this patch I can no longer reproduce PR 42455. Bump package revision. @ text @d1 1 a1 1 $NetBSD$ d3 14 a16 4 --- ioemu-qemu-xen/hw/ide.c.orig 2011-02-11 17:54:51.000000000 +0000 +++ ioemu-qemu-xen/hw/ide.c @@@@ -761,6 +761,7 @@@@ static void ide_identify(IDEState *s) put_le16(p + 61, s->nb_sectors >> 16); d23 1 a23 1 @@@@ -812,13 +813,12 @@@@ static void ide_atapi_identify(IDEState @ 1.1.2.1 log @file patch-df was added on branch pkgsrc-2011Q4 on 2012-02-04 14:21:29 +0000 @ text @d1 27 @ 1.1.2.2 log @Pullup ticket #3672 - requested by bouyer sysutils/xentools33: build fix sysutils/xentools41: bug fix Revisions pulled up: - sysutils/xentools33/Makefile 1.28 - sysutils/xentools33/distinfo 1.26 - sysutils/xentools33/patches/patch-blktaplib_h 1.1 - sysutils/xentools33/patches/patch-io_ring_h 1.1 - sysutils/xentools41/Makefile 1.14 - sysutils/xentools41/distinfo 1.16 - sysutils/xentools41/patches/patch-df 1.1 --- Module Name: pkgsrc Committed By: cegger Date: Mon Jan 9 14:06:35 UTC 2012 Modified Files: pkgsrc/sysutils/xentools33: Makefile distinfo Added Files: pkgsrc/sysutils/xentools33/patches: patch-blktaplib_h patch-io_ring_h Log Message: Apply fixes for gcc 4.5. I cannot reproduce the error message show in PR 45386. Bump revision. --- Module Name: pkgsrc Committed By: cegger Date: Thu Jan 26 11:19:24 UTC 2012 Modified Files: pkgsrc/sysutils/xentools41: Makefile distinfo Added Files: pkgsrc/sysutils/xentools41/patches: patch-df Log Message: Apply patch 79d1d3311319f3390f540f547becaba9d957f84c from qemu upstream: Fill in word 64 of IDENTIFY data to indicate support for PIO modes 3 and 4. This allows NetBSD guests to use UltraDMA modes instead of just PIO mode 0. With this patch I can no longer reproduce PR 42455. Bump package revision. @ text @a0 27 $NetBSD$ --- ioemu-qemu-xen/hw/ide.c.orig 2011-02-11 17:54:51.000000000 +0000 +++ ioemu-qemu-xen/hw/ide.c @@@@ -761,6 +761,7 @@@@ static void ide_identify(IDEState *s) put_le16(p + 61, s->nb_sectors >> 16); put_le16(p + 62, 0x07); /* single word dma0-2 supported */ put_le16(p + 63, 0x07); /* mdma0-2 supported */ + put_le16(p + 64, 0x03); /* pio3-4 supported */ put_le16(p + 65, 120); put_le16(p + 66, 120); put_le16(p + 67, 120); @@@@ -812,13 +813,12 @@@@ static void ide_atapi_identify(IDEState put_le16(p + 53, 7); /* words 64-70, 54-58, 88 valid */ put_le16(p + 62, 7); /* single word dma0-2 supported */ put_le16(p + 63, 7); /* mdma0-2 supported */ - put_le16(p + 64, 0x3f); /* PIO modes supported */ #else put_le16(p + 49, 1 << 9); /* LBA supported, no DMA */ put_le16(p + 53, 3); /* words 64-70, 54-58 valid */ put_le16(p + 63, 0x103); /* DMA modes XXX: may be incorrect */ - put_le16(p + 64, 1); /* PIO modes */ #endif + put_le16(p + 64, 3); /* pio3-4 supported */ put_le16(p + 65, 0xb4); /* minimum DMA multiword tx cycle time */ put_le16(p + 66, 0xb4); /* recommended DMA multiword tx cycle time */ put_le16(p + 67, 0x12c); /* minimum PIO cycle time without flow control */ @