aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/ibmphp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
-rw-r--r--drivers/pci/hotplug/ibmphp.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/drivers/pci/hotplug/ibmphp.h b/drivers/pci/hotplug/ibmphp.h
index a8d391a4957d..8c5b25871d02 100644
--- a/drivers/pci/hotplug/ibmphp.h
+++ b/drivers/pci/hotplug/ibmphp.h
@@ -275,17 +275,17 @@ extern struct list_head ibmphp_slot_head;
275* FUNCTION PROTOTYPES * 275* FUNCTION PROTOTYPES *
276***********************************************************/ 276***********************************************************/
277 277
278extern void ibmphp_free_ebda_hpc_queue (void); 278void ibmphp_free_ebda_hpc_queue(void);
279extern int ibmphp_access_ebda (void); 279int ibmphp_access_ebda(void);
280extern struct slot *ibmphp_get_slot_from_physical_num (u8); 280struct slot *ibmphp_get_slot_from_physical_num(u8);
281extern int ibmphp_get_total_hp_slots (void); 281int ibmphp_get_total_hp_slots(void);
282extern void ibmphp_free_ibm_slot (struct slot *); 282void ibmphp_free_ibm_slot(struct slot *);
283extern void ibmphp_free_bus_info_queue (void); 283void ibmphp_free_bus_info_queue(void);
284extern void ibmphp_free_ebda_pci_rsrc_queue (void); 284void ibmphp_free_ebda_pci_rsrc_queue(void);
285extern struct bus_info *ibmphp_find_same_bus_num (u32); 285struct bus_info *ibmphp_find_same_bus_num(u32);
286extern int ibmphp_get_bus_index (u8); 286int ibmphp_get_bus_index(u8);
287extern u16 ibmphp_get_total_controllers (void); 287u16 ibmphp_get_total_controllers(void);
288extern int ibmphp_register_pci (void); 288int ibmphp_register_pci(void);
289 289
290/* passed parameters */ 290/* passed parameters */
291#define MEM 0 291#define MEM 0
@@ -381,24 +381,24 @@ struct res_needed {
381 381
382/* functions */ 382/* functions */
383 383
384extern int ibmphp_rsrc_init (void); 384int ibmphp_rsrc_init(void);
385extern int ibmphp_add_resource (struct resource_node *); 385int ibmphp_add_resource(struct resource_node *);
386extern int ibmphp_remove_resource (struct resource_node *); 386int ibmphp_remove_resource(struct resource_node *);
387extern int ibmphp_find_resource (struct bus_node *, u32, struct resource_node **, int); 387int ibmphp_find_resource(struct bus_node *, u32, struct resource_node **, int);
388extern int ibmphp_check_resource (struct resource_node *, u8); 388int ibmphp_check_resource(struct resource_node *, u8);
389extern int ibmphp_remove_bus (struct bus_node *, u8); 389int ibmphp_remove_bus(struct bus_node *, u8);
390extern void ibmphp_free_resources (void); 390void ibmphp_free_resources(void);
391extern int ibmphp_add_pfmem_from_mem (struct resource_node *); 391int ibmphp_add_pfmem_from_mem(struct resource_node *);
392extern struct bus_node *ibmphp_find_res_bus (u8); 392struct bus_node *ibmphp_find_res_bus(u8);
393extern void ibmphp_print_test (void); /* for debugging purposes */ 393void ibmphp_print_test(void); /* for debugging purposes */
394 394
395extern void ibmphp_hpc_initvars (void); 395void ibmphp_hpc_initvars(void);
396extern int ibmphp_hpc_readslot (struct slot *, u8, u8 *); 396int ibmphp_hpc_readslot(struct slot *, u8, u8 *);
397extern int ibmphp_hpc_writeslot (struct slot *, u8); 397int ibmphp_hpc_writeslot(struct slot *, u8);
398extern void ibmphp_lock_operations (void); 398void ibmphp_lock_operations(void);
399extern void ibmphp_unlock_operations (void); 399void ibmphp_unlock_operations(void);
400extern int ibmphp_hpc_start_poll_thread (void); 400int ibmphp_hpc_start_poll_thread(void);
401extern void ibmphp_hpc_stop_poll_thread (void); 401void ibmphp_hpc_stop_poll_thread(void);
402 402
403//---------------------------------------------------------------------------- 403//----------------------------------------------------------------------------
404 404
@@ -749,11 +749,11 @@ struct controller {
749 749
750/* Functions */ 750/* Functions */
751 751
752extern int ibmphp_init_devno (struct slot **); /* This function is called from EBDA, so we need it not be static */ 752int ibmphp_init_devno(struct slot **); /* This function is called from EBDA, so we need it not be static */
753extern int ibmphp_do_disable_slot (struct slot *slot_cur); 753int ibmphp_do_disable_slot(struct slot *slot_cur);
754extern int ibmphp_update_slot_info (struct slot *); /* This function is called from HPC, so we need it to not be be static */ 754int ibmphp_update_slot_info(struct slot *); /* This function is called from HPC, so we need it to not be be static */
755extern int ibmphp_configure_card (struct pci_func *, u8); 755int ibmphp_configure_card(struct pci_func *, u8);
756extern int ibmphp_unconfigure_card (struct slot **, int); 756int ibmphp_unconfigure_card(struct slot **, int);
757extern struct hotplug_slot_ops ibmphp_hotplug_slot_ops; 757extern struct hotplug_slot_ops ibmphp_hotplug_slot_ops;
758 758
759#endif //__IBMPHP_H 759#endif //__IBMPHP_H