#include <linux/module.h>
#include <linux/acpi.h>
#include <asm/io.h>
#include <asm/delay.h>
#include <asm/vga.h>
#include <asm/sn/nodepda.h>
#include <asm/sn/simulator.h>
#include <asm/sn/pda.h>
#include <asm/sn/sn_cpuid.h>
#include <asm/sn/shub_mmr.h>
#include <asm/sn/acpi.h>
Go to the source code of this file.
#define IS_LEGACY_VGA_IOPORT |
( |
|
p | ) |
(((p) >= 0x3b0 && (p) <= 0x3bb) || ((p) >= 0x3c0 && (p) <= 0x3df)) |
__sn_mmiowb - I/O space memory barrier
See arch/ia64/include/asm/io.h and Documentation/DocBook/deviceiobook.tmpl for details.
On SN2, we wait for the PIO_WRITE_STATUS SHub register to clear. See PV 871084 for details about the WAR about zero value.
Definition at line 73 of file iomv.c.
sn_io_addr - convert an in/out port to an i/o address : port to convert
Legacy in/out instructions are converted to ld/st instructions on IA64. This routine will convert a port number into a valid SN i/o address. Used by sn_in*() and sn_out*().
Definition at line 33 of file iomv.c.