Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Paul Mundt | 0025835 | 2006-01-16 22:14:08 -0800 | [diff] [blame] | 2 | * linux/arch/sh/boards/hp6xx/mach.c |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2000 Stuart Menefy (stuart.menefy@st.com) |
| 5 | * |
| 6 | * May be copied or modified under the terms of the GNU General Public |
| 7 | * License. See linux/COPYING for more information. |
| 8 | * |
| 9 | * Machine vector for the HP680 |
| 10 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #include <asm/machvec.h> |
Paul Mundt | 0025835 | 2006-01-16 22:14:08 -0800 | [diff] [blame] | 12 | #include <asm/hd64461.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #include <asm/io.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | #include <asm/irq.h> |
| 15 | |
Paul Mundt | 0025835 | 2006-01-16 22:14:08 -0800 | [diff] [blame] | 16 | struct sh_machine_vector mv_hp6xx __initmv = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | .mv_nr_irqs = HD64461_IRQBASE + HD64461_IRQ_NUM, |
| 18 | |
| 19 | .mv_inb = hd64461_inb, |
| 20 | .mv_inw = hd64461_inw, |
| 21 | .mv_inl = hd64461_inl, |
| 22 | .mv_outb = hd64461_outb, |
| 23 | .mv_outw = hd64461_outw, |
| 24 | .mv_outl = hd64461_outl, |
| 25 | |
| 26 | .mv_inb_p = hd64461_inb_p, |
| 27 | .mv_inw_p = hd64461_inw, |
| 28 | .mv_inl_p = hd64461_inl, |
| 29 | .mv_outb_p = hd64461_outb_p, |
| 30 | .mv_outw_p = hd64461_outw, |
| 31 | .mv_outl_p = hd64461_outl, |
| 32 | |
| 33 | .mv_insb = hd64461_insb, |
| 34 | .mv_insw = hd64461_insw, |
| 35 | .mv_insl = hd64461_insl, |
| 36 | .mv_outsb = hd64461_outsb, |
| 37 | .mv_outsw = hd64461_outsw, |
| 38 | .mv_outsl = hd64461_outsl, |
| 39 | |
| 40 | .mv_readw = hd64461_readw, |
| 41 | .mv_writew = hd64461_writew, |
| 42 | |
| 43 | .mv_irq_demux = hd64461_irq_demux, |
| 44 | }; |
| 45 | |
Paul Mundt | 0025835 | 2006-01-16 22:14:08 -0800 | [diff] [blame] | 46 | ALIAS_MV(hp6xx) |