diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:09 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:09 -0400 |
commit | 1a855fbfb65e0b7b5cce00d7c6a61185ed765edf (patch) | |
tree | 7f6bfd3a7e17abf99fa6d529f9dec3842f701a38 /drivers/infiniband/hw/nes/nes.h | |
parent | 71e0957c6291da030e6f89351846225876731df3 (diff) |
RDMA/nes: Make symbols used only in a single source file static
Avoid namespace pollution and allow the compiler to optimize better.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes.h')
-rw-r--r-- | drivers/infiniband/hw/nes/nes.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/infiniband/hw/nes/nes.h b/drivers/infiniband/hw/nes/nes.h index 3f5a04d2e62d..bd92be79b63e 100644 --- a/drivers/infiniband/hw/nes/nes.h +++ b/drivers/infiniband/hw/nes/nes.h | |||
@@ -176,9 +176,6 @@ extern unsigned int nes_drv_opt; | |||
176 | extern unsigned int nes_debug_level; | 176 | extern unsigned int nes_debug_level; |
177 | 177 | ||
178 | extern struct list_head nes_adapter_list; | 178 | extern struct list_head nes_adapter_list; |
179 | extern struct list_head nes_dev_list; | ||
180 | |||
181 | extern struct nes_cm_core *g_cm_core; | ||
182 | 179 | ||
183 | extern atomic_t cm_connects; | 180 | extern atomic_t cm_connects; |
184 | extern atomic_t cm_accepts; | 181 | extern atomic_t cm_accepts; |
@@ -208,7 +205,6 @@ extern atomic_t cm_nodes_destroyed; | |||
208 | extern atomic_t cm_accel_dropped_pkts; | 205 | extern atomic_t cm_accel_dropped_pkts; |
209 | extern atomic_t cm_resets_recvd; | 206 | extern atomic_t cm_resets_recvd; |
210 | 207 | ||
211 | extern u32 crit_err_count; | ||
212 | extern u32 int_mod_timer_init; | 208 | extern u32 int_mod_timer_init; |
213 | extern u32 int_mod_cq_depth_256; | 209 | extern u32 int_mod_cq_depth_256; |
214 | extern u32 int_mod_cq_depth_128; | 210 | extern u32 int_mod_cq_depth_128; |
@@ -501,9 +497,6 @@ struct ib_qp *nes_get_qp(struct ib_device *, int); | |||
501 | /* nes_hw.c */ | 497 | /* nes_hw.c */ |
502 | struct nes_adapter *nes_init_adapter(struct nes_device *, u8); | 498 | struct nes_adapter *nes_init_adapter(struct nes_device *, u8); |
503 | void nes_nic_init_timer_defaults(struct nes_device *, u8); | 499 | void nes_nic_init_timer_defaults(struct nes_device *, u8); |
504 | unsigned int nes_reset_adapter_ne020(struct nes_device *, u8 *); | ||
505 | int nes_init_serdes(struct nes_device *, u8, u8, u8); | ||
506 | void nes_init_csr_ne020(struct nes_device *, u8, u8); | ||
507 | void nes_destroy_adapter(struct nes_adapter *); | 500 | void nes_destroy_adapter(struct nes_adapter *); |
508 | int nes_init_cqp(struct nes_device *); | 501 | int nes_init_cqp(struct nes_device *); |
509 | int nes_init_phy(struct nes_device *); | 502 | int nes_init_phy(struct nes_device *); |
@@ -511,19 +504,12 @@ int nes_init_nic_qp(struct nes_device *, struct net_device *); | |||
511 | void nes_destroy_nic_qp(struct nes_vnic *); | 504 | void nes_destroy_nic_qp(struct nes_vnic *); |
512 | int nes_napi_isr(struct nes_device *); | 505 | int nes_napi_isr(struct nes_device *); |
513 | void nes_dpc(unsigned long); | 506 | void nes_dpc(unsigned long); |
514 | void nes_process_ceq(struct nes_device *, struct nes_hw_ceq *); | ||
515 | void nes_process_aeq(struct nes_device *, struct nes_hw_aeq *); | ||
516 | void nes_process_mac_intr(struct nes_device *, u32); | ||
517 | void nes_nic_napi_ce_handler(struct nes_device *, struct nes_hw_nic_cq *); | ||
518 | void nes_nic_ce_handler(struct nes_device *, struct nes_hw_nic_cq *); | 507 | void nes_nic_ce_handler(struct nes_device *, struct nes_hw_nic_cq *); |
519 | void nes_cqp_ce_handler(struct nes_device *, struct nes_hw_cq *); | ||
520 | void nes_process_iwarp_aeqe(struct nes_device *, struct nes_hw_aeqe *); | ||
521 | void nes_iwarp_ce_handler(struct nes_device *, struct nes_hw_cq *); | 508 | void nes_iwarp_ce_handler(struct nes_device *, struct nes_hw_cq *); |
522 | int nes_destroy_cqp(struct nes_device *); | 509 | int nes_destroy_cqp(struct nes_device *); |
523 | int nes_nic_cm_xmit(struct sk_buff *, struct net_device *); | 510 | int nes_nic_cm_xmit(struct sk_buff *, struct net_device *); |
524 | 511 | ||
525 | /* nes_nic.c */ | 512 | /* nes_nic.c */ |
526 | void nes_netdev_set_multicast_list(struct net_device *); | ||
527 | struct net_device *nes_netdev_init(struct nes_device *, void __iomem *); | 513 | struct net_device *nes_netdev_init(struct nes_device *, void __iomem *); |
528 | void nes_netdev_destroy(struct net_device *); | 514 | void nes_netdev_destroy(struct net_device *); |
529 | int nes_nic_cm_xmit(struct sk_buff *, struct net_device *); | 515 | int nes_nic_cm_xmit(struct sk_buff *, struct net_device *); |
@@ -534,7 +520,6 @@ int nes_cm_recv(struct sk_buff *, struct net_device *); | |||
534 | void nes_update_arp(unsigned char *, u32, u32, u16, u16); | 520 | void nes_update_arp(unsigned char *, u32, u32, u16, u16); |
535 | void nes_manage_arp_cache(struct net_device *, unsigned char *, u32, u32); | 521 | void nes_manage_arp_cache(struct net_device *, unsigned char *, u32, u32); |
536 | void nes_sock_release(struct nes_qp *, unsigned long *); | 522 | void nes_sock_release(struct nes_qp *, unsigned long *); |
537 | struct nes_cm_core *nes_cm_alloc_core(void); | ||
538 | void flush_wqes(struct nes_device *nesdev, struct nes_qp *, u32, u32); | 523 | void flush_wqes(struct nes_device *nesdev, struct nes_qp *, u32, u32); |
539 | int nes_manage_apbvt(struct nes_vnic *, u32, u32, u32); | 524 | int nes_manage_apbvt(struct nes_vnic *, u32, u32, u32); |
540 | int nes_cm_disconn(struct nes_qp *); | 525 | int nes_cm_disconn(struct nes_qp *); |
@@ -546,7 +531,6 @@ int nes_modify_qp(struct ib_qp *, struct ib_qp_attr *, int, struct ib_udata *); | |||
546 | struct nes_ib_device *nes_init_ofa_device(struct net_device *); | 531 | struct nes_ib_device *nes_init_ofa_device(struct net_device *); |
547 | void nes_destroy_ofa_device(struct nes_ib_device *); | 532 | void nes_destroy_ofa_device(struct nes_ib_device *); |
548 | int nes_register_ofa_device(struct nes_ib_device *); | 533 | int nes_register_ofa_device(struct nes_ib_device *); |
549 | void nes_unregister_ofa_device(struct nes_ib_device *); | ||
550 | 534 | ||
551 | /* nes_util.c */ | 535 | /* nes_util.c */ |
552 | int nes_read_eeprom_values(struct nes_device *, struct nes_adapter *); | 536 | int nes_read_eeprom_values(struct nes_device *, struct nes_adapter *); |