pata_pxa.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Generic PXA PATA driver
  3. *
  4. * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2, or (at your option)
  9. * any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; see the file COPYING. If not, write to
  18. * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20. #ifndef __MACH_PATA_PXA_H__
  21. #define __MACH_PATA_PXA_H__
  22. struct pata_pxa_pdata {
  23. /* PXA DMA DREQ<0:2> pin */
  24. uint32_t dma_dreq;
  25. /* Register shift */
  26. uint32_t reg_shift;
  27. /* IRQ flags */
  28. uint32_t irq_flags;
  29. };
  30. #endif /* __MACH_PATA_PXA_H__ */