/* * Access to VGA videoram * * (c) 1998 Martin Mares */ #ifndef __ASM_GENERIC_VGA_H #define __ASM_GENERIC_VGA_H /* * On most architectures that support VGA, we can just * recalculate addresses and then access the videoram * directly without any black magic. * * Everyone else needs to ioremap the address and use * proper I/O accesses. */ #ifndef VGA_MAP_MEM #define VGA_MAP_MEM(x, s) (unsigned long)phys_to_virt(x) #endif #define vga_readb(x) (*(x)) #define vga_writeb(x, y) (*(y) = (x)) #endif /* _ASM_GENERIC_VGA_H */ et-next.git Git repository'/>
summaryrefslogtreecommitdiff
_ti.h?id=891aa1e0f13c3aaa756c69b343d6ab6f3357009b&id2=fff4b87e594ad3d2e4f51e8d3d86a6f9d3d8b654'>io_ti.h
diff options
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/io_ti.h')