summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-07-13 06:12:21 +0000
committermav <mav@FreeBSD.org>2009-07-13 06:12:21 +0000
commitf8ef0d9b7276dbb53a6d2c76693bd3950cabec64 (patch)
tree5d9752feae8fc2b3862c149b37fc85ced9c97aa3 /sys/cam
parent784ae7196052fc5fe9e25ef490fd7518d0223d38 (diff)
downloadFreeBSD-src-f8ef0d9b7276dbb53a6d2c76693bd3950cabec64.zip
FreeBSD-src-f8ef0d9b7276dbb53a6d2c76693bd3950cabec64.tar.gz
Rename ATA probe driver to "aprobe" to resolve name conflict with SCSI
and fix loading cam as module. Approved by: re (implicitly)
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/ata/ata_xpt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/cam/ata/ata_xpt.c b/sys/cam/ata/ata_xpt.c
index 7f8daa2..8d30297 100644
--- a/sys/cam/ata/ata_xpt.c
+++ b/sys/cam/ata/ata_xpt.c
@@ -83,11 +83,11 @@ static periph_init_t probe_periph_init;
static struct periph_driver probe_driver =
{
- probe_periph_init, "probe",
+ probe_periph_init, "aprobe",
TAILQ_HEAD_INITIALIZER(probe_driver.units)
};
-PERIPHDRIVER_DECLARE(probe, probe_driver);
+PERIPHDRIVER_DECLARE(aprobe, probe_driver);
typedef enum {
PROBE_RESET,
@@ -1311,7 +1311,7 @@ ata_scan_lun(struct cam_periph *periph, struct cam_path *path,
request_ccb->crcn.flags = flags;
}
- if ((old_periph = cam_periph_find(path, "probe")) != NULL) {
+ if ((old_periph = cam_periph_find(path, "aprobe")) != NULL) {
probe_softc *softc;
softc = (probe_softc *)old_periph->softc;
@@ -1319,7 +1319,7 @@ ata_scan_lun(struct cam_periph *periph, struct cam_path *path,
periph_links.tqe);
} else {
status = cam_periph_alloc(proberegister, NULL, probecleanup,
- probestart, "probe",
+ probestart, "aprobe",
CAM_PERIPH_BIO,
request_ccb->ccb_h.path, NULL, 0,
request_ccb);
OpenPOWER on IntegriCloud