blob: 62fb3618293d63ed50c076e51f4b8c2998583727 [file] [log] [blame]
Alan Cox2ec7df02006-08-10 16:59:10 +09001#ifndef __ASM_GENERIC_LIBATA_PORTMAP_H
2#define __ASM_GENERIC_LIBATA_PORTMAP_H
3
4#define ATA_PRIMARY_CMD 0x1F0
5#define ATA_PRIMARY_CTL 0x3F6
David Woodhouse8cdf92a2007-01-01 19:31:15 +00006#define ATA_PRIMARY_IRQ(dev) 14
Alan Cox2ec7df02006-08-10 16:59:10 +09007
8#define ATA_SECONDARY_CMD 0x170
9#define ATA_SECONDARY_CTL 0x376
David Woodhouse8cdf92a2007-01-01 19:31:15 +000010#define ATA_SECONDARY_IRQ(dev) 15
Alan Cox2ec7df02006-08-10 16:59:10 +090011
12#endif