summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr/amrvar.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2008-11-03 00:53:54 +0000
committerscottl <scottl@FreeBSD.org>2008-11-03 00:53:54 +0000
commit6de3633d944db2576d517db9f4b51a88a9df6670 (patch)
treed8bbdf137911f37c46a1ac784c971f0fa237d5f7 /sys/dev/amr/amrvar.h
parentbd5c63c83ea976832f7550a827fef3e15159b558 (diff)
downloadFreeBSD-src-6de3633d944db2576d517db9f4b51a88a9df6670.zip
FreeBSD-src-6de3633d944db2576d517db9f4b51a88a9df6670.tar.gz
Move the CAM passthrough code into a true module so that it doesn't have to be
compiled into the main AMR driver. It's code that is nice to have but not required for normal operation, and it is reported to cause problems for some people.
Diffstat (limited to 'sys/dev/amr/amrvar.h')
-rw-r--r--sys/dev/amr/amrvar.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/dev/amr/amrvar.h b/sys/dev/amr/amrvar.h
index e208c53..7dc0fb4 100644
--- a/sys/dev/amr/amrvar.h
+++ b/sys/dev/amr/amrvar.h
@@ -253,6 +253,8 @@ struct amr_softc
int support_ext_cdb; /* greater than 10 byte cdb support */
/* misc glue */
+ device_t amr_pass;
+ int (*amr_cam_command)(struct amr_softc *sc, struct amr_command **acp);
struct intr_config_hook amr_ich; /* wait-for-interrupts probe hook */
struct callout_handle amr_timeout; /* periodic status check */
int amr_allow_vol_config;
@@ -277,13 +279,6 @@ extern struct amr_command *amr_alloccmd(struct amr_softc *sc);
extern void amr_releasecmd(struct amr_command *ac);
/*
- * CAM interface
- */
-extern int amr_cam_attach(struct amr_softc *sc);
-extern void amr_cam_detach(struct amr_softc *sc);
-extern int amr_cam_command(struct amr_softc *sc, struct amr_command **acp);
-
-/*
* MegaRAID logical disk driver
*/
struct amrd_softc
OpenPOWER on IntegriCloud