pci_machdep.c revision 1.1
11.1Skiyohara/* $NetBSD: pci_machdep.c,v 1.1 2009/07/20 04:41:36 kiyohara Exp $ */ 21.1Skiyohara/* 31.1Skiyohara * Copyright (c) 2009 KIYOHARA Takashi 41.1Skiyohara * All rights reserved. 51.1Skiyohara * 61.1Skiyohara * Redistribution and use in source and binary forms, with or without 71.1Skiyohara * modification, are permitted provided that the following conditions 81.1Skiyohara * are met: 91.1Skiyohara * 1. Redistributions of source code must retain the above copyright 101.1Skiyohara * notice, this list of conditions and the following disclaimer. 111.1Skiyohara * 2. Redistributions in binary form must reproduce the above copyright 121.1Skiyohara * notice, this list of conditions and the following disclaimer in the 131.1Skiyohara * documentation and/or other materials provided with the distribution. 141.1Skiyohara * 151.1Skiyohara * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 161.1Skiyohara * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 171.1Skiyohara * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 181.1Skiyohara * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 191.1Skiyohara * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 201.1Skiyohara * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 211.1Skiyohara * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 221.1Skiyohara * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 231.1Skiyohara * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 241.1Skiyohara * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 251.1Skiyohara * POSSIBILITY OF SUCH DAMAGE. 261.1Skiyohara */ 271.1Skiyohara#include <sys/cdefs.h> 281.1Skiyohara__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.1 2009/07/20 04:41:36 kiyohara Exp $"); 291.1Skiyohara 301.1Skiyohara#include <machine/bus.h> 311.1Skiyohara#include <dev/pci/pcivar.h> 321.1Skiyohara#include <dev/pci/pcireg.h> 331.1Skiyohara#include <dev/pci/pcidevs.h> 341.1Skiyohara 351.1Skiyohara 361.1Skiyoharapcitag_t 371.1Skiyoharapci_make_tag(pci_chipset_tag_t pc, int bus, int device, int function) 381.1Skiyohara{ 391.1Skiyoharaprintf("%s: not yet\n", __func__); 401.1Skiyohara return 0; 411.1Skiyohara} 421.1Skiyohara 431.1Skiyoharapcireg_t 441.1Skiyoharapci_conf_read(pci_chipset_tag_t pc, pcitag_t tag, int reg) 451.1Skiyohara{ 461.1Skiyoharaprintf("%s: not yet\n", __func__); 471.1Skiyohara return 0; 481.1Skiyohara} 491.1Skiyohara 501.1Skiyoharavoid 511.1Skiyoharapci_conf_write(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t val) 521.1Skiyohara{ 531.1Skiyoharaprintf("%s: not yet\n", __func__); 541.1Skiyohara} 55