mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 10:35:15 +07:00
325ef1857f
This was used by the ide, scsi and networking code in the past to determine if they should bounce payloads. Now that the dma mapping always have to support dma to all physical memory (thanks to swiotlb for non-iommu systems) there is no need to this crude hack any more. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Palmer Dabbelt <palmer@sifive.com> (for riscv) Reviewed-by: Jens Axboe <axboe@kernel.dk>
23 lines
506 B
C
23 lines
506 B
C
/*
|
|
* Copyright (C) 2015-2016 Synopsys, Inc. (www.synopsys.com)
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _ASM_ARC_PCI_H
|
|
#define _ASM_ARC_PCI_H
|
|
|
|
#ifdef __KERNEL__
|
|
#include <linux/ioport.h>
|
|
|
|
#define PCIBIOS_MIN_IO 0x100
|
|
#define PCIBIOS_MIN_MEM 0x100000
|
|
|
|
#define pcibios_assign_all_busses() 1
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
#endif /* _ASM_ARC_PCI_H */
|