From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlxI8-0008P1-MW for qemu-devel@nongnu.org; Wed, 05 Nov 2014 04:54:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlxI0-0003gx-8y for qemu-devel@nongnu.org; Wed, 05 Nov 2014 04:54:16 -0500 Received: from [59.151.112.132] (port=24821 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlxHz-0003fB-R0 for qemu-devel@nongnu.org; Wed, 05 Nov 2014 04:54:08 -0500 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (localhost.localdomain [127.0.0.1]) by edo.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id sA59rng7031625 for ; Wed, 5 Nov 2014 17:53:50 +0800 From: Hu Tao Date: Wed, 5 Nov 2014 17:50:40 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [RFC PATCH 0/6] pci cleanup: remove pci_config_set_* List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, This series removes pci_config_set_*. The main purpose is for API consistency. Detailed reasons: - pci_config_set_* are not complete. 1) Only part of registers in predefined header portion of PCI Configuration Space are supported. 2) Lack of get_ counterparts. - pci_set_word() and friends are extensively used in qemu. They are used both for predefined registers and device specific registers. - another option is to complete the pci_config_set_* for all predefined registers (though they will co-exist with pci_set_*). Hence the RFC. Hu Tao (6): pci: remove pci_config_set_vendor_id pci: remove pci_config_set_device_id pci: remove pci_config_set_revision pci: remove pci_config_set_class pci: remove pci_config_set_prog_interface pci: remove pci_config_set_interrupt_pin hw/audio/intel-hda.c | 2 +- hw/block/nvme.c | 4 ++-- hw/i2c/smbus_ich9.c | 2 +- hw/i386/xen/xen_platform.c | 2 +- hw/i386/xen/xen_pvdevice.c | 2 +- hw/ide/ich.c | 4 ++-- hw/ide/via.c | 2 +- hw/isa/i82378.c | 2 +- hw/isa/vt82c686.c | 2 +- hw/mips/gt64xxx_pci.c | 2 +- hw/misc/ivshmem.c | 2 +- hw/misc/vfio.c | 2 +- hw/pci-bridge/i82801b11.c | 2 +- hw/pci-host/bonito.c | 2 +- hw/pci-host/ppce500.c | 2 +- hw/pci/pci.c | 8 ++++---- hw/pci/pci_bridge.c | 2 +- hw/scsi/vmw_pvscsi.c | 2 +- hw/usb/hcd-uhci.c | 2 +- hw/virtio/virtio-pci.c | 2 +- include/hw/pci/pci.h | 36 ------------------------------------ 21 files changed, 25 insertions(+), 61 deletions(-) -- 1.9.3