~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/powerpc/include/asm/libata-portmap.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __ASM_POWERPC_LIBATA_PORTMAP_H
 
2
#define __ASM_POWERPC_LIBATA_PORTMAP_H
 
3
 
 
4
#define ATA_PRIMARY_CMD 0x1F0
 
5
#define ATA_PRIMARY_CTL 0x3F6
 
6
#define ATA_PRIMARY_IRQ(dev)    pci_get_legacy_ide_irq(dev, 0)
 
7
 
 
8
#define ATA_SECONDARY_CMD       0x170
 
9
#define ATA_SECONDARY_CTL       0x376
 
10
#define ATA_SECONDARY_IRQ(dev)  pci_get_legacy_ide_irq(dev, 1)
 
11
 
 
12
#endif