Commit 274bd75f authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] scsi/ppa.c cleanup and fixes (2/9)

	* switched ppa to passing around references to ppa_struct instead
of host numbers.
parent 64a29c61
This diff is collapsed.
...@@ -152,10 +152,10 @@ int ppa_sg = SG_ALL; /* enable/disable scatter-gather. */ ...@@ -152,10 +152,10 @@ int ppa_sg = SG_ALL; /* enable/disable scatter-gather. */
#endif #endif
static int ppa_engine(ppa_struct *, Scsi_Cmnd *); static int ppa_engine(ppa_struct *, Scsi_Cmnd *);
static int ppa_in(int, char *, int); static int ppa_in(ppa_struct *, char *, int);
static int ppa_init(int); static int ppa_init(ppa_struct *);
static void ppa_interrupt(void *); static void ppa_interrupt(void *);
static int ppa_out(int, char *, int); static int ppa_out(ppa_struct *, char *, int);
#else #else
#define ppa_release 0 #define ppa_release 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment