diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-11-02 15:16:08 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-12-07 15:46:10 -0500 |
commit | ea42ea0f58aaa03e9cd245b124903e25629746e6 (patch) | |
tree | 371997fbe26bcef88a9a8cd808a1071905593da1 /drivers/ieee1394/sbp2.h | |
parent | 66743e061f6f31ac81fb8a1e9edb2ff92ef24df2 (diff) |
ieee1394: sbp2: clean up function declarations
Remove unnecessary function prototypes.
Remove variable names from function prototypes.
Move declarations from sbp2.h to sbp2.c.
Move definitions of driver templates together near the top of sbp2.c.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/sbp2.h')
-rw-r--r-- | drivers/ieee1394/sbp2.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/drivers/ieee1394/sbp2.h b/drivers/ieee1394/sbp2.h index 1b16d6b9cf11..56917b9fa22d 100644 --- a/drivers/ieee1394/sbp2.h +++ b/drivers/ieee1394/sbp2.h | |||
@@ -364,49 +364,4 @@ struct sbp2scsi_host_info { | |||
364 | struct list_head scsi_ids; /* List of scsi ids on this host */ | 364 | struct list_head scsi_ids; /* List of scsi ids on this host */ |
365 | }; | 365 | }; |
366 | 366 | ||
367 | /* | ||
368 | * Function prototypes | ||
369 | */ | ||
370 | |||
371 | /* | ||
372 | * Various utility prototypes | ||
373 | */ | ||
374 | static int sbp2util_create_command_orb_pool(struct scsi_id_instance_data *scsi_id); | ||
375 | static void sbp2util_remove_command_orb_pool(struct scsi_id_instance_data *scsi_id); | ||
376 | static struct sbp2_command_info *sbp2util_find_command_for_orb(struct scsi_id_instance_data *scsi_id, dma_addr_t orb); | ||
377 | static struct sbp2_command_info *sbp2util_find_command_for_SCpnt(struct scsi_id_instance_data *scsi_id, void *SCpnt); | ||
378 | static struct sbp2_command_info *sbp2util_allocate_command_orb(struct scsi_id_instance_data *scsi_id, | ||
379 | struct scsi_cmnd *Current_SCpnt, | ||
380 | void (*Current_done)(struct scsi_cmnd *)); | ||
381 | static void sbp2util_mark_command_completed(struct scsi_id_instance_data *scsi_id, | ||
382 | struct sbp2_command_info *command); | ||
383 | |||
384 | |||
385 | static int sbp2_start_device(struct scsi_id_instance_data *scsi_id); | ||
386 | static void sbp2_remove_device(struct scsi_id_instance_data *scsi_id); | ||
387 | |||
388 | #ifdef CONFIG_IEEE1394_SBP2_PHYS_DMA | ||
389 | static int sbp2_handle_physdma_write(struct hpsb_host *host, int nodeid, int destid, quadlet_t *data, | ||
390 | u64 addr, size_t length, u16 flags); | ||
391 | static int sbp2_handle_physdma_read(struct hpsb_host *host, int nodeid, quadlet_t *data, | ||
392 | u64 addr, size_t length, u16 flags); | ||
393 | #endif | ||
394 | |||
395 | /* | ||
396 | * SBP-2 protocol related prototypes | ||
397 | */ | ||
398 | static int sbp2_query_logins(struct scsi_id_instance_data *scsi_id); | ||
399 | static int sbp2_login_device(struct scsi_id_instance_data *scsi_id); | ||
400 | static int sbp2_reconnect_device(struct scsi_id_instance_data *scsi_id); | ||
401 | static int sbp2_logout_device(struct scsi_id_instance_data *scsi_id); | ||
402 | static int sbp2_handle_status_write(struct hpsb_host *host, int nodeid, int destid, | ||
403 | quadlet_t *data, u64 addr, size_t length, u16 flags); | ||
404 | static int sbp2_agent_reset(struct scsi_id_instance_data *scsi_id, int wait); | ||
405 | static unsigned int sbp2_status_to_sense_data(unchar *sbp2_status, | ||
406 | unchar *sense_data); | ||
407 | static void sbp2_parse_unit_directory(struct scsi_id_instance_data *scsi_id, | ||
408 | struct unit_directory *ud); | ||
409 | static int sbp2_set_busy_timeout(struct scsi_id_instance_data *scsi_id); | ||
410 | static int sbp2_max_speed_and_size(struct scsi_id_instance_data *scsi_id); | ||
411 | |||
412 | #endif /* SBP2_H */ | 367 | #endif /* SBP2_H */ |