Alan Cox | 2ec7df0 | 2006-08-10 16:59:10 +0900 | [diff] [blame] | 1 | #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 Woodhouse | 8cdf92a | 2007-01-01 19:31:15 +0000 | [diff] [blame] | 6 | #define ATA_PRIMARY_IRQ(dev) 14 |
Alan Cox | 2ec7df0 | 2006-08-10 16:59:10 +0900 | [diff] [blame] | 7 | |
| 8 | #define ATA_SECONDARY_CMD 0x170 |
| 9 | #define ATA_SECONDARY_CTL 0x376 |
David Woodhouse | 8cdf92a | 2007-01-01 19:31:15 +0000 | [diff] [blame] | 10 | #define ATA_SECONDARY_IRQ(dev) 15 |
Alan Cox | 2ec7df0 | 2006-08-10 16:59:10 +0900 | [diff] [blame] | 11 | |
| 12 | #endif |