1293b2da1SArnd Bergmann /*
2293b2da1SArnd Bergmann  * Generic PXA PATA driver
3293b2da1SArnd Bergmann  *
4293b2da1SArnd Bergmann  * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
5293b2da1SArnd Bergmann  *
6293b2da1SArnd Bergmann  *  This program is free software; you can redistribute it and/or modify
7293b2da1SArnd Bergmann  *  it under the terms of the GNU General Public License as published by
8293b2da1SArnd Bergmann  *  the Free Software Foundation; either version 2, or (at your option)
9293b2da1SArnd Bergmann  *  any later version.
10293b2da1SArnd Bergmann  *
11293b2da1SArnd Bergmann  *  This program is distributed in the hope that it will be useful,
12293b2da1SArnd Bergmann  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13293b2da1SArnd Bergmann  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14293b2da1SArnd Bergmann  *  GNU General Public License for more details.
15293b2da1SArnd Bergmann  *
16293b2da1SArnd Bergmann  *  You should have received a copy of the GNU General Public License
17293b2da1SArnd Bergmann  *  along with this program; see the file COPYING.  If not, write to
18293b2da1SArnd Bergmann  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
19293b2da1SArnd Bergmann  */
20293b2da1SArnd Bergmann 
21293b2da1SArnd Bergmann #ifndef	__MACH_PATA_PXA_H__
22293b2da1SArnd Bergmann #define	__MACH_PATA_PXA_H__
23293b2da1SArnd Bergmann 
24293b2da1SArnd Bergmann struct pata_pxa_pdata {
25293b2da1SArnd Bergmann 	/* PXA DMA DREQ<0:2> pin */
26293b2da1SArnd Bergmann 	uint32_t	dma_dreq;
27293b2da1SArnd Bergmann 	/* Register shift */
28293b2da1SArnd Bergmann 	uint32_t	reg_shift;
29293b2da1SArnd Bergmann 	/* IRQ flags */
30293b2da1SArnd Bergmann 	uint32_t	irq_flags;
31293b2da1SArnd Bergmann };
32293b2da1SArnd Bergmann 
33293b2da1SArnd Bergmann #endif	/* __MACH_PATA_PXA_H__ */
34