patch-2.3.48 linux/arch/mips/kernel/pci.c
Next file: linux/arch/mips/kernel/proc.c
Previous file: linux/arch/mips/kernel/mips_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 93
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.3.47/linux/arch/mips/kernel/pci.c
- Orig date:
Sat Oct 9 11:47:50 1999
diff -u --recursive --new-file v2.3.47/linux/arch/mips/kernel/pci.c linux/arch/mips/kernel/pci.c
@@ -1,92 +0,0 @@
-/* $Id: pci.c,v 1.8 1999/05/01 22:40:36 ralf Exp $
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * MIPS implementation of PCI BIOS services for PCI support.
- *
- * Copyright (C) 1997, 1998 Ralf Baechle
- */
-#include <linux/config.h>
-#include <linux/init.h>
-#include <linux/kernel.h>
-#include <linux/pci.h>
-#include <linux/types.h>
-
-#ifdef CONFIG_PCI
-
-struct pci_ops *pci_ops;
-
-/*
- * BIOS32 replacement.
- */
-void __init pcibios_init(void)
-{
-}
-
-/*
- * Following the generic parts of the MIPS BIOS32 code.
- */
-
-int pcibios_present (void)
-{
- return pci_ops != NULL;
-}
-
-/*
- * The functions below are machine specific and must be reimplimented for
- * each PCI chipset configuration. We just run the hook to the machine
- * specific implementation.
- */
-void pcibios_fixup (void)
-{
- pci_ops->pcibios_fixup();
-}
-
-int pcibios_read_config_byte (unsigned char bus, unsigned char dev_fn,
- unsigned char where, unsigned char *val)
-{
- return pci_ops->pcibios_read_config_byte(bus, dev_fn, where, val);
-}
-
-int pcibios_read_config_word (unsigned char bus, unsigned char dev_fn,
- unsigned char where, unsigned short *val)
-{
- return pci_ops->pcibios_read_config_word(bus, dev_fn, where, val);
-}
-
-int pcibios_read_config_dword (unsigned char bus, unsigned char dev_fn,
- unsigned char where, unsigned int *val)
-{
- return pci_ops->pcibios_read_config_dword(bus, dev_fn, where, val);
-}
-
-int pcibios_write_config_byte (unsigned char bus, unsigned char dev_fn,
- unsigned char where, unsigned char val)
-{
- return pci_ops->pcibios_write_config_byte(bus, dev_fn, where, val);
-}
-
-int pcibios_write_config_word (unsigned char bus, unsigned char dev_fn,
- unsigned char where, unsigned short val)
-{
- return pci_ops->pcibios_write_config_word(bus, dev_fn, where, val);
-}
-
-int pcibios_write_config_dword (unsigned char bus, unsigned char dev_fn,
- unsigned char where, unsigned int val)
-{
- return pci_ops->pcibios_write_config_dword(bus, dev_fn, where, val);
-}
-
-char * __init pcibios_setup(char *str)
-{
- return str;
-}
-
-void __init pcibios_fixup_bus(struct pci_bus *bus)
-{
-}
-
-#endif /* defined(CONFIG_PCI) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)