diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-07-13 02:50:13 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-07-13 02:50:13 -0400 |
| commit | 54ef76f37bcccf8c16fbaaed13c3c40825195958 (patch) | |
| tree | 59afdb95e68f2fbac2550aa42135921086649c38 /include/linux | |
| parent | 032f82786f9be4635acaa5f77feca175a4ac5fe1 (diff) | |
| parent | 9df2fe986770bc4c76e8fe72c20b71268eec39a7 (diff) | |
Merge branch 'linus' into sched/devel
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ide.h | 15 | ||||
| -rw-r--r-- | include/linux/xfrm.h | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 9918772bf274..eddb6daadf4a 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -189,6 +189,21 @@ static inline void ide_std_init_ports(hw_regs_t *hw, | |||
| 189 | hw->io_ports.ctl_addr = ctl_addr; | 189 | hw->io_ports.ctl_addr = ctl_addr; |
| 190 | } | 190 | } |
| 191 | 191 | ||
| 192 | /* for IDE PCI controllers in legacy mode, temporary */ | ||
| 193 | static inline int __ide_default_irq(unsigned long base) | ||
| 194 | { | ||
| 195 | switch (base) { | ||
| 196 | #ifdef CONFIG_IA64 | ||
| 197 | case 0x1f0: return isa_irq_to_vector(14); | ||
| 198 | case 0x170: return isa_irq_to_vector(15); | ||
| 199 | #else | ||
| 200 | case 0x1f0: return 14; | ||
| 201 | case 0x170: return 15; | ||
| 202 | #endif | ||
| 203 | } | ||
| 204 | return 0; | ||
| 205 | } | ||
| 206 | |||
| 192 | #include <asm/ide.h> | 207 | #include <asm/ide.h> |
| 193 | 208 | ||
| 194 | #if !defined(MAX_HWIFS) || defined(CONFIG_EMBEDDED) | 209 | #if !defined(MAX_HWIFS) || defined(CONFIG_EMBEDDED) |
diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h index 2ca6bae88721..fb0c215a3051 100644 --- a/include/linux/xfrm.h +++ b/include/linux/xfrm.h | |||
| @@ -339,6 +339,7 @@ struct xfrm_usersa_info { | |||
| 339 | #define XFRM_STATE_NOPMTUDISC 4 | 339 | #define XFRM_STATE_NOPMTUDISC 4 |
| 340 | #define XFRM_STATE_WILDRECV 8 | 340 | #define XFRM_STATE_WILDRECV 8 |
| 341 | #define XFRM_STATE_ICMP 16 | 341 | #define XFRM_STATE_ICMP 16 |
| 342 | #define XFRM_STATE_AF_UNSPEC 32 | ||
| 342 | }; | 343 | }; |
| 343 | 344 | ||
| 344 | struct xfrm_usersa_id { | 345 | struct xfrm_usersa_id { |
