diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2006-01-03 10:58:53 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-03 10:58:53 -0500 |
| commit | a18ceba7b40e24a9da87249bd74f16ea5abd6894 (patch) | |
| tree | 5ce615d345e720ddabf95c46fb62287ee763ad4e /include | |
| parent | aaadff81195056c7c14e0d834b3318c624c0fd78 (diff) | |
| parent | 88026842b0a760145aa71d69e74fbc9ec118ca44 (diff) | |
Merge branch 'master'
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acglobal.h | 2 | ||||
| -rw-r--r-- | include/asm-i386/param.h | 3 | ||||
| -rw-r--r-- | include/asm-ia64/topology.h | 2 | ||||
| -rw-r--r-- | include/asm-x86_64/param.h | 3 | ||||
| -rw-r--r-- | include/asm-x86_64/rwlock.h | 2 | ||||
| -rw-r--r-- | include/asm-x86_64/topology.h | 2 | ||||
| -rw-r--r-- | include/linux/ipv6_route.h | 1 | ||||
| -rw-r--r-- | include/linux/irq.h | 2 | ||||
| -rw-r--r-- | include/linux/n_r3964.h | 20 | ||||
| -rw-r--r-- | include/linux/nfs_fs.h | 1 | ||||
| -rw-r--r-- | include/linux/preempt.h | 1 | ||||
| -rw-r--r-- | include/linux/relayfs_fs.h | 5 | ||||
| -rw-r--r-- | include/linux/rtnetlink.h | 4 | ||||
| -rw-r--r-- | include/net/if_inet6.h | 2 | ||||
| -rw-r--r-- | include/net/xfrm.h | 1 | ||||
| -rw-r--r-- | include/scsi/scsi_transport_fc.h | 11 |
16 files changed, 44 insertions, 18 deletions
diff --git a/include/acpi/acglobal.h b/include/acpi/acglobal.h index e9c2790139ec..4ab2ca18b8df 100644 --- a/include/acpi/acglobal.h +++ b/include/acpi/acglobal.h | |||
| @@ -211,7 +211,7 @@ ACPI_EXTERN u32 acpi_gbl_original_mode; | |||
| 211 | ACPI_EXTERN u32 acpi_gbl_rsdp_original_location; | 211 | ACPI_EXTERN u32 acpi_gbl_rsdp_original_location; |
| 212 | ACPI_EXTERN u32 acpi_gbl_ns_lookup_count; | 212 | ACPI_EXTERN u32 acpi_gbl_ns_lookup_count; |
| 213 | ACPI_EXTERN u32 acpi_gbl_ps_find_count; | 213 | ACPI_EXTERN u32 acpi_gbl_ps_find_count; |
| 214 | ACPI_EXTERN u32 acpi_gbl_owner_id_mask; | 214 | ACPI_EXTERN u64 acpi_gbl_owner_id_mask; |
| 215 | ACPI_EXTERN u16 acpi_gbl_pm1_enable_register_save; | 215 | ACPI_EXTERN u16 acpi_gbl_pm1_enable_register_save; |
| 216 | ACPI_EXTERN u16 acpi_gbl_global_lock_handle; | 216 | ACPI_EXTERN u16 acpi_gbl_global_lock_handle; |
| 217 | ACPI_EXTERN u8 acpi_gbl_debugger_configuration; | 217 | ACPI_EXTERN u8 acpi_gbl_debugger_configuration; |
diff --git a/include/asm-i386/param.h b/include/asm-i386/param.h index fa02e67ea86b..095580f3a45c 100644 --- a/include/asm-i386/param.h +++ b/include/asm-i386/param.h | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | #include <linux/config.h> | ||
| 2 | |||
| 3 | #ifndef _ASMi386_PARAM_H | 1 | #ifndef _ASMi386_PARAM_H |
| 4 | #define _ASMi386_PARAM_H | 2 | #define _ASMi386_PARAM_H |
| 5 | 3 | ||
| 6 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
| 5 | # include <linux/config.h> | ||
| 7 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ | 6 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
| 8 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ | 7 | # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ |
| 9 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | 8 | # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |
diff --git a/include/asm-ia64/topology.h b/include/asm-ia64/topology.h index a9f738bf18a7..f7c330467e7e 100644 --- a/include/asm-ia64/topology.h +++ b/include/asm-ia64/topology.h | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | /* | 38 | /* |
| 39 | * Returns the number of the first CPU on Node 'node'. | 39 | * Returns the number of the first CPU on Node 'node'. |
| 40 | */ | 40 | */ |
| 41 | #define node_to_first_cpu(node) (__ffs(node_to_cpumask(node))) | 41 | #define node_to_first_cpu(node) (first_cpu(node_to_cpumask(node))) |
| 42 | 42 | ||
| 43 | /* | 43 | /* |
| 44 | * Determines the node for a given pci bus | 44 | * Determines the node for a given pci bus |
diff --git a/include/asm-x86_64/param.h b/include/asm-x86_64/param.h index 40b11937180d..5956b23b57c2 100644 --- a/include/asm-x86_64/param.h +++ b/include/asm-x86_64/param.h | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | #include <linux/config.h> | ||
| 2 | |||
| 3 | #ifndef _ASMx86_64_PARAM_H | 1 | #ifndef _ASMx86_64_PARAM_H |
| 4 | #define _ASMx86_64_PARAM_H | 2 | #define _ASMx86_64_PARAM_H |
| 5 | 3 | ||
| 6 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
| 5 | # include <linux/config.h> | ||
| 7 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ | 6 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
| 8 | # define USER_HZ 100 /* .. some user interfaces are in "ticks */ | 7 | # define USER_HZ 100 /* .. some user interfaces are in "ticks */ |
| 9 | #define CLOCKS_PER_SEC (USER_HZ) /* like times() */ | 8 | #define CLOCKS_PER_SEC (USER_HZ) /* like times() */ |
diff --git a/include/asm-x86_64/rwlock.h b/include/asm-x86_64/rwlock.h index 8a78a4ace53c..9942cc393064 100644 --- a/include/asm-x86_64/rwlock.h +++ b/include/asm-x86_64/rwlock.h | |||
| @@ -64,7 +64,7 @@ | |||
| 64 | ::"a" (rw) : "memory") | 64 | ::"a" (rw) : "memory") |
| 65 | 65 | ||
| 66 | #define __build_write_lock_const(rw, helper) \ | 66 | #define __build_write_lock_const(rw, helper) \ |
| 67 | asm volatile(LOCK "subl $" RW_LOCK_BIAS_STR ",(%0)\n\t" \ | 67 | asm volatile(LOCK "subl $" RW_LOCK_BIAS_STR ",%0\n\t" \ |
| 68 | "jnz 2f\n" \ | 68 | "jnz 2f\n" \ |
| 69 | "1:\n" \ | 69 | "1:\n" \ |
| 70 | LOCK_SECTION_START("") \ | 70 | LOCK_SECTION_START("") \ |
diff --git a/include/asm-x86_64/topology.h b/include/asm-x86_64/topology.h index d39ebd5263ed..7d82bc56b9fa 100644 --- a/include/asm-x86_64/topology.h +++ b/include/asm-x86_64/topology.h | |||
| @@ -23,7 +23,7 @@ extern int __node_distance(int, int); | |||
| 23 | 23 | ||
| 24 | #define cpu_to_node(cpu) (cpu_to_node[cpu]) | 24 | #define cpu_to_node(cpu) (cpu_to_node[cpu]) |
| 25 | #define parent_node(node) (node) | 25 | #define parent_node(node) (node) |
| 26 | #define node_to_first_cpu(node) (__ffs(node_to_cpumask[node])) | 26 | #define node_to_first_cpu(node) (first_cpu(node_to_cpumask[node])) |
| 27 | #define node_to_cpumask(node) (node_to_cpumask[node]) | 27 | #define node_to_cpumask(node) (node_to_cpumask[node]) |
| 28 | #define pcibus_to_node(bus) ((long)(bus->sysdata)) | 28 | #define pcibus_to_node(bus) ((long)(bus->sysdata)) |
| 29 | #define pcibus_to_cpumask(bus) node_to_cpumask(pcibus_to_node(bus)); | 29 | #define pcibus_to_cpumask(bus) node_to_cpumask(pcibus_to_node(bus)); |
diff --git a/include/linux/ipv6_route.h b/include/linux/ipv6_route.h index e2f935038013..d7c41d1d706a 100644 --- a/include/linux/ipv6_route.h +++ b/include/linux/ipv6_route.h | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | fallback, no routers on link */ | 18 | fallback, no routers on link */ |
| 19 | #define RTF_ADDRCONF 0x00040000 /* addrconf route - RA */ | 19 | #define RTF_ADDRCONF 0x00040000 /* addrconf route - RA */ |
| 20 | #define RTF_PREFIX_RT 0x00080000 /* A prefix only route - RA */ | 20 | #define RTF_PREFIX_RT 0x00080000 /* A prefix only route - RA */ |
| 21 | #define RTF_ANYCAST 0x00100000 /* Anycast */ | ||
| 21 | 22 | ||
| 22 | #define RTF_NONEXTHOP 0x00200000 /* route with no nexthop */ | 23 | #define RTF_NONEXTHOP 0x00200000 /* route with no nexthop */ |
| 23 | #define RTF_EXPIRES 0x00400000 | 24 | #define RTF_EXPIRES 0x00400000 |
diff --git a/include/linux/irq.h b/include/linux/irq.h index c516382fbec2..f04ba20712a2 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/config.h> | 12 | #include <linux/config.h> |
| 13 | #include <asm/smp.h> /* cpu_online_map */ | 13 | #include <linux/smp.h> |
| 14 | 14 | ||
| 15 | #if !defined(CONFIG_ARCH_S390) | 15 | #if !defined(CONFIG_ARCH_S390) |
| 16 | 16 | ||
diff --git a/include/linux/n_r3964.h b/include/linux/n_r3964.h index 2352bcd31a06..db4f3776978a 100644 --- a/include/linux/n_r3964.h +++ b/include/linux/n_r3964.h | |||
| @@ -13,6 +13,10 @@ | |||
| 13 | * L. Haag | 13 | * L. Haag |
| 14 | * | 14 | * |
| 15 | * $Log: r3964.h,v $ | 15 | * $Log: r3964.h,v $ |
| 16 | * Revision 1.4 2005/12/21 19:54:24 Kurt Huwig <kurt huwig de> | ||
| 17 | * Fixed HZ usage on 2.6 kernels | ||
| 18 | * Removed unnecessary include | ||
| 19 | * | ||
| 16 | * Revision 1.3 2001/03/18 13:02:24 dwmw2 | 20 | * Revision 1.3 2001/03/18 13:02:24 dwmw2 |
| 17 | * Fix timer usage, use spinlocks properly. | 21 | * Fix timer usage, use spinlocks properly. |
| 18 | * | 22 | * |
| @@ -45,9 +49,11 @@ | |||
| 45 | #define __LINUX_N_R3964_H__ | 49 | #define __LINUX_N_R3964_H__ |
| 46 | 50 | ||
| 47 | /* line disciplines for r3964 protocol */ | 51 | /* line disciplines for r3964 protocol */ |
| 48 | #include <asm/termios.h> | ||
| 49 | 52 | ||
| 50 | #ifdef __KERNEL__ | 53 | #ifdef __KERNEL__ |
| 54 | |||
| 55 | #include <linux/param.h> | ||
| 56 | |||
| 51 | /* | 57 | /* |
| 52 | * Common ascii handshake characters: | 58 | * Common ascii handshake characters: |
| 53 | */ | 59 | */ |
| @@ -58,14 +64,14 @@ | |||
| 58 | #define NAK 0x15 | 64 | #define NAK 0x15 |
| 59 | 65 | ||
| 60 | /* | 66 | /* |
| 61 | * Timeouts (msecs/10 msecs per timer interrupt): | 67 | * Timeouts (from milliseconds to jiffies) |
| 62 | */ | 68 | */ |
| 63 | 69 | ||
| 64 | #define R3964_TO_QVZ 550/10 | 70 | #define R3964_TO_QVZ ((550)*HZ/1000) |
| 65 | #define R3964_TO_ZVZ 220/10 | 71 | #define R3964_TO_ZVZ ((220)*HZ/1000) |
| 66 | #define R3964_TO_NO_BUF 400/10 | 72 | #define R3964_TO_NO_BUF ((400)*HZ/1000) |
| 67 | #define R3964_NO_TX_ROOM 100/10 | 73 | #define R3964_NO_TX_ROOM ((100)*HZ/1000) |
| 68 | #define R3964_TO_RX_PANIC 4000/10 | 74 | #define R3964_TO_RX_PANIC ((4000)*HZ/1000) |
| 69 | #define R3964_MAX_RETRIES 5 | 75 | #define R3964_MAX_RETRIES 5 |
| 70 | 76 | ||
| 71 | #endif | 77 | #endif |
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 12787a9b0259..2516adeccecf 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
| @@ -291,6 +291,7 @@ static inline int nfs_verify_change_attribute(struct inode *inode, unsigned long | |||
| 291 | /* | 291 | /* |
| 292 | * linux/fs/nfs/inode.c | 292 | * linux/fs/nfs/inode.c |
| 293 | */ | 293 | */ |
| 294 | extern int nfs_sync_mapping(struct address_space *mapping); | ||
| 294 | extern void nfs_zap_caches(struct inode *); | 295 | extern void nfs_zap_caches(struct inode *); |
| 295 | extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *, | 296 | extern struct inode *nfs_fhget(struct super_block *, struct nfs_fh *, |
| 296 | struct nfs_fattr *); | 297 | struct nfs_fattr *); |
diff --git a/include/linux/preempt.h b/include/linux/preempt.h index d9a2f5254a51..5769d14d1e6a 100644 --- a/include/linux/preempt.h +++ b/include/linux/preempt.h | |||
| @@ -48,6 +48,7 @@ do { \ | |||
| 48 | #define preempt_enable() \ | 48 | #define preempt_enable() \ |
| 49 | do { \ | 49 | do { \ |
| 50 | preempt_enable_no_resched(); \ | 50 | preempt_enable_no_resched(); \ |
| 51 | barrier(); \ | ||
| 51 | preempt_check_resched(); \ | 52 | preempt_check_resched(); \ |
| 52 | } while (0) | 53 | } while (0) |
| 53 | 54 | ||
diff --git a/include/linux/relayfs_fs.h b/include/linux/relayfs_fs.h index cfafc3e76bc2..fb7e80737325 100644 --- a/include/linux/relayfs_fs.h +++ b/include/linux/relayfs_fs.h | |||
| @@ -20,9 +20,9 @@ | |||
| 20 | #include <linux/kref.h> | 20 | #include <linux/kref.h> |
| 21 | 21 | ||
| 22 | /* | 22 | /* |
| 23 | * Tracks changes to rchan_buf struct | 23 | * Tracks changes to rchan/rchan_buf structs |
| 24 | */ | 24 | */ |
| 25 | #define RELAYFS_CHANNEL_VERSION 5 | 25 | #define RELAYFS_CHANNEL_VERSION 6 |
| 26 | 26 | ||
| 27 | /* | 27 | /* |
| 28 | * Per-cpu relay channel buffer | 28 | * Per-cpu relay channel buffer |
| @@ -60,6 +60,7 @@ struct rchan | |||
| 60 | struct rchan_callbacks *cb; /* client callbacks */ | 60 | struct rchan_callbacks *cb; /* client callbacks */ |
| 61 | struct kref kref; /* channel refcount */ | 61 | struct kref kref; /* channel refcount */ |
| 62 | void *private_data; /* for user-defined data */ | 62 | void *private_data; /* for user-defined data */ |
| 63 | size_t last_toobig; /* tried to log event > subbuf size */ | ||
| 63 | struct rchan_buf *buf[NR_CPUS]; /* per-cpu channel buffers */ | 64 | struct rchan_buf *buf[NR_CPUS]; /* per-cpu channel buffers */ |
| 64 | }; | 65 | }; |
| 65 | 66 | ||
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index c231e9a08f0b..d50482ba27fe 100644 --- a/include/linux/rtnetlink.h +++ b/include/linux/rtnetlink.h | |||
| @@ -866,6 +866,7 @@ enum rtnetlink_groups { | |||
| 866 | #define RTNLGRP_IPV4_MROUTE RTNLGRP_IPV4_MROUTE | 866 | #define RTNLGRP_IPV4_MROUTE RTNLGRP_IPV4_MROUTE |
| 867 | RTNLGRP_IPV4_ROUTE, | 867 | RTNLGRP_IPV4_ROUTE, |
| 868 | #define RTNLGRP_IPV4_ROUTE RTNLGRP_IPV4_ROUTE | 868 | #define RTNLGRP_IPV4_ROUTE RTNLGRP_IPV4_ROUTE |
| 869 | RTNLGRP_NOP1, | ||
| 869 | RTNLGRP_IPV6_IFADDR, | 870 | RTNLGRP_IPV6_IFADDR, |
| 870 | #define RTNLGRP_IPV6_IFADDR RTNLGRP_IPV6_IFADDR | 871 | #define RTNLGRP_IPV6_IFADDR RTNLGRP_IPV6_IFADDR |
| 871 | RTNLGRP_IPV6_MROUTE, | 872 | RTNLGRP_IPV6_MROUTE, |
| @@ -876,8 +877,11 @@ enum rtnetlink_groups { | |||
| 876 | #define RTNLGRP_IPV6_IFINFO RTNLGRP_IPV6_IFINFO | 877 | #define RTNLGRP_IPV6_IFINFO RTNLGRP_IPV6_IFINFO |
| 877 | RTNLGRP_DECnet_IFADDR, | 878 | RTNLGRP_DECnet_IFADDR, |
| 878 | #define RTNLGRP_DECnet_IFADDR RTNLGRP_DECnet_IFADDR | 879 | #define RTNLGRP_DECnet_IFADDR RTNLGRP_DECnet_IFADDR |
| 880 | RTNLGRP_NOP2, | ||
| 879 | RTNLGRP_DECnet_ROUTE, | 881 | RTNLGRP_DECnet_ROUTE, |
| 880 | #define RTNLGRP_DECnet_ROUTE RTNLGRP_DECnet_ROUTE | 882 | #define RTNLGRP_DECnet_ROUTE RTNLGRP_DECnet_ROUTE |
| 883 | RTNLGRP_NOP3, | ||
| 884 | RTNLGRP_NOP4, | ||
| 881 | RTNLGRP_IPV6_PREFIX, | 885 | RTNLGRP_IPV6_PREFIX, |
| 882 | #define RTNLGRP_IPV6_PREFIX RTNLGRP_IPV6_PREFIX | 886 | #define RTNLGRP_IPV6_PREFIX RTNLGRP_IPV6_PREFIX |
| 883 | __RTNLGRP_MAX | 887 | __RTNLGRP_MAX |
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index e97a9accb71d..eb8afe3499a9 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | #define IF_RA_MANAGED 0x40 | 24 | #define IF_RA_MANAGED 0x40 |
| 25 | #define IF_RA_RCVD 0x20 | 25 | #define IF_RA_RCVD 0x20 |
| 26 | #define IF_RS_SENT 0x10 | 26 | #define IF_RS_SENT 0x10 |
| 27 | #define IF_READY 0x80000000 | ||
| 27 | 28 | ||
| 28 | /* prefix flags */ | 29 | /* prefix flags */ |
| 29 | #define IF_PREFIX_ONLINK 0x01 | 30 | #define IF_PREFIX_ONLINK 0x01 |
| @@ -82,6 +83,7 @@ struct ipv6_mc_socklist | |||
| 82 | struct in6_addr addr; | 83 | struct in6_addr addr; |
| 83 | int ifindex; | 84 | int ifindex; |
| 84 | struct ipv6_mc_socklist *next; | 85 | struct ipv6_mc_socklist *next; |
| 86 | rwlock_t sflock; | ||
| 85 | unsigned int sfmode; /* MCAST_{INCLUDE,EXCLUDE} */ | 87 | unsigned int sfmode; /* MCAST_{INCLUDE,EXCLUDE} */ |
| 86 | struct ip6_sf_socklist *sflist; | 88 | struct ip6_sf_socklist *sflist; |
| 87 | }; | 89 | }; |
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 5beae1ccd574..1cdb87912137 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
| @@ -890,6 +890,7 @@ struct xfrm_state * xfrm_find_acq(u8 mode, u32 reqid, u8 proto, | |||
| 890 | extern void xfrm_policy_flush(void); | 890 | extern void xfrm_policy_flush(void); |
| 891 | extern int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol); | 891 | extern int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol); |
| 892 | extern int xfrm_flush_bundles(void); | 892 | extern int xfrm_flush_bundles(void); |
| 893 | extern void xfrm_flush_all_bundles(void); | ||
| 893 | extern int xfrm_bundle_ok(struct xfrm_dst *xdst, struct flowi *fl, int family); | 894 | extern int xfrm_bundle_ok(struct xfrm_dst *xdst, struct flowi *fl, int family); |
| 894 | extern void xfrm_init_pmtu(struct dst_entry *dst); | 895 | extern void xfrm_init_pmtu(struct dst_entry *dst); |
| 895 | 896 | ||
diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h index fac547d32a98..394f14a5b7cb 100644 --- a/include/scsi/scsi_transport_fc.h +++ b/include/scsi/scsi_transport_fc.h | |||
| @@ -79,6 +79,7 @@ enum fc_port_state { | |||
| 79 | FC_PORTSTATE_LINKDOWN, | 79 | FC_PORTSTATE_LINKDOWN, |
| 80 | FC_PORTSTATE_ERROR, | 80 | FC_PORTSTATE_ERROR, |
| 81 | FC_PORTSTATE_LOOPBACK, | 81 | FC_PORTSTATE_LOOPBACK, |
| 82 | FC_PORTSTATE_DELETED, | ||
| 82 | }; | 83 | }; |
| 83 | 84 | ||
| 84 | 85 | ||
| @@ -325,8 +326,14 @@ struct fc_host_attrs { | |||
| 325 | struct list_head rport_bindings; | 326 | struct list_head rport_bindings; |
| 326 | u32 next_rport_number; | 327 | u32 next_rport_number; |
| 327 | u32 next_target_id; | 328 | u32 next_target_id; |
| 329 | u8 flags; | ||
| 330 | struct work_struct rport_del_work; | ||
| 328 | }; | 331 | }; |
| 329 | 332 | ||
| 333 | /* values for struct fc_host_attrs "flags" field: */ | ||
| 334 | #define FC_SHOST_RPORT_DEL_SCHEDULED 0x01 | ||
| 335 | |||
| 336 | |||
| 330 | #define fc_host_node_name(x) \ | 337 | #define fc_host_node_name(x) \ |
| 331 | (((struct fc_host_attrs *)(x)->shost_data)->node_name) | 338 | (((struct fc_host_attrs *)(x)->shost_data)->node_name) |
| 332 | #define fc_host_port_name(x) \ | 339 | #define fc_host_port_name(x) \ |
| @@ -365,6 +372,10 @@ struct fc_host_attrs { | |||
| 365 | (((struct fc_host_attrs *)(x)->shost_data)->next_rport_number) | 372 | (((struct fc_host_attrs *)(x)->shost_data)->next_rport_number) |
| 366 | #define fc_host_next_target_id(x) \ | 373 | #define fc_host_next_target_id(x) \ |
| 367 | (((struct fc_host_attrs *)(x)->shost_data)->next_target_id) | 374 | (((struct fc_host_attrs *)(x)->shost_data)->next_target_id) |
| 375 | #define fc_host_flags(x) \ | ||
| 376 | (((struct fc_host_attrs *)(x)->shost_data)->flags) | ||
| 377 | #define fc_host_rport_del_work(x) \ | ||
| 378 | (((struct fc_host_attrs *)(x)->shost_data)->rport_del_work) | ||
| 368 | 379 | ||
| 369 | 380 | ||
| 370 | /* The functions by which the transport class and the driver communicate */ | 381 | /* The functions by which the transport class and the driver communicate */ |
