Merge tag 'pci-v4.8-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[deliverable/linux.git] / arch / frv / include / asm / pci.h
CommitLineData
1da177e4
LT
1/* pci.h: FR-V specific PCI declarations
2 *
3 * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
5 * - Derived from include/asm-m68k/pci.h
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
11 */
12
d7c4f1b7
AB
13#ifndef _ASM_FRV_PCI_H
14#define _ASM_FRV_PCI_H
1da177e4 15
1da177e4 16#include <linux/mm.h>
84be456f 17#include <linux/scatterlist.h>
1da177e4
LT
18#include <asm-generic/pci.h>
19
20struct pci_dev;
21
22#define pcibios_assign_all_busses() 0
23
1da177e4
LT
24extern void pcibios_set_master(struct pci_dev *dev);
25
1da177e4 26#ifdef CONFIG_MMU
a5da7d3c 27extern void *consistent_alloc(gfp_t gfp, size_t size, dma_addr_t *dma_handle);
1da177e4
LT
28extern void consistent_free(void *vaddr);
29extern void consistent_sync(void *vaddr, size_t size, int direction);
30extern void consistent_sync_page(struct page *page, unsigned long offset,
31 size_t size, int direction);
32#endif
33
1da177e4
LT
34/* Return the index of the PCI controller for device PDEV. */
35#define pci_controller_num(PDEV) (0)
36
1da177e4 37/*
25985edc 38 * These are pretty much arbitrary with the CoMEM implementation.
1da177e4
LT
39 * We have the whole address space to ourselves.
40 */
41#define PCIBIOS_MIN_IO 0x100
42#define PCIBIOS_MIN_MEM 0x00010000
43
d7c4f1b7 44#endif /* _ASM_FRV_PCI_H */
This page took 0.814584 seconds and 5 git commands to generate.