The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/include/asm-mips64/pci_channel.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #ifndef __ASM_PCI_CHANNEL_H
    2 #define __ASM_PCI_CHANNEL_H
    3 
    4 /*
    5  * This file essentially defines the interface between board
    6  * specific PCI code and MIPS common PCI code.  Should potentially put
    7  * into include/asm/pci.h file.
    8  */
    9 
   10 #include <linux/ioport.h>
   11 #include <linux/pci.h>
   12 
   13 /*
   14  * Each pci channel is a top-level PCI bus seem by CPU.  A machine  with
   15  * multiple PCI channels may have multiple PCI host controllers or a
   16  * single controller supporting multiple channels.
   17  */
   18 struct pci_channel {
   19         struct pci_ops *pci_ops;
   20         struct resource *io_resource;
   21         struct resource *mem_resource;
   22         int first_devfn;
   23         int last_devfn;
   24 };
   25 
   26 /*
   27  * each board defines an array of pci_channels, that ends with all NULL entry
   28  */
   29 extern struct pci_channel mips_pci_channels[];
   30 
   31 /*
   32  * board supplied pci irq fixup routine
   33  */
   34 extern void pcibios_fixup_irqs(void);
   35 
   36 /*
   37  * board supplied pci fixup routines
   38  */
   39 extern void pcibios_fixup_resources(struct pci_dev *dev);
   40 
   41 #endif  /* __ASM_PCI_CHANNEL_H */

Cache object: f74feb38c7c002cf82dc3e8fd1ffb25c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.