diff options
author | Neil Brown <neilb@suse.de> | 2008-07-11 21:57:40 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-11 21:57:40 +1000 |
commit | 0306d5efbf897c7d410fd30b89fc7d97372aa501 (patch) | |
tree | 668811bca39ca7c1585da88d52ec2f0a43216c0e /include/linux | |
parent | f9f278fefdbbbf198bb4111b3fba47d9043dae59 (diff) | |
parent | e5a5816f7875207cb0a0a7032e39a4686c5e10a4 (diff) | |
download | kernel-crypto-0306d5efbf897c7d410fd30b89fc7d97372aa501.tar.gz kernel-crypto-0306d5efbf897c7d410fd30b89fc7d97372aa501.tar.xz kernel-crypto-0306d5efbf897c7d410fd30b89fc7d97372aa501.zip |
Merge branch 'master' into for-next
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 9918772bf27..eddb6daadf4 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, hw->io_ports.ctl_addr = ctl_addr; } +/* for IDE PCI controllers in legacy mode, temporary */ +static inline int __ide_default_irq(unsigned long base) +{ + switch (base) { +#ifdef CONFIG_IA64 + case 0x1f0: return isa_irq_to_vector(14); + case 0x170: return isa_irq_to_vector(15); +#else + case 0x1f0: return 14; + case 0x170: return 15; +#endif + } + return 0; +} + #include <asm/ide.h> #if !defined(MAX_HWIFS) || defined(CONFIG_EMBEDDED) diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h index 2ca6bae8872..fb0c215a305 100644 --- a/include/linux/xfrm.h +++ b/include/linux/xfrm.h @@ -339,6 +339,7 @@ struct xfrm_usersa_info { #define XFRM_STATE_NOPMTUDISC 4 #define XFRM_STATE_WILDRECV 8 #define XFRM_STATE_ICMP 16 +#define XFRM_STATE_AF_UNSPEC 32 }; struct xfrm_usersa_id { |