home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-sh / bigsur / io.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  1.2 KB  |  36 lines

  1. /*
  2.  * include/asm-sh/io_bigsur.h
  3.  *
  4.  * By Dustin McIntire (dustin@sensoria.com) (c)2001
  5.  * Derived from io_hd64465.h, which bore the message:
  6.  * By Greg Banks <gbanks@pocketpenguins.com>
  7.  * (c) 2000 PocketPenguins Inc. 
  8.  * and from io_hd64461.h, which bore the message:
  9.  * Copyright 2000 Stuart Menefy (stuart.menefy@st.com)
  10.  *
  11.  * May be copied or modified under the terms of the GNU General Public
  12.  * License.  See linux/COPYING for more information.
  13.  *
  14.  * IO functions for a Hitachi Big Sur Evaluation Board.
  15.  */
  16.  
  17. #ifndef _ASM_SH_IO_BIGSUR_H
  18. #define _ASM_SH_IO_BIGSUR_H
  19.  
  20. #include <linux/types.h>
  21.  
  22. extern unsigned long bigsur_isa_port2addr(unsigned long offset);
  23. extern int bigsur_irq_demux(int irq);
  24. /* Provision for generic secondary demux step -- used by PCMCIA code */
  25. extern void bigsur_register_irq_demux(int irq,
  26.         int (*demux)(int irq, void *dev), void *dev);
  27. extern void bigsur_unregister_irq_demux(int irq);
  28. /* Set this variable to 1 to see port traffic */
  29. extern int bigsur_io_debug;
  30. /* Map a range of ports to a range of kernel virtual memory. */
  31. extern void bigsur_port_map(u32 baseport, u32 nports, u32 addr, u8 shift);
  32. extern void bigsur_port_unmap(u32 baseport, u32 nports);
  33.  
  34. #endif /* _ASM_SH_IO_BIGSUR_H */
  35.  
  36.